mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-30 22:00:51 +08: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:
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) {
|
||||
|
||||
Reference in New Issue
Block a user