From 112c4b8796c36368ba77f9bd5572e8954200ead7 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Sat, 15 Jan 2011 17:21:09 +0000 Subject: [PATCH] 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 --- ffplay.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ffplay.c b/ffplay.c index f385ad8305..1b83bb5a71 100644 --- a/ffplay.c +++ b/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) {