mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
androidmedia: Set parent class in class_init
This commit is contained in:
parent
7832b9b43f
commit
055154fe78
2 changed files with 4 additions and 0 deletions
|
@ -333,6 +333,8 @@ gst_amc_audio_dec_class_init (GstAmcAudioDecClass * klass)
|
|||
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
|
||||
GstAudioDecoderClass *audiodec_class = GST_AUDIO_DECODER_CLASS (klass);
|
||||
|
||||
parent_class = g_type_class_peek_parent (klass);
|
||||
|
||||
gobject_class->finalize = gst_amc_audio_dec_finalize;
|
||||
|
||||
element_class->change_state =
|
||||
|
|
|
@ -466,6 +466,8 @@ gst_amc_video_dec_class_init (GstAmcVideoDecClass * klass)
|
|||
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
|
||||
GstVideoDecoderClass *videodec_class = GST_VIDEO_DECODER_CLASS (klass);
|
||||
|
||||
parent_class = g_type_class_peek_parent (klass);
|
||||
|
||||
gobject_class->finalize = gst_amc_video_dec_finalize;
|
||||
|
||||
element_class->change_state =
|
||||
|
|
Loading…
Reference in a new issue