#include "gstwarp.h"
#include <gst/video/gstmetavideo.h>
+#include <gst/video/gstvideopool.h>
#ifndef M_PI
#define M_PI 3.14159265358979323846
GstStructure *config;
config = gst_buffer_pool_get_config (pool);
- gst_buffer_pool_config_add_meta (config, GST_META_API_VIDEO);
+ gst_buffer_pool_config_add_option (config,
+ GST_BUFFER_POOL_OPTION_META_VIDEO);
gst_buffer_pool_set_config (pool, config);
}
return TRUE;
/* just set the metadata, 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
* metadata and only activate it then. */
- gst_buffer_pool_config_add_meta (config, GST_META_API_VIDEO);
+ gst_buffer_pool_config_add_option (config, GST_BUFFER_POOL_OPTION_META_VIDEO);
gst_buffer_pool_set_config (pool, config);
/* and activate */
#include <gst/gst.h>
#include <gst/video/video.h>
#include <gst/video/gstmetavideo.h>
+#include <gst/video/gstvideopool.h>
#include <gst/rtp/gstbasertpdepayload.h>
G_BEGIN_DECLS