# HG changeset patch # User nicodvb # Date 1194030375 0 # Node ID c59a27887e5e1f8f44b3d196d2bd9409209c0713 # Parent 91d30168e22eafb68bc0cf2b548d489317cdacf6 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) diff -r 91d30168e22e -r c59a27887e5e libmpdemux/muxer_mpeg.c --- a/libmpdemux/muxer_mpeg.c Fri Nov 02 19:01:13 2007 +0000 +++ b/libmpdemux/muxer_mpeg.c Fri Nov 02 19:06:15 2007 +0000 @@ -2277,7 +2277,7 @@ 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++;