summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/amrwb/gstamrwbparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/amrwb/gstamrwbparse.c b/ext/amrwb/gstamrwbparse.c
index e1132b49..e26e62d2 100644
--- a/ext/amrwb/gstamrwbparse.c
+++ b/ext/amrwb/gstamrwbparse.c
@@ -148,7 +148,7 @@ gst_amrwbparse_query (GstPad * pad, GstQuery * query)
GstAmrwbParse *amrwbparse;
gboolean res = TRUE;
- amrwbparse = GST_AMRWBPARSE (GST_PAD_PARENT (pad));
+ amrwbparse = GST_AMRWBPARSE (gst_pad_get_parent (pad));
switch (GST_QUERY_TYPE (query)) {
case GST_QUERY_POSITION: