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
@ -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…
x
Reference in New Issue
Block a user