+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),
};
static GstStaticPadTemplate osssink_sink_factory =
-GST_STATIC_PAD_TEMPLATE ("sink",
+ GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
GST_PAD_ALWAYS,
GST_STATIC_CAPS ("audio/x-raw-int, "
- "endianness = (int) BYTE_ORDER, "
+ "endianness = (int) { LITTLE_ENDIAN, BIG_ENDIAN }, "
"signed = (boolean) { TRUE, FALSE }, "
- "width = (int) { 8, 16 }, "
+ "width = (int) 16, "
"depth = (int) { 8, 16 }, "
+ "rate = (int) [ 1, MAX ], " "channels = (int) [ 1, 2 ]; "
+ "audio/x-raw-int, "
+ "signed = (boolean) { TRUE, FALSE }, "
+ "width = (int) 8, "
+ "depth = (int) 8, "
"rate = (int) [ 1, MAX ], " "channels = (int) [ 1, 2 ]")
);
GST_PAD_SRC,
GST_PAD_ALWAYS,
GST_STATIC_CAPS ("audio/x-raw-int, "
- "endianness = (int) BYTE_ORDER, "
+ "endianness = (int) { LITTLE_ENDIAN, BIG_ENDIAN }, "
"signed = (boolean) { TRUE, FALSE }, "
- "width = (int) { 8, 16 }, "
+ "width = (int) 16, "
"depth = (int) { 8, 16 }, "
+ "rate = (int) [ 1, MAX ], " "channels = (int) [ 1, 2 ]; "
+ "audio/x-raw-int, "
+ "signed = (boolean) { TRUE, FALSE }, "
+ "width = (int) 8, "
+ "depth = (int) 8, "
"rate = (int) [ 1, MAX ], " "channels = (int) [ 1, 2 ]")
);