mirror of
https://github.com/mpv-player/mpv
synced 2024-12-17 20:34:58 +00:00
demux_mkv: fix mpeg2 mapping
It's well possible that we've always ended up invoking the AV_CODEC_ID_MPEG1VIDEO codec, but it's hard to tell. Mangling everything through FourCCs (and then back) makes it hard to analyze. Also, libavformat's Matroska demuxer uses AV_CODEC_ID_MPEG2VIDEO here, so it should be quite safe to do anyway.
This commit is contained in:
parent
fd88fb70af
commit
d50e01d0c6
@ -1201,7 +1201,7 @@ typedef struct {
|
||||
static const videocodec_info_t vinfo[] = {
|
||||
{MKV_V_MJPEG, "mjpeg", 1},
|
||||
{MKV_V_MPEG1, "mpeg1video", 0},
|
||||
{MKV_V_MPEG2, "mpeg1video", 0},
|
||||
{MKV_V_MPEG2, "mpeg2video", 0},
|
||||
{MKV_V_MPEG4_SP, "mpeg4", 1},
|
||||
{MKV_V_MPEG4_ASP, "mpeg4", 1},
|
||||
{MKV_V_MPEG4_AP, "mpeg4", 1},
|
||||
|
Loading…
Reference in New Issue
Block a user