summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/audiofile/gstafsink.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/audiofile/gstafsink.c b/ext/audiofile/gstafsink.c
index 0a32c178..620082c9 100644
--- a/ext/audiofile/gstafsink.c
+++ b/ext/audiofile/gstafsink.c
@@ -311,11 +311,11 @@ gst_afsink_open_file (GstAFSink *sink)
}
else
{
- gst_caps_get_int (caps, "channels", &sink->channels);
- gst_caps_get_int (caps, "width", &sink->width);
- gst_caps_get_int (caps, "rate", &sink->rate);
- gst_caps_get_int (caps, "signed", &sink->is_signed);
- gst_caps_get_int (caps, "endianness", &sink->endianness_data);
+ gst_caps_get_int (caps, "channels", &sink->channels);
+ gst_caps_get_int (caps, "width", &sink->width);
+ gst_caps_get_int (caps, "rate", &sink->rate);
+ gst_caps_get_boolean (caps, "signed", &sink->is_signed);
+ gst_caps_get_int (caps, "endianness", &sink->endianness_data);
}
GST_DEBUG (GST_CAT_PLUGIN_INFO, "channels %d, width %d, rate %d, signed %s",
sink->channels, sink->width, sink->rate,