[FFmpeg-cvslog] r26371 - trunk/ffplay.c

stefano subversion
Sat Jan 15 18:21:09 CET 2011


Author: stefano
Date: Sat Jan 15 18:21:09 2011
New Revision: 26371

Log:
In ffplay, do not open display if -nodisp is set.

Modified:
   trunk/ffplay.c

Modified: trunk/ffplay.c
==============================================================================
--- trunk/ffplay.c	Sat Jan 15 18:13:32 2011	(r26370)
+++ trunk/ffplay.c	Sat Jan 15 18:21:09 2011	(r26371)
@@ -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) {



More information about the ffmpeg-cvslog mailing list