summaryrefslogtreecommitdiff
path: root/gst/gstqueue.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/gstqueue.c')
-rw-r--r--gst/gstqueue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/gstqueue.c b/gst/gstqueue.c
index 61d5beb1d7..fc646bf371 100644
--- a/gst/gstqueue.c
+++ b/gst/gstqueue.c
@@ -671,8 +671,8 @@ gst_queue_change_state (GstElement *element)
else {
GstScheduler *src_sched, *sink_sched;
- src_sched = gst_pad_get_scheduler (GST_PAD_CAST (queue->srcpad));
- sink_sched = gst_pad_get_scheduler (GST_PAD_CAST (queue->sinkpad));
+ src_sched = gst_pad_get_scheduler (GST_PAD (queue->srcpad));
+ sink_sched = gst_pad_get_scheduler (GST_PAD (queue->sinkpad));
if (src_sched == sink_sched) {
GST_CAT_DEBUG_OBJECT (GST_CAT_STATES, queue, "queue %s does not connect different schedulers",