+2004-06-29 Benjamin Otte <otte@gnome.org>
+
+ * sys/oss/gstosssink.c:
+ * sys/oss/gstosssrc.c:
+ advertise correct template caps - we indeed do non-native endianness
+ and 8bit audio has no endianness
+ * sys/ximage/ximagesink.c: (gst_ximagesink_getcaps):
+ * sys/xvimage/xvimagesink.c: (gst_xvimagesink_getcaps):
+ avoid (wrong) duplications in getcaps function and return
+ template caps
+
2004-06-29 Wim Taymans <wim@fluendo.com>
* gst/tcp/gstmultifdsink.c: (gst_recover_policy_get_type),
if (ximagesink->xcontext)
return gst_caps_copy (ximagesink->xcontext->caps);
- return gst_caps_from_string ("video/x-raw-rgb, "
- "framerate = (double) [ 1, 100 ], "
- "width = (int) [ 0, MAX ], " "height = (int) [ 0, MAX ]");
+ return gst_caps_copy (gst_pad_get_pad_template_caps (pad));
}
static GstPadLinkReturn
if (xvimagesink->xcontext)
return gst_caps_copy (xvimagesink->xcontext->caps);
- return gst_caps_from_string ("video/x-raw-rgb, "
- "framerate = (double) [ 1.0, 100.0 ], "
- "width = (int) [ 0, MAX ], "
- "height = (int) [ 0, MAX ]; "
- "video/x-raw-yuv, "
- "framerate = (double) [ 0, MAX ], "
- "width = (int) [ 0, MAX ], " "height = (int) [ 0, MAX ]");
+ return gst_caps_copy (gst_pad_get_pad_template_caps (pad));
}
static GstPadLinkReturn