1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

Set CODEC_TYPE_DATA for timecode tracks.

Originally committed as revision 7159 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Reimar Döffinger 2006-11-22 18:47:05 +00:00
parent 9ed0023447
commit 6e8c46b7e3

View File

@ -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;