From: <co...@fr...> - 2005-03-20 20:21:35
|
CVS Root: /cvs/gstreamer Module: gst-plugins Changes by: company Date: Sun Mar 20 2005 12:21:27 PST Branch: BRANCH-GSTREAMER-0_8 Log message: * ext/jack/gstjack.c: (gst_jack_loop): don't use deprecated gst_buffer_set_data Modified files: . : ChangeLog ext/jack : gstjack.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins/ChangeLog.diff?r1=1.1641.2.46&r2=1.1641.2.47 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins/ext/jack/gstjack.c.diff?r1=1.41&r2=1.41.4.1 ====Begin Diffs==== Index: ChangeLog =================================================================== RCS file: /cvs/gstreamer/gst-plugins/ChangeLog,v retrieving revision 1.1641.2.46 retrieving revision 1.1641.2.47 diff -u -d -r1.1641.2.46 -r1.1641.2.47 --- ChangeLog 20 Mar 2005 14:54:54 -0000 1.1641.2.46 +++ ChangeLog 20 Mar 2005 20:21:15 -0000 1.1641.2.47 @@ -1,3 +1,8 @@ +2005-03-20 Benjamin Otte <in...@pu...> + + * ext/jack/gstjack.c: (gst_jack_loop): + don't use deprecated gst_buffer_set_data 2005-03-20 Ronald S. Bultje <rb...@ro...> * gst/playback/gstplaybasebin.c: (gst_play_base_bin_change_state): Index: gstjack.c RCS file: /cvs/gstreamer/gst-plugins/ext/jack/gstjack.c,v retrieving revision 1.41 retrieving revision 1.41.4.1 diff -u -d -r1.41 -r1.41.4.1 --- gstjack.c 3 Aug 2004 14:28:11 -0000 1.41 +++ gstjack.c 20 Mar 2005 20:21:15 -0000 1.41.4.1 @@ -500,7 +500,8 @@ gst_buffer_unref (buffer); } else { buffer = gst_buffer_new (); - gst_buffer_set_data (buffer, pad->data, len); + buffer->data = pad->data; + buffer->size = len; GST_BUFFER_FLAG_SET (buffer, GST_BUFFER_DONTFREE); gst_pad_push (pad->pad, GST_DATA (buffer)); |