mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
video-converter: skip lines we don't need
Make sure to skip unused lines instead of doing a useless horizontal resampling.
This commit is contained in:
parent
f85212ed4b
commit
750909abce
1 changed files with 2 additions and 0 deletions
|
@ -3068,6 +3068,8 @@ convert_scale_planes (GstVideoConverter * convert,
|
|||
|
||||
gst_video_scaler_get_coeff (v_scaler, i, &in, &n_taps);
|
||||
|
||||
while (tmp_in < in)
|
||||
tmp_in++;
|
||||
while (tmp_in < in + n_taps) {
|
||||
s = FRAME_GET_PLANE_LINE (src, k, tmp_in);
|
||||
gst_video_scaler_horizontal (h_scaler, format,
|
||||
|
|
Loading…
Reference in a new issue