mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-06 15:31:00 +00:00
Allow autodetection of E-AC3.
Originally committed as revision 20206 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
a9b0204374
commit
b8c0db9981
1 changed files with 3 additions and 0 deletions
|
@ -329,6 +329,9 @@ static int set_codec_from_probe_data(AVFormatContext *s, AVStream *st, AVProbeDa
|
||||||
} else if (!strcmp(fmt->name, "ac3")) {
|
} else if (!strcmp(fmt->name, "ac3")) {
|
||||||
st->codec->codec_id = CODEC_ID_AC3;
|
st->codec->codec_id = CODEC_ID_AC3;
|
||||||
st->codec->codec_type = CODEC_TYPE_AUDIO;
|
st->codec->codec_type = CODEC_TYPE_AUDIO;
|
||||||
|
} else if (!strcmp(fmt->name, "eac3")) {
|
||||||
|
st->codec->codec_id = CODEC_ID_EAC3;
|
||||||
|
st->codec->codec_type = CODEC_TYPE_AUDIO;
|
||||||
} else if (!strcmp(fmt->name, "mpegvideo")) {
|
} else if (!strcmp(fmt->name, "mpegvideo")) {
|
||||||
st->codec->codec_id = CODEC_ID_MPEG2VIDEO;
|
st->codec->codec_id = CODEC_ID_MPEG2VIDEO;
|
||||||
st->codec->codec_type = CODEC_TYPE_VIDEO;
|
st->codec->codec_type = CODEC_TYPE_VIDEO;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue