Commit 112c4b87 authored by Stefano Sabatini's avatar Stefano Sabatini

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
parent f9329946
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment