[MPlayer-cvslog] r24936 - trunk/libmpdemux/muxer_mpeg.c

nicodvb subversion at mplayerhq.hu
Fri Nov 2 20:06:15 CET 2007


Author: nicodvb
Date: Fri Nov  2 20:06:15 2007
New Revision: 24936

Log:
add streams to the PSM only if priv->use_psm is set, otherwise the muxer would
write the map also for ordinary mpeg audio and video streams (wasting space)


Modified:
   trunk/libmpdemux/muxer_mpeg.c

Modified: trunk/libmpdemux/muxer_mpeg.c
==============================================================================
--- trunk/libmpdemux/muxer_mpeg.c	(original)
+++ trunk/libmpdemux/muxer_mpeg.c	Fri Nov  2 20:06:15 2007
@@ -2277,7 +2277,7 @@ static void fix_parameters(muxer_stream_
 			priv->use_psm = 1;
 	}
 	
-	if(priv->is_genmpeg2)
+	if(priv->is_genmpeg2 && priv->use_psm)
 	{
 		add_to_psm(priv, spriv->id, stream_format);
 		priv->psm_streams_cnt++;



More information about the MPlayer-cvslog mailing list