[MPlayer-cvslog] r22935 - trunk/libmpdemux/muxer_mpeg.c
nicodvb
subversion at mplayerhq.hu
Sat Apr 7 18:42:28 CEST 2007
Author: nicodvb
Date: Sat Apr 7 18:42:28 2007
New Revision: 22935
Modified:
trunk/libmpdemux/muxer_mpeg.c
Log:
10l, the scr must be reset before overwriting the first pack with the correct system header (format=mpeg1|2)
Modified: trunk/libmpdemux/muxer_mpeg.c
==============================================================================
--- trunk/libmpdemux/muxer_mpeg.c (original)
+++ trunk/libmpdemux/muxer_mpeg.c Sat Apr 7 18:42:28 2007
@@ -2359,7 +2359,10 @@ static void mpegfile_write_index(muxer_t
while(flush_buffers(muxer, 0) > 0);
flush_buffers(muxer, 1);
if(priv->is_genmpeg1 || priv->is_genmpeg2)
+ {
+ priv->scr = 0;
write_mpeg_pack(muxer, NULL, muxer->stream, 1); //insert fake Nav Packet
+ }
mp_msg(MSGT_MUXER, MSGL_INFO, "\nOverhead: %.3lf%% (%"PRIu64" / %"PRIu64")\n", 100.0 * (double)priv->headers_size / (double)priv->data_size, priv->headers_size, priv->data_size);
}
More information about the MPlayer-cvslog
mailing list