mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
theoradec: Fix chroma copying for 4:2:2
Fix mixup of height/width, causing only half the chroma lines to be copied when outputting buffers. Fixes: #610329.
This commit is contained in:
parent
54094cd9ce
commit
5685e0a4b7
1 changed files with 1 additions and 1 deletions
|
@ -1002,7 +1002,7 @@ theora_handle_image (GstTheoraDec * dec, th_ycbcr_buffer buf, GstBuffer ** out)
|
|||
|
||||
for (plane = 0; plane < 3; plane++) {
|
||||
width = gst_video_format_get_component_width (format, plane, dec->width);
|
||||
height = gst_video_format_get_component_width (format, plane, dec->height);
|
||||
height = gst_video_format_get_component_height (format, plane, dec->height);
|
||||
stride = gst_video_format_get_row_stride (format, plane, dec->width);
|
||||
|
||||
dest =
|
||||
|
|
Loading…
Reference in a new issue