[FFmpeg-cvslog] Added codec ID to playback DNxHD

Reuben Martin git at videolan.org
Sat Jun 29 18:23:16 CEST 2013


ffmpeg | branch: master | Reuben Martin <reuben.m at gmail.com> | Fri Jun 28 21:11:53 2013 -0500| [2fa89b27365b1e474d8d2047036c8a8f1377bfe0] | committer: Michael Niedermayer

Added codec ID to playback DNxHD

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2fa89b27365b1e474d8d2047036c8a8f1377bfe0
---

 libavformat/gxf.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libavformat/gxf.c b/libavformat/gxf.c
index e732435..e15d06a 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;



More information about the ffmpeg-cvslog mailing list