diff options
author | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-11-02 19:06:15 +0000 |
---|---|---|
committer | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-11-02 19:06:15 +0000 |
commit | cd0c142521ac2611fbc2935e8d86cc94634af73d (patch) | |
tree | 4a0504d3881ba2f387d1eadcebed8cc06d789769 /libmpdemux/muxer_mpeg.c | |
parent | 3d584f9b18b2595aa8617f20fa9804625369a12f (diff) |
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
Diffstat (limited to 'libmpdemux/muxer_mpeg.c')
-rw-r--r-- | libmpdemux/muxer_mpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/muxer_mpeg.c b/libmpdemux/muxer_mpeg.c index 0b4a4c9c68..a678f50ee3 100644 --- a/libmpdemux/muxer_mpeg.c +++ b/libmpdemux/muxer_mpeg.c @@ -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++; |