mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-06-26 09:50:39 +00:00
gst/audioconvert/gstaudioconvert.c: Float caps shouldn't have a "signed" field.
Original commit message from CVS: * gst/audioconvert/gstaudioconvert.c: (make_lossless_changes): Float caps shouldn't have a "signed" field.
This commit is contained in:
parent
cf602c2379
commit
8a223b920d
|
@ -1,3 +1,8 @@
|
|||
2006-08-10 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* gst/audioconvert/gstaudioconvert.c: (make_lossless_changes):
|
||||
Float caps shouldn't have a "signed" field.
|
||||
|
||||
2006-08-10 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_src_query):
|
||||
|
|
|
@ -324,9 +324,10 @@ static GstStructure *
|
|||
make_lossless_changes (GstStructure * s, gboolean isfloat)
|
||||
{
|
||||
if (isfloat) {
|
||||
/* float doesn't have depth, and only supports width 32, and native-endian
|
||||
*/
|
||||
/* float doesn't have a depth or signedness field and only supports a
|
||||
* width of 32 and native endianness */
|
||||
gst_structure_remove_field (s, "depth");
|
||||
gst_structure_remove_field (s, "signed");
|
||||
gst_structure_set (s, "width", G_TYPE_INT, 32, NULL);
|
||||
gst_structure_set (s, "endianness", G_TYPE_INT, G_BYTE_ORDER, NULL);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue