qtmux: changes caps of src pads to video/quicktime, variant=something

Take a look at bug #580005 for further info.
This commit is contained in:
Thiago Santos 2009-04-30 14:43:36 -03:00 committed by Tim-Philipp Müller
parent 6f763db3b8
commit cea5e53465

View file

@ -124,6 +124,7 @@
"rate = (int) 16000, " \ "rate = (int) 16000, " \
"channels = [ 1, 2 ] " "channels = [ 1, 2 ] "
/* FIXME 0.11 - take a look at bugs #580005 and #340375 */
GstQTMuxFormatProp gst_qt_mux_format_list[] = { GstQTMuxFormatProp gst_qt_mux_format_list[] = {
/* original QuickTime format; see Apple site (e.g. qtff.pdf) */ /* original QuickTime format; see Apple site (e.g. qtff.pdf) */
{ {
@ -131,7 +132,7 @@ GstQTMuxFormatProp gst_qt_mux_format_list[] = {
"qtmux", "qtmux",
"QuickTime", "QuickTime",
"GstQTMux", "GstQTMux",
GST_STATIC_CAPS ("video/quicktime"), GST_STATIC_CAPS ("video/quicktime, variant = (string) apple"),
GST_STATIC_CAPS ("video/x-raw-rgb, " GST_STATIC_CAPS ("video/x-raw-rgb, "
COMMON_VIDEO_CAPS "; " COMMON_VIDEO_CAPS "; "
"video/x-raw-yuv, " "video/x-raw-yuv, "
@ -159,7 +160,7 @@ GstQTMuxFormatProp gst_qt_mux_format_list[] = {
"mp4mux", "mp4mux",
"MP4", "MP4",
"GstMP4Mux", "GstMP4Mux",
GST_STATIC_CAPS ("application/x-iso-mp4"), GST_STATIC_CAPS ("video/quicktime, variant = (string) iso"),
GST_STATIC_CAPS (MPEG4V_CAPS "; " H264_CAPS ";" GST_STATIC_CAPS (MPEG4V_CAPS "; " H264_CAPS ";"
"video/x-mp4-part," COMMON_VIDEO_CAPS), "video/x-mp4-part," COMMON_VIDEO_CAPS),
GST_STATIC_CAPS (MP3_CAPS "; " AAC_CAPS) GST_STATIC_CAPS (MP3_CAPS "; " AAC_CAPS)
@ -172,7 +173,7 @@ GstQTMuxFormatProp gst_qt_mux_format_list[] = {
"gppmux", "gppmux",
"3GPP", "3GPP",
"GstGPPMux", "GstGPPMux",
GST_STATIC_CAPS ("application/x-3gp"), GST_STATIC_CAPS ("video/quicktime, variant = (string) 3gpp"),
GST_STATIC_CAPS (H263_CAPS "; " H264_CAPS), GST_STATIC_CAPS (H263_CAPS "; " H264_CAPS),
GST_STATIC_CAPS (AMR_CAPS "; " MP3_CAPS "; " AAC_CAPS) GST_STATIC_CAPS (AMR_CAPS "; " MP3_CAPS "; " AAC_CAPS)
} }