diff options
author | Reuben Martin <reuben.m@gmail.com> | 2013-06-28 21:11:53 -0500 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-06-29 18:02:37 +0200 |
commit | 2fa89b27365b1e474d8d2047036c8a8f1377bfe0 (patch) | |
tree | 89ed0c5c3f9c34e80d6d5f8d40bac39ebda22541 /libavformat/gxf.c | |
parent | 90bd75e6eb789d196fef0135a58bcfe7904c65c5 (diff) | |
download | ffmpeg-2fa89b27365b1e474d8d2047036c8a8f1377bfe0.tar.gz |
Added codec ID to playback DNxHD
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/gxf.c')
-rw-r--r-- | libavformat/gxf.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavformat/gxf.c b/libavformat/gxf.c index e73243559e..e15d06aaf9 100644 --- a/libavformat/gxf.c +++ b/libavformat/gxf.c @@ -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; |