gst-libs/gst/rtsp/gstrtspextension.c: Fire the signal on the object, not the interface.
authorWim Taymans <wim.taymans@gmail.com>
Fri, 27 Jul 2007 11:16:23 +0000 (11:16 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Fri, 27 Jul 2007 11:16:23 +0000 (11:16 +0000)
Original commit message from CVS:
* gst-libs/gst/rtsp/gstrtspextension.c: (gst_rtsp_extension_send):
Fire the signal on the object, not the interface.

ChangeLog
gst-libs/gst/rtsp/gstrtspextension.c

index ad9391f..9da3797 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-07-27  Wim Taymans  <wim.taymans@gmail.com>
+
+       * gst-libs/gst/rtsp/gstrtspextension.c: (gst_rtsp_extension_send):
+       Fire the signal on the object, not the interface.
+
 2007-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
 
        * gst-libs/gst/rtsp/.cvsignore:
index 8097a0b..df644b0 100644 (file)
@@ -199,13 +199,10 @@ GstRTSPResult
 gst_rtsp_extension_send (GstRTSPExtension * ext, GstRTSPMessage * req,
     GstRTSPMessage * resp)
 {
-  GstRTSPExtensionInterface *iface;
   GstRTSPResult res = GST_RTSP_OK;
 
-  iface = GST_RTSP_EXTENSION_GET_IFACE (ext);
-
-  g_signal_emit (G_OBJECT (iface), gst_rtsp_extension_signals[SIGNAL_SEND], 0,
-      req, resp);
+  g_signal_emit (ext, gst_rtsp_extension_signals[SIGNAL_SEND], 0,
+      req, resp, &res);
 
   return res;
 }