vdpau: remove old glib compatibility code
authorDavid Schleef <ds@schleef.org>
Sat, 4 Jun 2011 20:51:20 +0000 (13:51 -0700)
committerDavid Schleef <ds@schleef.org>
Sat, 4 Jun 2011 21:09:30 +0000 (14:09 -0700)
sys/vdpau/h264/gsth264frame.c

index 4b6952f..421de0f 100644 (file)
@@ -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));