+2004-05-11 Benjamin Otte <in7y118@public.uni-hamburg.de>
+
+ * ext/libvisual/visual.c: (gst_visual_getcaps):
+ use the right caps depending on endianness (I hope)
+ * ext/ogg/gstoggmux.c: (gst_ogg_mux_plugin_init):
+ use GST_RANK_NONE for all non-decoding elements or spider gets
+ mighty confused
+
2004-05-11 Ronald Bultje <rbultje@ronald.bitfreak.net>
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_process_comment):
GST_PAD_SRC,
GST_PAD_ALWAYS,
GST_STATIC_CAPS (GST_VIDEO_CAPS_xRGB_HOST_ENDIAN "; "
- GST_VIDEO_CAPS_BGR "; " GST_VIDEO_CAPS_RGB_16)
+#if G_BYTE_ORDER == G_BIG_ENDIAN
+ GST_VIDEO_CAPS_RGB "; "
+#else
+ GST_VIDEO_CAPS_BGR "; "
+#endif
+ GST_VIDEO_CAPS_RGB_16)
);
static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink",
}
if (visual_actor_depth_is_supported (visual->actor,
VISUAL_VIDEO_CONTEXT_24BIT) == 1) {
+#if G_BYTE_ORDER == G_BIG_ENDIAN
+ gst_caps_append (ret, gst_caps_from_string (GST_VIDEO_CAPS_RGB));
+#else
gst_caps_append (ret, gst_caps_from_string (GST_VIDEO_CAPS_BGR));
+#endif
}
if (visual_actor_depth_is_supported (visual->actor,
VISUAL_VIDEO_CONTEXT_16BIT) == 1) {
{
GST_DEBUG_CATEGORY_INIT (gst_ogg_mux_debug, "oggmux", 0, "ogg muxer");
- return gst_element_register (plugin, "oggmux", GST_RANK_PRIMARY,
+ return gst_element_register (plugin, "oggmux", GST_RANK_NONE,
GST_TYPE_OGG_MUX);
}