/* construct the element details struct */
longname = g_strdup_printf ("%s Muxer", params->prop->long_name);
- description = g_strdup_printf ("Multiplex audio and video into a %s file",
- params->prop->long_name);
+ description = g_strdup_printf ("Multiplex audio and video into a %s file%s",
+ params->prop->long_name,
+ (params->prop->rank == GST_RANK_NONE) ? " (deprecated)" : "");
gst_element_class_set_details_simple (element_class, longname,
"Codec/Muxer", description,
"Thiago Sousa Santos <thiagoss@embedded.ufcg.edu.br>");
g_type_add_interface_static (type, GST_TYPE_TAG_XMP_WRITER,
&tag_xmp_writer_info);
- if (!gst_element_register (plugin, prop->name, GST_RANK_PRIMARY, type))
+ if (!gst_element_register (plugin, prop->name, prop->rank, type))
return FALSE;
i++;
/* original QuickTime format; see Apple site (e.g. qtff.pdf) */
{
GST_QT_MUX_FORMAT_QT,
+ GST_RANK_PRIMARY,
"qtmux",
"QuickTime",
"GstQTMux",
* (supersedes original ISO 144996-1 mp41) */
{
GST_QT_MUX_FORMAT_MP4,
+ GST_RANK_PRIMARY,
"mp4mux",
"MP4",
"GstMP4Mux",
/* TODO add WMV/WMA support */
{
GST_QT_MUX_FORMAT_ISML,
+ GST_RANK_PRIMARY,
"ismlmux",
"ISML",
"GstISMLMux",
* (extended in 3GPP2 File Formats for Multimedia Services) */
{
GST_QT_MUX_FORMAT_3GP,
+ GST_RANK_PRIMARY,
+ "3gppmux",
+ "3GPP",
+ "Gst3GPPMux",
+ GST_STATIC_CAPS ("video/quicktime, variant = (string) 3gpp"),
+ GST_STATIC_CAPS (H263_CAPS "; " MPEG4V_CAPS "; " H264_CAPS),
+ GST_STATIC_CAPS (AMR_CAPS "; " MP3_CAPS "; " AAC_CAPS)
+ }
+ ,
+#ifndef GST_REMOVE_DEPRECATED
+ /* 3GPP Technical Specification 26.244 V7.3.0
+ * (extended in 3GPP2 File Formats for Multimedia Services) */
+ {
+ GST_QT_MUX_FORMAT_3GP,
+ GST_RANK_NONE,
"gppmux",
"3GPP",
"GstGPPMux",
GST_STATIC_CAPS (AMR_CAPS "; " MP3_CAPS "; " AAC_CAPS)
}
,
+#endif
/* ISO 15444-3: Motion-JPEG-2000 (also ISO base media extension) */
{
GST_QT_MUX_FORMAT_MJ2,
+ GST_RANK_PRIMARY,
"mj2mux",
"MJ2",
"GstMJ2Mux",
{
GST_QT_MUX_FORMAT_NONE,
}
- ,
};
/* pretty static, but may turn out needed a few times */