Commit 6e8c46b7 authored by Reimar Döffinger's avatar Reimar Döffinger

Set CODEC_TYPE_DATA for timecode tracks.

Originally committed as revision 7159 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 9ed00234
...@@ -162,6 +162,13 @@ static int get_sindex(AVFormatContext *s, int id, int format) { ...@@ -162,6 +162,13 @@ static int get_sindex(AVFormatContext *s, int id, int format) {
st->codec->channels = 2; st->codec->channels = 2;
st->codec->sample_rate = 48000; st->codec->sample_rate = 48000;
break; 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: default:
st->codec->codec_type = CODEC_TYPE_UNKNOWN; st->codec->codec_type = CODEC_TYPE_UNKNOWN;
st->codec->codec_id = CODEC_ID_NONE; st->codec->codec_id = CODEC_ID_NONE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment