mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
video-frame: fix tiled pixel stride
Pixel stride is per component, not per plane. We get the tile mode from the pixelstride of the TILE component. https://bugzilla.gnome.org/show_bug.cgi?id=707361
This commit is contained in:
parent
61cbdf379b
commit
53605e35f4
1 changed files with 1 additions and 1 deletions
|
@ -271,7 +271,7 @@ gst_video_frame_copy_plane (GstVideoFrame * dest, const GstVideoFrame * src,
|
|||
|
||||
tile_size = 1 << ts;
|
||||
|
||||
mode = finfo->pixel_stride[tidx];
|
||||
mode = finfo->pixel_stride[GST_VIDEO_COMP_TILEINFO];
|
||||
|
||||
sx_tiles = sinfo->stride[plane] >> ws;
|
||||
sy_tiles = sinfo->stride[tidx];
|
||||
|
|
Loading…
Reference in a new issue