projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9b552f
)
vdpau: remove old glib compatibility code
author
David Schleef
<ds@schleef.org>
Sat, 4 Jun 2011 20:51:20 +0000
(13:51 -0700)
committer
David Schleef
<ds@schleef.org>
Sat, 4 Jun 2011 21:09:30 +0000
(14:09 -0700)
sys/vdpau/h264/gsth264frame.c
patch
|
blob
|
history
diff --git
a/sys/vdpau/h264/gsth264frame.c
b/sys/vdpau/h264/gsth264frame.c
index
4b6952f
..
421de0f
100644
(file)
--- 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));