mirror of https://github.com/mpv-player/mpv
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:
parent
3d584f9b18
commit
cd0c142521
|
@ -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++;
|
||||
|
|
Loading…
Reference in New Issue