Commit 55443149 authored by bcoudurier's avatar bcoudurier

use dts codec probing

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19014 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent d09040da
......@@ -336,6 +336,9 @@ static int set_codec_from_probe_data(AVStream *st, AVProbeData *pd, int score)
} else if (!strcmp(fmt->name, "h264")) {
st->codec->codec_id = CODEC_ID_H264;
st->codec->codec_type = CODEC_TYPE_VIDEO;
} else if (!strcmp(fmt->name, "dts")) {
st->codec->codec_id = CODEC_ID_DTS;
st->codec->codec_type = CODEC_TYPE_AUDIO;
}
}
return !!fmt;
......
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