[MPlayer-cvslog] r37334 - trunk/libmpdemux/demux_mpg.c

reimar subversion at mplayerhq.hu
Sat Dec 6 15:13:37 CET 2014


Author: reimar
Date: Sat Dec  6 15:13:37 2014
New Revision: 37334

Log:
demux_mpg: reset "synced" after seek.

Fixes issues that an originally found audio stream suddenly
stops working.

Modified:
   trunk/libmpdemux/demux_mpg.c

Modified: trunk/libmpdemux/demux_mpg.c
==============================================================================
--- trunk/libmpdemux/demux_mpg.c	Sat Dec  6 15:13:36 2014	(r37333)
+++ trunk/libmpdemux/demux_mpg.c	Sat Dec  6 15:13:37 2014	(r37334)
@@ -1128,6 +1128,7 @@ static demuxer_t* demux_mpg_ps_open(demu
 
         reset_eof(demuxer);
         stream_seek(demuxer->stream, pos);
+        demuxer->synced = 1;
         mp_msg(MSGT_DEMUX,MSGL_INFO,"MPEG packet stats: p100: %d  p101: %d p1B6: %d p12x: %d sli: %d a: %d b: %d c: %d idr: %d sps: %d pps: %d\n",
             num_elementary_packets100, num_elementary_packets101,
             num_elementary_packets1B6, num_elementary_packets12x,


More information about the MPlayer-cvslog mailing list