gst-libs/gst/rtsp/gstrtspextension.c: Fire the signal on the object, not the interface.

Original commit message from CVS:
* gst-libs/gst/rtsp/gstrtspextension.c: (gst_rtsp_extension_send):
Fire the signal on the object, not the interface.
This commit is contained in:
Wim Taymans 2007-07-27 11:16:23 +00:00
parent 1846b1a84d
commit be5ef4b0ad
2 changed files with 7 additions and 5 deletions

View file

@ -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:

View 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;
}