<html><head></head><body>This is either incorrect or misleading. VLC always renders both SPU and video in window resolution, whether that's with software or hardware scaling.<br><br>LibVLC apps should be able to select their surface size (as they are able to select their embedded window size). But there are no reasons why that would be SPU-specific.<br><br><div class="gmail_quote">Le 25 janvier 2019 17:46:59 GMT+02:00, Steve Lhomme <robux4@ycbcr.xyz> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">When rendering in VLC the window size affects the rendering as SPU may need to<br>be rendered bigger than the video. A host app should get the same quality. If<br>it's playing a small video the SPU should still have a correct size when displayed<br>large.<br><br>So we need an API to tell libvlc the rendering area size. These patches add this<br>feature by setting the value in the vout (or in a variable if it's not created<br>yet).<br><br>It may be possible to add callbacks to "wdummy" to do the same in a more regular<br>way.<br><br>There's also a Qt sample app that renders into OpenGL.<br><br>Steve Lhomme (6):<br>  libvlc: rename libvlc_video_set_output_callbacks<br>  doc: add a Qt app to showcase the OpenGL surface callbacks<br>  libvlc: add structures to describe the display configuration<br>  WIP video_output: make vout_ControlChangeDisplaySize() public<br>  libvlc: add an API to set the display configuration<br>  WIP qtqlvlc: update the rendering size when changing the window size<br><br> doc/libvlc/QtGL/main.cpp          |  40 ++++<br> doc/libvlc/QtGL/qtvlcwidget.cpp   | 332 ++++++++++++++++++++++++++++++<br> doc/libvlc/QtGL/qtvlcwidget.h     |  47 +++++<br> doc/libvlc/sdl_opengl_player.cpp  |   4 +-<br> include/vlc/libvlc_media_player.h |  89 +++++++-<br> include/vlc_vout.h                |   4 +<br> lib/libvlc.sym                    |   3 +-<br> lib/media_player.c                |   5 +-<br> lib/video.c                       |  17 ++<br> src/libvlccore.sym                |   1 +<br> src/video_output/vout_internal.h  |   2 -<br> 11 files changed, 530 insertions(+), 14 deletions(-)<br> create mode 100644 doc/libvlc/QtGL/main.cpp<br> create mode 100644 doc/libvlc/QtGL/qtvlcwidget.cpp<br> create mode 100644 doc/libvlc/QtGL/qtvlcwidget.h<br></pre></blockquote></div><br>-- <br>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>