mirror of
https://github.com/mpv-player/mpv
synced 2025-01-17 20:48:46 +00:00
Ignore mp4a audio tag, it is meaningless since we get it for all mp4 files
regardless of actual audio codec. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23008 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
d569ec1fd9
commit
5e00b162bb
@ -309,6 +309,9 @@ static demuxer_t* demux_open_lavf(demuxer_t *demuxer){
|
||||
break;
|
||||
priv->astreams[priv->audio_streams] = i;
|
||||
priv->audio_streams++;
|
||||
// mp4a tag is used for all mp4 files no matter what they actually contain
|
||||
if(codec->codec_tag == MKTAG('m', 'p', '4', 'a'))
|
||||
codec->codec_tag= 0;
|
||||
if(!codec->codec_tag)
|
||||
codec->codec_tag= av_codec_get_tag(mp_wav_taglists, codec->codec_id);
|
||||
wf->wFormatTag= codec->codec_tag;
|
||||
|
Loading…
Reference in New Issue
Block a user