From 6e8c46b7e3068aad5b9521eb6731c66172c76e31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= Date: Wed, 22 Nov 2006 18:47:05 +0000 Subject: [PATCH] Set CODEC_TYPE_DATA for timecode tracks. Originally committed as revision 7159 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/gxf.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libavformat/gxf.c b/libavformat/gxf.c index 186f61191e..897cdade0f 100644 --- a/libavformat/gxf.c +++ b/libavformat/gxf.c @@ -162,6 +162,13 @@ static int get_sindex(AVFormatContext *s, int id, int format) { st->codec->channels = 2; st->codec->sample_rate = 48000; break; + // timecode tracks: + case 7: + case 8: + case 24: + st->codec->codec_type = CODEC_TYPE_DATA; + st->codec->codec_id = CODEC_ID_NONE; + break; default: st->codec->codec_type = CODEC_TYPE_UNKNOWN; st->codec->codec_id = CODEC_ID_NONE;