Commit 8a223b92 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller
Browse files

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.
parent cf602c23
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 {
......
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