mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
[MOVED FROM GST-P-FARSIGHT] No need to handle downstream events
20070215133536-65035-648b791d404bf06900bd2698d925117c89743db9.gz
This commit is contained in:
parent
221be0ea06
commit
2be160c741
1 changed files with 0 additions and 15 deletions
|
@ -281,21 +281,6 @@ gst_rtp_dtmf_src_handle_event (GstPad * pad, GstEvent * event)
|
||||||
gst_rtp_dtmf_src_stop (dtmfsrc);
|
gst_rtp_dtmf_src_stop (dtmfsrc);
|
||||||
result = TRUE;
|
result = TRUE;
|
||||||
break;
|
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:
|
default:
|
||||||
result = gst_pad_event_default (pad, event);
|
result = gst_pad_event_default (pad, event);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue