mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40:37 +00:00
vdpau: remove old glib compatibility code
This commit is contained in:
parent
f9b552f049
commit
76fad77149
1 changed files with 0 additions and 4 deletions
|
@ -54,11 +54,7 @@ gst_h264_frame_finalize (GstH264Frame * h264_frame)
|
||||||
{
|
{
|
||||||
g_ptr_array_foreach (h264_frame->slices, (GFunc) gst_buffer_unref, NULL);
|
g_ptr_array_foreach (h264_frame->slices, (GFunc) gst_buffer_unref, NULL);
|
||||||
|
|
||||||
#if GLIB_CHECK_VERSION (2,22,0)
|
|
||||||
g_ptr_array_unref (h264_frame->slices);
|
g_ptr_array_unref (h264_frame->slices);
|
||||||
#else
|
|
||||||
g_ptr_array_free (h264_frame->slices, TRUE);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
GST_MINI_OBJECT_CLASS (gst_h264_frame_parent_class)->finalize
|
GST_MINI_OBJECT_CLASS (gst_h264_frame_parent_class)->finalize
|
||||||
(GST_MINI_OBJECT (h264_frame));
|
(GST_MINI_OBJECT (h264_frame));
|
||||||
|
|
Loading…
Reference in a new issue