Mercurial > mplayer.hg
changeset 24908:c59a27887e5e
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)
author | nicodvb |
---|---|
date | Fri, 02 Nov 2007 19:06:15 +0000 |
parents | 91d30168e22e |
children | 55c96e871198 |
files | libmpdemux/muxer_mpeg.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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++;