[FFmpeg-devel] [PATCH] In ffplay, do not open display if -nodisp is set.

Stefano Sabatini stefano.sabatini-lala
Sat Jan 15 14:35:58 CET 2011


---
 ffplay.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/ffplay.c b/ffplay.c
index f385ad8..1b83bb5 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) {
-- 
1.7.2.3




More information about the ffmpeg-devel mailing list