• Steve Lhomme's avatar
    video_output: reinit the vout if the crop changes · 44b083a0
    Steve Lhomme authored
    If you play a file that has the same decoder size but different display size
    consecutively, the decoder picture pool needs to be updated so that the
    i_visible_lines of each picture plane matches the new picture format.
    
    The easiest way is to reinit the vout. Another way would be to update the
    pictures in each picture pool dynamically. It cannot just be handled on the
    vout side as some decoders and filters rely on i_visible/offset to copy
    only the required data (for example lavc_CopyPicture).
    
    Fixes #19268
    Signed-off-by: Thomas Guillem's avatarThomas Guillem <thomas@gllm.fr>
    (cherry picked from commit 17efaa77)
    Signed-off-by: Thomas Guillem's avatarThomas Guillem <thomas@gllm.fr>
    44b083a0
Name
Last commit
Last update
..
android Loading commit data...
audio_output Loading commit data...
config Loading commit data...
darwin Loading commit data...
extras Loading commit data...
input Loading commit data...
interface Loading commit data...
linux Loading commit data...
misc Loading commit data...
modules Loading commit data...
network Loading commit data...
os2 Loading commit data...
playlist Loading commit data...
posix Loading commit data...
stream_output Loading commit data...
test Loading commit data...
text Loading commit data...
video_output Loading commit data...
win32 Loading commit data...
.gitignore Loading commit data...
Makefile.am Loading commit data...
check_headers Loading commit data...
check_symbols Loading commit data...
libvlc-module.c Loading commit data...
libvlc.c Loading commit data...
libvlc.h Loading commit data...
libvlc_win32_rc.rc.in Loading commit data...
libvlccore.sym Loading commit data...
missing.c Loading commit data...
version.c Loading commit data...
vlc-plugin.pc.in Loading commit data...