projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f51dfb
)
rtspsrc: install event function on internal RTCP pad
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Thu, 10 Dec 2009 17:42:51 +0000
(18:42 +0100)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Thu, 10 Dec 2009 17:45:55 +0000
(18:45 +0100)
Install a custom event function on the internal RTCP pad so that we can reply
TRUE to a latency event.
gst/rtsp/gstrtspsrc.c
patch
|
blob
|
history
diff --git
a/gst/rtsp/gstrtspsrc.c
b/gst/rtsp/gstrtspsrc.c
index
f3ba326
..
7e90c2e
100644
(file)
--- a/
gst/rtsp/gstrtspsrc.c
+++ b/
gst/rtsp/gstrtspsrc.c
@@
-2205,6
+2205,7
@@
gst_rtspsrc_stream_configure_tcp (GstRTSPSrc * src, GstRTSPStream * stream,
/* if we have a sinkpad for the other channel, create a pad and link to the
* manager. */
pad1 = gst_pad_new_from_template (template, "internalsrc1");
+ gst_pad_set_event_function (pad1, gst_rtspsrc_handle_internal_src_event);
gst_pad_link (pad1, stream->channelpad[1]);
gst_object_unref (stream->channelpad[1]);
stream->channelpad[1] = pad1;