summaryrefslogtreecommitdiffstats
path: root/gst/rtsp/gstrtpdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/rtsp/gstrtpdec.c')
-rw-r--r--gst/rtsp/gstrtpdec.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gst/rtsp/gstrtpdec.c b/gst/rtsp/gstrtpdec.c
index c6a942e4..bacfea19 100644
--- a/gst/rtsp/gstrtpdec.c
+++ b/gst/rtsp/gstrtpdec.c
@@ -442,11 +442,8 @@ gst_rtp_dec_finalize (GObject * object)
static gboolean
gst_rtp_dec_query_src (GstPad * pad, GstQuery * query)
{
- GstRTPDec *rtpdec;
gboolean res;
- rtpdec = GST_RTP_DEC (GST_PAD_PARENT (pad));
-
switch (GST_QUERY_TYPE (query)) {
case GST_QUERY_LATENCY:
{
@@ -755,9 +752,6 @@ static GstStateChangeReturn
gst_rtp_dec_change_state (GstElement * element, GstStateChange transition)
{
GstStateChangeReturn ret;
- GstRTPDec *rtpdec;
-
- rtpdec = GST_RTP_DEC (element);
switch (transition) {
default: