Commit 8ab19ba9 authored by Arnaud Vrac's avatar Arnaud Vrac Committed by Sebastian Dröge
Browse files

video-frame: fix invalid plane id on video frame mapping error

parent 28537dc7
......@@ -126,10 +126,8 @@ no_metadata:
GST_ERROR ("failed to map video frame plane %d", i);
do {
while (--i >= 0)
gst_video_meta_unmap (meta, i, &frame->map[i]);
} while (i > 0);
return FALSE;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment