ext/ffmpeg/gstffmpegcodecmap.c: MP4 does not allow H263 and AMR.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c:
(gst_ffmpeg_formatid_get_codecids):
MP4 does not allow H263 and AMR.
This commit is contained in:
Edward Hervey 2008-06-13 17:59:43 +00:00
parent 7552b89972
commit bed7aa3f98
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2008-06-13 Edward Hervey <edward.hervey@collabora.co.uk>
* ext/ffmpeg/gstffmpegcodecmap.c:
(gst_ffmpeg_formatid_get_codecids):
MP4 does not allow H263 and AMR.
2008-06-13 Edward Hervey <edward.hervey@collabora.co.uk>
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),

View file

@ -1872,12 +1872,12 @@ gst_ffmpeg_formatid_get_codecids (const gchar * format_name,
if (!strcmp (format_name, "mp4")) {
static enum CodecID mp4_video_list[] = {
CODEC_ID_MPEG4, CODEC_ID_H263, CODEC_ID_H264,
CODEC_ID_MPEG4, CODEC_ID_H264,
CODEC_ID_MJPEG,
CODEC_ID_NONE
};
static enum CodecID mp4_audio_list[] = {
CODEC_ID_AAC, CODEC_ID_MP3, CODEC_ID_AMR_NB, CODEC_ID_AMR_WB,
CODEC_ID_AAC, CODEC_ID_MP3,
CODEC_ID_NONE
};