mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
codecs: Add missing auto cleanup funcs
This commit is contained in:
parent
00d04784d3
commit
f3f60f5a4c
6 changed files with 12 additions and 0 deletions
|
@ -106,6 +106,8 @@ struct _GstH264DecoderClass
|
|||
gpointer padding[GST_PADDING_LARGE];
|
||||
};
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstH264Decoder, gst_object_unref)
|
||||
|
||||
GST_CODECS_API
|
||||
GType gst_h264_decoder_get_type (void);
|
||||
|
||||
|
|
|
@ -208,6 +208,8 @@ gint gst_h264_dpb_get_size (GstH264Dpb * dpb);
|
|||
GST_CODECS_API
|
||||
gboolean gst_h264_dpb_is_full (GstH264Dpb * dpb);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstH264Picture, gst_h264_picture_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GST_H264_PICTURE_H__ */
|
||||
|
|
|
@ -137,6 +137,8 @@ struct _GstH265DecoderClass
|
|||
gpointer padding[GST_PADDING_LARGE];
|
||||
};
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstH265Decoder, gst_object_unref)
|
||||
|
||||
GST_CODECS_API
|
||||
GType gst_h265_decoder_get_type (void);
|
||||
|
||||
|
|
|
@ -197,6 +197,8 @@ gint gst_h265_dpb_get_size (GstH265Dpb * dpb);
|
|||
GST_CODECS_API
|
||||
gboolean gst_h265_dpb_is_full (GstH265Dpb * dpb);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstH265Picture, gst_h265_picture_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GST_H265_PICTURE_H__ */
|
||||
|
|
|
@ -108,6 +108,8 @@ struct _GstVp9DecoderClass
|
|||
gpointer padding[GST_PADDING_LARGE];
|
||||
};
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstVp9Decoder, gst_object_unref)
|
||||
|
||||
GST_CODECS_API
|
||||
GType gst_vp9_decoder_get_type (void);
|
||||
|
||||
|
|
|
@ -119,6 +119,8 @@ GST_CODECS_API
|
|||
void gst_vp9_dpb_add (GstVp9Dpb * dpb,
|
||||
GstVp9Picture * picture);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstVp9Picture, gst_vp9_picture_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GST_VP9_PICTURE_H__ */
|
||||
|
|
Loading…
Reference in a new issue