mirror of https://github.com/mpv-player/mpv
demux_audio: always enable parsing for audio streams
Generally enable parsing for audio streams. The formats I know of that do not need it (e.g. raw audio) do not have a parser anyway. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35050 b3059339-0415-0410-9bf9-f77b7e298cf2 Author: reimar
This commit is contained in:
parent
2e125e7984
commit
548bae63e7
|
@ -583,11 +583,12 @@ static int demux_audio_open(demuxer_t* demuxer) {
|
|||
}
|
||||
}
|
||||
if (sh_audio->format == 0x2001) {
|
||||
sh_audio->needs_parsing = 1;
|
||||
mp_msg(MSGT_DEMUX,MSGL_DBG2,"[demux_audio] DTS sync offset = %u\n", i);
|
||||
}
|
||||
|
||||
}
|
||||
// All formats that have a parser will need it when stored in WAV
|
||||
sh_audio->needs_parsing = 1;
|
||||
stream_seek(s,demuxer->movi_start);
|
||||
} break;
|
||||
case fLaC:
|
||||
|
|
Loading…
Reference in New Issue