projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2102fdc
)
video: fix example code in gst_video_frame_map() docs
author
Tim-Philipp Müller
<tim@centricular.com>
Sat, 2 Apr 2016 14:19:44 +0000
(15:19 +0100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 2 Apr 2016 14:19:44 +0000
(15:19 +0100)
GST_VIDEO_FRAME_PLANE_PSTRIDE() does not exist.
https://bugzilla.gnome.org/show_bug.cgi?id=764414
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
66e1fa9
..
cc5073c
100644
(file)
--- a/
gst-libs/gst/video/video-frame.c
+++ b/
gst-libs/gst/video/video-frame.c
@@
-202,7
+202,7
@@
invalid_size:
* if (gst_video_frame_map (&vframe, video_info, video_buffer)) {
* guint8 *pixels = GST_VIDEO_FRAME_PLANE_DATA (vframe, 0);
* guint stride = GST_VIDEO_FRAME_PLANE_STRIDE (vframe, 0);
- * guint pixel_stride = GST_VIDEO_FRAME_
PLANE
_PSTRIDE (vframe, 0);
+ * guint pixel_stride = GST_VIDEO_FRAME_
COMP
_PSTRIDE (vframe, 0);
*
* for (h = 0; h < height; ++h) {
* for (w = 0; w < width; ++w) {