From fed7cbc8d2a7255376b3923f6ee39eb1225e7df3 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 31 Oct 2011 02:24:30 +0100 Subject: [PATCH] update for meta api change --- ext/mpeg2dec/gstmpeg2dec.c | 4 ++-- ext/mpeg2dec/gstmpeg2dec.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/mpeg2dec/gstmpeg2dec.c b/ext/mpeg2dec/gstmpeg2dec.c index ee608b6422..acea968d3d 100644 --- a/ext/mpeg2dec/gstmpeg2dec.c +++ b/ext/mpeg2dec/gstmpeg2dec.c @@ -377,11 +377,11 @@ gst_mpeg2dec_negotiate_pool (GstMpeg2dec * dec, GstCaps * caps, /* just set the option, if the pool can support it we will transparently use * it through the video info API. We could also see if the pool support this * option and only activate it then. */ - gst_buffer_pool_config_add_option (config, GST_BUFFER_POOL_OPTION_META_VIDEO); + gst_buffer_pool_config_add_option (config, GST_BUFFER_POOL_OPTION_VIDEO_META); /* check if downstream supports cropping */ dec->use_cropping = - gst_query_has_allocation_meta (query, GST_META_API_VIDEO_CROP); + gst_query_has_allocation_meta (query, GST_VIDEO_CROP_META_API); gst_buffer_pool_set_config (pool, config); /* and activate */ diff --git a/ext/mpeg2dec/gstmpeg2dec.h b/ext/mpeg2dec/gstmpeg2dec.h index 5d9780cfad..5ed93f3271 100644 --- a/ext/mpeg2dec/gstmpeg2dec.h +++ b/ext/mpeg2dec/gstmpeg2dec.h @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include G_BEGIN_DECLS