mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 03:00:35 +00:00
video: fix example code in gst_video_frame_map() docs
GST_VIDEO_FRAME_PLANE_PSTRIDE() does not exist. https://bugzilla.gnome.org/show_bug.cgi?id=764414
This commit is contained in:
parent
2102fdc983
commit
9e311960cd
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue