Commit 2d3a95c0 authored by Stefan Kost's avatar Stefan Kost

ext/ffmpeg/: Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_class_init):
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_class_init):
* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_class_init):
Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
parent d11f8704
2006-04-08 Stefan Kost <ensonic@users.sf.net>
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_class_init):
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_class_init):
* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_class_init):
Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
2006-04-08 Wim Taymans <wim@fluendo.com>
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_do_qos):
......
......@@ -199,7 +199,7 @@ gst_ffmpegdemux_class_init (GstFFMpegDemuxClass * klass)
gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
parent_class = g_type_class_peek_parent (klass);
gstelement_class->change_state = gst_ffmpegdemux_change_state;
}
......
......@@ -213,7 +213,7 @@ gst_ffmpegenc_class_init (GstFFMpegEncClass * klass)
gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
parent_class = g_type_class_peek_parent (klass);
gobject_class->set_property = gst_ffmpegenc_set_property;
gobject_class->get_property = gst_ffmpegenc_get_property;
......
......@@ -164,7 +164,7 @@ gst_ffmpegmux_class_init (GstFFMpegMuxClass * klass)
gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
parent_class = g_type_class_peek_parent (klass);
gstelement_class->request_new_pad = gst_ffmpegmux_request_new_pad;
gstelement_class->change_state = gst_ffmpegmux_change_state;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment