diff options
Diffstat (limited to 'gst/rtjpeg')
-rw-r--r-- | gst/rtjpeg/gstrtjpegdec.c | 2 | ||||
-rw-r--r-- | gst/rtjpeg/gstrtjpegenc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gst/rtjpeg/gstrtjpegdec.c b/gst/rtjpeg/gstrtjpegdec.c index feead867..5024c590 100644 --- a/gst/rtjpeg/gstrtjpegdec.c +++ b/gst/rtjpeg/gstrtjpegdec.c @@ -96,7 +96,7 @@ gst_rtjpegdec_class_init (GstRTJpegDecClass * klass) gstelement_class = (GstElementClass *) klass; - parent_class = g_type_class_ref (GST_TYPE_ELEMENT); + parent_class = g_type_class_peek_parent (klass); } static void diff --git a/gst/rtjpeg/gstrtjpegenc.c b/gst/rtjpeg/gstrtjpegenc.c index b39d4663..9563e500 100644 --- a/gst/rtjpeg/gstrtjpegenc.c +++ b/gst/rtjpeg/gstrtjpegenc.c @@ -94,7 +94,7 @@ gst_rtjpegenc_class_init (GstRTJpegEncClass * klass) gstelement_class = (GstElementClass *) klass; - parent_class = g_type_class_ref (GST_TYPE_ELEMENT); + parent_class = g_type_class_peek_parent (klass); } static void |