mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +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);
|
||||
|
||||
#if GLIB_CHECK_VERSION (2,22,0)
|
||||
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 (h264_frame));
|
||||
|
|
Loading…
Reference in a new issue