diff options
author | Edward Hervey <bilboed@bilboed.com> | 2007-02-07 12:29:03 +0000 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2007-02-07 12:29:03 +0000 |
commit | 1ec203993dbe255d83f1c984aa42fc5c858ecaed (patch) | |
tree | 7e2f8e518d132044a22aac373cbdfd7519bfa504 /ext | |
parent | 0492b93845927ee772be5e7e2131f94610a5a0a9 (diff) | |
download | gst-plugins-bad-1ec203993dbe255d83f1c984aa42fc5c858ecaed.tar.gz gst-plugins-bad-1ec203993dbe255d83f1c984aa42fc5c858ecaed.tar.bz2 gst-plugins-bad-1ec203993dbe255d83f1c984aa42fc5c858ecaed.zip |
ext/amrwb/gstamrwbparse.c: GST_PAD_PARENT doesn't return a GstObject with an incremented refcount.
Original commit message from CVS:
* ext/amrwb/gstamrwbparse.c: (gst_amrwbparse_query):
GST_PAD_PARENT doesn't return a GstObject with an incremented refcount.
Switched to using gst_pad_get_parent().
Diffstat (limited to 'ext')
-rw-r--r-- | ext/amrwb/gstamrwbparse.c | 2 |
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: |