mirror of
https://github.com/mpv-player/mpv
synced 2025-02-05 14:42:24 +00:00
aspect: don't override src_start/src_end
Rely on caller to set them.
This commit is contained in:
parent
8920ee5944
commit
6329f742a6
@ -86,8 +86,6 @@ static void src_dst_split_scaling(int src_size, int dst_size,
|
||||
scaled_src_size = MPMAX(scaled_src_size, 1);
|
||||
align = (align + 1) / 2;
|
||||
|
||||
*src_start = 0;
|
||||
*src_end = src_size;
|
||||
*dst_start = (dst_size - scaled_src_size) * align + pan * dst_size;
|
||||
*dst_end = *dst_start + scaled_src_size;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user