projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ed0023
)
Set CODEC_TYPE_DATA for timecode tracks.
author
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Wed, 22 Nov 2006 18:47:05 +0000
(18:47 +0000)
committer
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Wed, 22 Nov 2006 18:47:05 +0000
(18:47 +0000)
Originally committed as revision 7159 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/gxf.c
patch
|
blob
|
history
diff --git
a/libavformat/gxf.c
b/libavformat/gxf.c
index
186f611
..
897cdad
100644
(file)
--- 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;