projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e58646
)
rtpdtmfmux: Cleanup event function
author
Olivier Crête
<olivier.crete@collabora.co.uk>
Fri, 7 May 2010 21:15:47 +0000
(17:15 -0400)
committer
Tim-Philipp Müller
<tim@centricular.net>
Sun, 16 Dec 2012 16:35:14 +0000
(16:35 +0000)
gst/rtpmanager/gstrtpdtmfmux.c
patch
|
blob
|
history
diff --git
a/gst/rtpmanager/gstrtpdtmfmux.c
b/gst/rtpmanager/gstrtpdtmfmux.c
index 87ad17cf29bed665c9a95323a3b6e895a9f55fe2..73756343b70b0d1d22343b93030da1e2e411320c 100644
(file)
--- a/
gst/rtpmanager/gstrtpdtmfmux.c
+++ b/
gst/rtpmanager/gstrtpdtmfmux.c
@@
-278,14
+278,11
@@
static gboolean
gst_rtp_dtmf_mux_sink_event (GstPad * pad, GstEvent * event)
{
GstRTPDTMFMux *mux;
- GstEventType type;
gboolean ret = FALSE;
- type = event ? GST_EVENT_TYPE (event) : GST_EVENT_UNKNOWN;
-
mux = (GstRTPDTMFMux *) gst_pad_get_parent (pad);
- switch (
type
) {
+ switch (
GST_EVENT_TYPE (event)
) {
case GST_EVENT_CUSTOM_DOWNSTREAM_OOB:
ret = gst_rtp_dtmf_mux_handle_downstream_event (mux, pad, event);
gst_event_unref (event);