vlc | branch: master | Hugo Beauzée-Luyssen <[email protected]> | Wed Jun 10 13:53:58 2020 +0200| [725e24491336fe4188890ef7fae096f4639ae0ba] | committer: Hugo Beauzée-Luyssen
picture_Export: Fill visible_width & visible_height This is what's used to provide the thumbnails sizes through libvlc > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=725e24491336fe4188890ef7fae096f4639ae0ba --- src/misc/picture.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/misc/picture.c b/src/misc/picture.c index f44c9041a1..e00b130325 100644 --- a/src/misc/picture.c +++ b/src/misc/picture.c @@ -534,6 +534,8 @@ int picture_Export( vlc_object_t *p_obj, fmt_out.i_height = ( i_override_height < 0 ) ? i_original_height : (unsigned)i_override_height; } + fmt_out.i_visible_width = fmt_out.i_width; + fmt_out.i_visible_height = fmt_out.i_height; /* scale if only one direction is provided */ if( fmt_out.i_height == 0 && fmt_out.i_width > 0 ) _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
