changeset 1539:bc94f4215dd0 libavformat

Set CODEC_TYPE_DATA for timecode tracks.
author reimar
date Wed, 22 Nov 2006 18:47:05 +0000
parents a7413070347a
children 241f6efbbcdc
files gxf.c
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gxf.c	Wed Nov 22 18:31:28 2006 +0000
+++ b/gxf.c	Wed Nov 22 18:47:05 2006 +0000
@@ -162,6 +162,13 @@
             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;