1
0
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:
Stefano Sabatini 2011-01-15 17:21:09 +00:00
parent f9329946d0
commit 112c4b8796

View File

@ -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) {