From: Iain <ia...@pd...> - 2004-03-19 12:44:40
|
CVS Root: /home/cvs/gstreamer Module: gst-plugins Changes by: iain Date: Fri Mar 19 2004 04:44:34 PST Log message: Use the is_int structure member rather than the local variable so that the correct splitting function is used. Modified files: . : ChangeLog gst/interleave : deinterleave.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins/ChangeLog.diff?r1=1.454&r2=1.455 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins/gst/interleave/deinterleave.c.diff?r1=1.4&r2=1.5 ====Begin Diffs==== Index: ChangeLog =================================================================== RCS file: /home/cvs/gstreamer/gst-plugins/ChangeLog,v retrieving revision 1.454 retrieving revision 1.455 diff -u -d -r1.454 -r1.455 --- a/ChangeLog 19 Mar 2004 08:31:15 -0000 1.454 +++ b/ChangeLog 19 Mar 2004 12:44:22 -0000 1.455 @@ -1,3 +1,8 @@ +2004-03-19 Iain <ia...@pr...> + + * gst/interleave/deinterleave.c (deinterleave_sink_link): Use the + is_int in the structure, not the local variable. 2004-03-19 David Schleef <ds...@sc...> * ext/librfb/gstrfbsrc.c: (gst_rfbsrc_change_state), Index: deinterleave.c RCS file: /home/cvs/gstreamer/gst-plugins/gst/interleave/deinterleave.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- a/deinterleave.c 15 Mar 2004 19:32:05 -0000 1.4 +++ b/deinterleave.c 19 Mar 2004 12:44:22 -0000 1.5 @@ -247,7 +247,6 @@ GstCaps *srccaps; GList *p; GstStructure *structure; - gboolean is_int; GstPadLinkReturn srclink; this = DEINTERLEAVE (gst_pad_get_parent (pad)); @@ -258,7 +257,7 @@ /* Get the number of channels coming in */ gst_structure_get_int (structure, "channels", &new_chans); - is_int = (strcmp (gst_structure_get_name (structure), + this->is_int = (strcmp (gst_structure_get_name (structure), "audio/x-raw-int") == 0); if (new_chans != this->channels) { |