projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28537dc
)
video-frame: fix invalid plane id on video frame mapping error
author
Arnaud Vrac
<avrac@freebox.fr>
Wed, 25 Jul 2012 23:52:25 +0000
(
01:52
+0200)
committer
Sebastian Dröge
<sebastian.droege@collabora.co.uk>
Wed, 25 Jul 2012 23:52:25 +0000
(
01:52
+0200)
gst-libs/gst/video/video-frame.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/video/video-frame.c
b/gst-libs/gst/video/video-frame.c
index
5070c67
..
5ddcd78
100644
(file)
--- a/
gst-libs/gst/video/video-frame.c
+++ b/
gst-libs/gst/video/video-frame.c
@@
-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: