From c63dc97adf1c1e49a7039ce8239791211cf5824a Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 8 Mar 2011 17:02:30 +0000 Subject: [PATCH] meta: update for new API --- gst/debugutils/efence.c | 3 +-- sys/v4l2/gstv4l2bufferpool.c | 5 ++--- sys/ximage/ximageutil.c | 5 ++--- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/gst/debugutils/efence.c b/gst/debugutils/efence.c index 9d5a599..7019352 100644 --- a/gst/debugutils/efence.c +++ b/gst/debugutils/efence.c @@ -102,8 +102,7 @@ gst_meta_fenced_get_info (void) sizeof (GstMetaFenced), (GstMetaInitFunction) NULL, (GstMetaFreeFunction) NULL, - (GstMetaCopyFunction) NULL, - (GstMetaSubFunction) NULL, + (GstMetaTransformFunction) NULL, (GstMetaSerializeFunction) NULL, (GstMetaDeserializeFunction) NULL); } return meta_fenced_info; diff --git a/sys/v4l2/gstv4l2bufferpool.c b/sys/v4l2/gstv4l2bufferpool.c index 5c3f018..e2b6de3 100644 --- a/sys/v4l2/gstv4l2bufferpool.c +++ b/sys/v4l2/gstv4l2bufferpool.c @@ -64,9 +64,8 @@ gst_meta_v4l2_get_info (void) meta_info = gst_meta_register ("GstMetaV4l2", "GstMetaV4l2", sizeof (GstMetaV4l2), (GstMetaInitFunction) NULL, - (GstMetaFreeFunction) NULL, (GstMetaCopyFunction) NULL, - (GstMetaSubFunction) NULL, (GstMetaSerializeFunction) NULL, - (GstMetaDeserializeFunction) NULL); + (GstMetaFreeFunction) NULL, (GstMetaTransformFunction) NULL, + (GstMetaSerializeFunction) NULL, (GstMetaDeserializeFunction) NULL); } return meta_info; } diff --git a/sys/ximage/ximageutil.c b/sys/ximage/ximageutil.c index c425162..7138681 100644 --- a/sys/ximage/ximageutil.c +++ b/sys/ximage/ximageutil.c @@ -32,9 +32,8 @@ gst_meta_ximage_get_info (void) meta_ximage_info = gst_meta_register ("GstMetaXImageSrc", "GstMetaXImageSrc", sizeof (GstMetaXImage), (GstMetaInitFunction) NULL, - (GstMetaFreeFunction) NULL, (GstMetaCopyFunction) NULL, - (GstMetaSubFunction) NULL, (GstMetaSerializeFunction) NULL, - (GstMetaDeserializeFunction) NULL); + (GstMetaFreeFunction) NULL, (GstMetaTransformFunction) NULL, + (GstMetaSerializeFunction) NULL, (GstMetaDeserializeFunction) NULL); } return meta_ximage_info; } -- 2.7.4