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

Alexander Strasser eclipse7 at gmx.net
Thu Feb 27 22:26:21 CET 2014


On 2014-02-26 23:02 +0100, reimar wrote:
> 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.

  I am sure you mean Force here. Probably you noticed already.

> 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;

  Otherwise I think it might work, but you know that code much better
than I do.

  Alexander
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-cvslog/attachments/20140227/52612367/attachment.asc>


More information about the MPlayer-cvslog mailing list