mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
video-frame: fix invalid plane id on video frame mapping error
This commit is contained in:
parent
28537dc73c
commit
8ab19ba9ca
1 changed files with 1 additions and 3 deletions
|
@ -126,10 +126,8 @@ no_metadata:
|
|||
frame_map_failed:
|
||||
{
|
||||
GST_ERROR ("failed to map video frame plane %d", i);
|
||||
do {
|
||||
i--;
|
||||
while (--i >= 0)
|
||||
gst_video_meta_unmap (meta, i, &frame->map[i]);
|
||||
} while (i > 0);
|
||||
return FALSE;
|
||||
}
|
||||
map_failed:
|
||||
|
|
Loading…
Reference in a new issue