Commit 53605e35 authored by Nicolas Dufresne's avatar Nicolas Dufresne Committed by Nicolas Dufresne
Browse files

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.
parent 61cbdf37
......@@ -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];
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment