[MOVED FROM GST-P-FARSIGHT] No need to handle downstream events

20070215133536-65035-648b791d404bf06900bd2698d925117c89743db9.gz
This commit is contained in:
zeeshan.ali@nokia.com 2007-02-15 13:35:36 +00:00 committed by Edward Hervey
parent 221be0ea06
commit 2be160c741

View file

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