From 76fad771496ddcbc2f9091b85ceb897bec25aaa4 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Sat, 4 Jun 2011 13:51:20 -0700 Subject: [PATCH] vdpau: remove old glib compatibility code --- sys/vdpau/h264/gsth264frame.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sys/vdpau/h264/gsth264frame.c b/sys/vdpau/h264/gsth264frame.c index 4b6952f212..421de0fe37 100644 --- a/sys/vdpau/h264/gsth264frame.c +++ b/sys/vdpau/h264/gsth264frame.c @@ -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));