meta: fix ROI meta getter
This commit is contained in:
parent
432b092247
commit
b0eb99baaa
@ -629,7 +629,7 @@ gst_buffer_get_video_region_of_interest_meta_id (GstBuffer * buffer, gint id)
|
|||||||
{
|
{
|
||||||
gpointer state = NULL;
|
gpointer state = NULL;
|
||||||
GstMeta *meta;
|
GstMeta *meta;
|
||||||
const GstMetaInfo *info = GST_VIDEO_META_INFO;
|
const GstMetaInfo *info = GST_VIDEO_REGION_OF_INTEREST_META_INFO;
|
||||||
|
|
||||||
while ((meta = gst_buffer_iterate_meta (buffer, &state))) {
|
while ((meta = gst_buffer_iterate_meta (buffer, &state))) {
|
||||||
if (meta->info->api == info->api) {
|
if (meta->info->api == info->api) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user