Commit 2fa89b27 authored by Reuben Martin's avatar Reuben Martin Committed by Michael Niedermayer

Added codec ID to playback DNxHD

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 90bd75e6
......@@ -176,6 +176,10 @@ static int get_sindex(AVFormatContext *s, int id, int format) {
st->codec->codec_type = AVMEDIA_TYPE_DATA;
st->codec->codec_id = AV_CODEC_ID_NONE;
break;
case 30:
st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
st->codec->codec_id = AV_CODEC_ID_DNXHD;
break;
default:
st->codec->codec_type = AVMEDIA_TYPE_UNKNOWN;
st->codec->codec_id = AV_CODEC_ID_NONE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment