mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-27 02:52:25 +08: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:
@ -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;
|
||||||
|
Reference in New Issue
Block a user