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)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24936 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
nicodvb 2007-11-02 19:06:15 +00:00
parent 3d584f9b18
commit cd0c142521
1 changed files with 1 additions and 1 deletions

View File

@ -2277,7 +2277,7 @@ static void fix_parameters(muxer_stream_t *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++;