mirror of https://github.com/mpv-player/mpv
substream id 0x98..0x9f identifies dts
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22188 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
019a2a80e4
commit
7ac4b89663
|
@ -260,6 +260,7 @@ static void new_audio_stream(demuxer_t *demux, int aid){
|
||||||
}
|
}
|
||||||
//evo files
|
//evo files
|
||||||
if((aid & 0xC0) == 0xC0) sh_a->format=0x2000;
|
if((aid & 0xC0) == 0xC0) sh_a->format=0x2000;
|
||||||
|
else if(aid >= 0x98 && aid <= 0x9f) sh_a->format=0x2001;
|
||||||
if (mpg_d) mpg_d->a_stream_ids[mpg_d->num_a_streams++] = aid;
|
if (mpg_d) mpg_d->a_stream_ids[mpg_d->num_a_streams++] = aid;
|
||||||
}
|
}
|
||||||
if(demux->audio->id==-1) demux->audio->id=aid;
|
if(demux->audio->id==-1) demux->audio->id=aid;
|
||||||
|
|
Loading…
Reference in New Issue