[MPlayer-cvslog] r36952 - trunk/mplayer.c

reimar subversion at mplayerhq.hu
Wed Feb 26 23:02:06 CET 2014


Author: reimar
Date: Wed Feb 26 23:02:06 2014
New Revision: 36952

Log:
For -dump* to retry once of it reached EOF before writing anything.

Modified:
   trunk/mplayer.c

Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	Wed Feb 26 22:57:48 2014	(r36951)
+++ trunk/mplayer.c	Wed Feb 26 23:02:06 2014	(r36952)
@@ -3499,6 +3499,10 @@ goto_enable_cache:
             exit_player(EXIT_ERROR);
         }
         stream_dump_progress_start();
+
+        // force retry in case bad interleaving caused EOF before.
+        ds->fill_count = 0;
+        ds->eof = 0;
         while (!ds->eof) {
             unsigned char *start;
             double pts;


More information about the MPlayer-cvslog mailing list