From: <tho...@fr...> - 2004-07-29 14:05:29
|
CVS Root: /home/cvs/gstreamer Module: gst-plugins Changes by: thomasvs Date: Fri Jul 30 2004 00:05:27 EST Log message: rename properly Modified files: gst/playback : gstdecodebin.c gstplaybasebin.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins/gst/playback/gstdecodebin.c.diff?r1=1.7&r2=1.8 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins/gst/playback/gstplaybasebin.c.diff?r1=1.5&r2=1.6 ====Begin Diffs==== Index: gstdecodebin.c =================================================================== RCS file: /home/cvs/gstreamer/gst-plugins/gst/playback/gstdecodebin.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- gstdecodebin.c 22 Jul 2004 16:44:58 -0000 1.7 +++ gstdecodebin.c 29 Jul 2004 14:05:09 -0000 1.8 @@ -70,7 +70,7 @@ { GstBinClass parent_class; - void (*new_stream) (GstElement * element, GstPad * pad, gboolean last); + void (*new_decoded_pad) (GstElement * element, GstPad * pad, gboolean last); void (*unknown_type) (GstElement * element, GstCaps * caps); }; @@ -84,7 +84,7 @@ /* signals */ enum - SIGNAL_NEW_STREAM, + SIGNAL_NEW_DECODED_PAD, SIGNAL_UNKNOWN_TYPE, LAST_SIGNAL @@ -174,9 +174,10 @@ g_param_spec_boolean ("threaded", "Threaded", "Use threads", FALSE, G_PARAM_READWRITE)); - gst_decode_bin_signals[SIGNAL_NEW_STREAM] = - g_signal_new ("new-stream", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GstDecodeBinClass, new_stream), NULL, NULL, + gst_decode_bin_signals[SIGNAL_NEW_DECODED_PAD] = + g_signal_new ("new-decoded-pad", G_TYPE_FROM_CLASS (klass), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (GstDecodeBinClass, new_decoded_pad), NULL, NULL, gst_marshal_VOID__OBJECT_POINTER, G_TYPE_NONE, 2, G_TYPE_OBJECT, G_TYPE_BOOLEAN); gst_decode_bin_signals[SIGNAL_UNKNOWN_TYPE] = @@ -356,7 +357,7 @@ /* our own signal with an extra flag that this is the only pad */ g_signal_emit (G_OBJECT (decode_bin), - gst_decode_bin_signals[SIGNAL_NEW_STREAM], 0, ghost, !dynamic); + gst_decode_bin_signals[SIGNAL_NEW_DECODED_PAD], 0, ghost, !dynamic); g_free (padname); return; Index: gstplaybasebin.c RCS file: /home/cvs/gstreamer/gst-plugins/gst/playback/gstplaybasebin.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- gstplaybasebin.c 22 Jul 2004 16:44:58 -0000 1.5 +++ gstplaybasebin.c 29 Jul 2004 14:05:09 -0000 1.6 @@ -371,8 +371,8 @@ g_warning ("can't link source to typefind element"); return FALSE; } - sig1 = g_signal_connect (G_OBJECT (play_base_bin->decoder), "new_stream", - G_CALLBACK (new_stream), play_base_bin); + sig1 = g_signal_connect (G_OBJECT (play_base_bin->decoder), + "new-decoded-pad", G_CALLBACK (new_stream), play_base_bin); sig2 = g_signal_connect (G_OBJECT (play_base_bin->decoder), "no-more-pads", G_CALLBACK (no_more_pads), play_base_bin); sig3 = g_signal_connect (G_OBJECT (play_base_bin->decoder), "unknown-type", |