mirror of https://github.com/mpv-player/mpv
demux_mkv: remove unnecessary parsing for vp9
We can finally get rid of this crap. Depends on a ffmpeg-mpv change. Always worked with Libav (ever since they fixed it properly).
This commit is contained in:
parent
35d74e1612
commit
cd6f964b56
|
@ -1462,12 +1462,8 @@ static int demux_mkv_open_video(demuxer_t *demuxer, mkv_track_t *track)
|
|||
}
|
||||
|
||||
const char *codec = sh_v->codec ? sh_v->codec : "";
|
||||
if (!strcmp(codec, "vp9")) {
|
||||
track->parse = true;
|
||||
track->parse_timebase = 1e9;
|
||||
} else if (!strcmp(codec, "mjpeg")) {
|
||||
if (!strcmp(codec, "mjpeg"))
|
||||
sh_v->codec_tag = MKTAG('m', 'j', 'p', 'g');
|
||||
}
|
||||
|
||||
if (extradata_size > 0x1000000) {
|
||||
MP_WARN(demuxer, "Invalid CodecPrivate\n");
|
||||
|
|
Loading…
Reference in New Issue