mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-29 22:00:58 +02:00
In ffplay, do not open display if -nodisp is set.
Fixes issue 1017. Originally committed as revision 26371 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
f9329946d0
commit
112c4b8796
2
ffplay.c
2
ffplay.c
@ -1242,6 +1242,7 @@ retry:
|
||||
}
|
||||
|
||||
/* display picture */
|
||||
if (!display_disable)
|
||||
video_display(is);
|
||||
|
||||
/* update queue size and signal for next picture */
|
||||
@ -1260,6 +1261,7 @@ retry:
|
||||
than nothing, just to test the implementation */
|
||||
|
||||
/* display picture */
|
||||
if (!display_disable)
|
||||
video_display(is);
|
||||
}
|
||||
if (show_status) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user