Commit 7afb1045 authored by Andy Wingo's avatar Andy Wingo
Browse files

gst-libs/gst/audio/gstbaseaudiosrc.c

Original commit message from CVS:
2005-08-23  Andy Wingo  <wingo@pobox.com>

* gst-libs/gst/audio/gstbaseaudiosrc.c
(gst_base_audio_src_fixate): Only fixate endianness if it is
present in the caps.
parent 1bbfa093
2005-08-23 Andy Wingo <wingo@pobox.com>
* gst-libs/gst/audio/gstbaseaudiosrc.c
(gst_base_audio_src_fixate): Only fixate endianness if it is
present in the caps.
2005-08-22 Andy Wingo <wingo@pobox.com>
 
* ext/alsa/gstalsasink.c (gst_alsasink_get_property):
......
......@@ -211,7 +211,8 @@ gst_base_audio_src_fixate (GstPad * pad, GstCaps * caps)
gst_caps_structure_fixate_field_nearest_int (s, "depth", 16);
gst_caps_structure_fixate_field_nearest_int (s, "width", 16);
gst_structure_set (s, "signed", G_TYPE_BOOLEAN, TRUE, NULL);
gst_caps_structure_fixate_field_nearest_int (s, "endianness", G_BYTE_ORDER);
if (gst_structure_has_field (s, "endianness"))
gst_caps_structure_fixate_field_nearest_int (s, "endianness", G_BYTE_ORDER);
}
static gboolean
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment