summaryrefslogtreecommitdiff
path: root/libavformat/gxf.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2006-11-22 18:47:05 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2006-11-22 18:47:05 +0000
commit6e8c46b7e3068aad5b9521eb6731c66172c76e31 (patch)
treea277f20d2184ace89228453a50ad3de705117a9c /libavformat/gxf.c
parent9ed0023447c3bbdf9a080cc386ce0ef7590a4195 (diff)
downloadffmpeg-6e8c46b7e3068aad5b9521eb6731c66172c76e31.tar.gz
Set CODEC_TYPE_DATA for timecode tracks.
Originally committed as revision 7159 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/gxf.c')
-rw-r--r--libavformat/gxf.c7
1 files changed, 7 insertions, 0 deletions
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;