mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-06 10:42:22 +00:00
meta: fix ROI meta getter
This commit is contained in:
parent
432b092247
commit
b0eb99baaa
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue