From: Wim T. <wt...@us...> - 2002-03-30 17:19:47
|
CVS Root: /cvsroot/gstreamer Module: gst-plugins Changes by: wtay Date: Sat Mar 30 2002 09:19:44 PST Log message: Get the signed property as a boolean Modified files: ext/audiofile : gstafsink.c Links: http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins/ext/audiofile/gstafsink.c.diff?r1=1.6&r2=1.7 ====Begin Diffs==== Index: gstafsink.c =================================================================== RCS file: /cvsroot/gstreamer/gst-plugins/ext/audiofile/gstafsink.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- gstafsink.c 30 Mar 2002 17:06:19 -0000 1.6 +++ gstafsink.c 30 Mar 2002 17:19:32 -0000 1.7 @@ -311,11 +311,11 @@ } 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, |