[MPlayer-cvslog] r22945 - trunk/libmpdemux/muxer_mpeg.c
nicodvb
subversion at mplayerhq.hu
Sun Apr 8 12:09:56 CEST 2007
Author: nicodvb
Date: Sun Apr 8 12:09:56 2007
New Revision: 22945
Modified:
trunk/libmpdemux/muxer_mpeg.c
Log:
in mpegfile_write_header(only for mpeg1/2) don't overwrite the values of bufsize with dwSuggestedBufferSize (those values are completely invented)
Modified: trunk/libmpdemux/muxer_mpeg.c
==============================================================================
--- trunk/libmpdemux/muxer_mpeg.c (original)
+++ trunk/libmpdemux/muxer_mpeg.c Sun Apr 8 12:09:56 2007
@@ -2379,16 +2379,6 @@ static void mpegfile_write_header(muxer_
priv->headers_cnt++;
- if((priv->is_genmpeg1 || priv->is_genmpeg2) && (priv->headers_cnt == muxer->avih.dwStreams))
- {
- int i;
- for(i = 0; i < muxer->avih.dwStreams; i++)
- {
- priv->sys_info.streams[i].bufsize = muxer->streams[i]->h.dwSuggestedBufferSize;
- mp_msg(MSGT_MUXER, MSGL_DBG2, "IDX: %d, BUFSIZE: %u\n", i, priv->sys_info.streams[i].bufsize);
- }
- }
-
//write the first system header only for generic mpeg1/2 muxes, and only when we have collected all necessary infos
if(priv->is_genmpeg1 || priv->is_genmpeg2 || ((priv->is_xvcd || priv->is_xsvcd) && (priv->headers_cnt == 1)))
{
More information about the MPlayer-cvslog
mailing list