+2004-03-29 David Schleef <ds@schleef.org>
+
+ * ext/alsa/gstalsa.c: (gst_alsa_fixate): Don't fixate fields that
+ aren't in the caps.
+ * gst/sine/gstsinesrc.c: change rate caps to [1,MAX]
+ * gst/videocrop/gstvideocrop.c: (plugin_init): Change rank to NONE.
+
2004-03-30 Benjamin Otte <in7y118@public.uni-hamburg.de>
* gst-libs/gst/riff/riff-media.c:
if (gst_caps_structure_fixate_field_nearest_int (structure, "rate", 44100)) {
return newcaps;
}
- if (gst_caps_structure_fixate_field_nearest_int (structure, "depth", 16)) {
- return newcaps;
- }
- if (gst_caps_structure_fixate_field_nearest_int (structure, "width", 16)) {
- return newcaps;
- }
if (gst_caps_structure_fixate_field_nearest_int (structure, "channels", 2)) {
return newcaps;
}
+ if (strcmp (gst_structure_get_name (structure), "audio/x-raw-int") == 0) {
+ if (gst_caps_structure_fixate_field_nearest_int (structure, "depth", 16)) {
+ return newcaps;
+ }
+ if (gst_caps_structure_fixate_field_nearest_int (structure, "width", 16)) {
+ return newcaps;
+ }
+ } else {
+ if (gst_caps_structure_fixate_field_nearest_int (structure, "width", 32)) {
+ return newcaps;
+ }
+ }
gst_caps_free (newcaps);
"endianness = (int) BYTE_ORDER, "
"signed = (boolean) true, "
"width = (int) 16, "
- "depth = (int) 16, "
- "rate = (int) [ 8000, 48000 ], " "channels = (int) 1")
+ "depth = (int) 16, " "rate = (int) [ 1, MAX ], " "channels = (int) 1")
);
static void gst_sinesrc_class_init (GstSineSrcClass * klass);