Added codec ID to playback DNxHD
authorReuben Martin <reuben.m@gmail.com>
Sat, 29 Jun 2013 02:11:53 +0000 (21:11 -0500)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 29 Jun 2013 16:02:37 +0000 (18:02 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/gxf.c

index e732435..e15d06a 100644 (file)
@@ -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;