summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzeeshan.ali@nokia.com <zeeshan.ali@nokia.com>2007-02-15 13:35:36 +0000
committerEdward Hervey <bilboed@bilboed.com>2009-02-21 17:47:56 +0100
commit2be160c741ad8cec136e53088d839355ab34471b (patch)
tree69e4723e090bad3d951d61d80fe18e520cd28a05
parent221be0ea0661b38f255dae9a07b2d9d30187e4ae (diff)
downloadgst-plugins-bad-2be160c741ad8cec136e53088d839355ab34471b.tar.gz
gst-plugins-bad-2be160c741ad8cec136e53088d839355ab34471b.tar.bz2
gst-plugins-bad-2be160c741ad8cec136e53088d839355ab34471b.zip
[MOVED FROM GST-P-FARSIGHT] No need to handle downstream events
20070215133536-65035-648b791d404bf06900bd2698d925117c89743db9.gz
-rw-r--r--gst/rtpdtmf/gstrtpdtmfsrc.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/gst/rtpdtmf/gstrtpdtmfsrc.c b/gst/rtpdtmf/gstrtpdtmfsrc.c
index 464b34d5..a3e3d9a4 100644
--- a/gst/rtpdtmf/gstrtpdtmfsrc.c
+++ b/gst/rtpdtmf/gstrtpdtmfsrc.c
@@ -281,21 +281,6 @@ gst_rtp_dtmf_src_handle_event (GstPad * pad, GstEvent * event)
gst_rtp_dtmf_src_stop (dtmfsrc);
result = TRUE;
break;
- case GST_EVENT_NEWSEGMENT:
- {
- gboolean update;
- gdouble rate;
- GstFormat fmt;
- gint64 start, stop, position;
-
- gst_event_parse_new_segment (event, &update, &rate, &fmt, &start, &stop,
- &position);
- gst_segment_set_newsegment (&dtmfsrc->segment, update, rate, fmt,
- start, stop, position);
-
- result = TRUE;
- break;
- }
default:
result = gst_pad_event_default (pad, event);
break;