- Apr 06, 2021
-
-
Signed-off-by:
Pierre Lamot <pierre@videolabs.io>
-
* PlayerControlbarModel class is repurposed and renamed to "player_controlbar_model.cpp/hpp". PlayerControlbarModel is now a supermodel that instantiates and handles three ControlListModel for its 'left', 'center', and 'right' properties. ControlListModel is the stripped down version of the old PlayerControlbarModel. * ControlbarProfileModel is created during MainInterface initialization. ControlbarProfileModel creates and handles toolbar/controlbar profiles that act as a wrapper of PlayerControlbarModel instances. Saving and loading from settings happens in ControlbarProfileModel. * Default control layout is now defined in ControlbarProfile class. ControlbarProfile injects the default configuration during construction. * Default profiles are now defined in ControlbarProfileModel class. ControlbarProfileModel class automatically matches defaults based on player identifiers. Signed-off-by:
Pierre Lamot <pierre@videolabs.io>
-
Signed-off-by:
Pierre Lamot <pierre@videolabs.io>
-
the hybrid (native dialog + qml context) toolbar editor dialog has a lot of drawbacks and causes many problems. A proper QML dialog for the toolbar editor is going to replace the hybrid (old) one. Signed-off-by:
Pierre Lamot <pierre@videolabs.io>
-
Signed-off-by:
Pierre Lamot <pierre@videolabs.io>
-
it's going to be re enabled after the qml toolbar editor dialog transition is done Signed-off-by:
Pierre Lamot <pierre@videolabs.io>
-
Jean-Baptiste Kempf authored
Close #19925
-
Fixes #20498 To avoid detection of erratic movements along the lines introduce allowance zone for each axis. Angle determines how close to axis angle delta is. For horizontal events it is set to 30 degrees (15 for each side). For vertical events angle is 53 degrees (30 * 16/9). It is a little wider since touchpads are asymmetrical. Signed-off-by:
Pierre Lamot <pierre@videolabs.io>
-
- Apr 05, 2021
-
-
David authored
For all views shown in simple preferences, all UI elements with intrinsic sizes (e.g. labels / checkboxes) need a vertical content hugging priority of 750 (bigger than 500) because those views should adapt its height based on the content.
-
Jean-Baptiste Kempf authored
Close #21463
-
- Apr 04, 2021
-
-
Rémi Denis-Courmont authored
-
- Apr 03, 2021
-
-
Pierre Ynard authored
-
Pierre Ynard authored
-
Pierre Ynard authored
-
Pierre Ynard authored
In the past few days, YouTube has started redirecting requests for video pages to a cookie consent and preference prompt, on a whole separate page and domain; which prevents playback. We are not interested in YouTube cookies, nor in consenting to them on behalf of our users, so this just retries with cookies disabled. YouTube gets the hint and simply redirects back to the original video page. Fixes #25616
-
- Apr 02, 2021
-
-
Steve Lhomme authored
There can be warnings in the pErrBlob.
-
Steve Lhomme authored
-
Steve Lhomme authored
-
Steve Lhomme authored
ID3D11DeviceContext is a resource than should be protected in some cases. In particular the hardware decoders must not do concurrent calls. So any use of the same ID3D11DeviceContext must be protected as well. In VLC it is handled but when the ID3D11DeviceContext comes from the host app it must also to the same protection when using it outside of libvlc calls. Setting this mutex in a GUID_CONTEXT_MUTEX private data is reserved for legacy (UWP) apps.
-
Steve Lhomme authored
If the owner doesn't set the GUID_CONTEXT_MUTEX we should still have a mutex when we want to use the device with a hardware decoder. The owner of the ID3D11DeviceContext doesn't need to set the mutex if it doesn't use the ID3D11DeviceContext outside of the callbacks called by libvlc.
-
Steve Lhomme authored
-
Steve Lhomme authored
This is more flexible as it doesn't depend on a shared ID3D11DeviceContext. A NULL callback is still allowed as long as the host app does the OMSetRenderTargets on their single ID3D11RenderTargetView.
-
Steve Lhomme authored
The documentation already allowed it.
-
David authored
Freely choosing an increased size for fullscreen panel control buttons has been an error prone drag and drop operation which was hard to perform right. Compiled with the latest macOS SDKs, this method does not work at all anymore. As an alternative, this patch implements two size configurations (large and normal), which additionally increased font size. close #20720
-
- Apr 01, 2021
-
-
Thomas Guillem authored
Since the variable is set just after.
-
Since c34d719f, all files passed by the option `input-slave` were set as audio tracks no matter what. Theses changes force subtitle demux on files with a known spu extension. Fixes #25549 Signed-off-by:
Thomas Guillem <thomas@gllm.fr>
-
- Mar 31, 2021
-
-
David authored
Fix issue in MRL generation for multiple audio / video input devices. Now updates the correct MRL in case the device selection changed.
-
- Mar 30, 2021
-
-
François Cartegnie authored
read data could be infinite (stream) refs #25562
-
Alexandre Janniaux authored
GBM platform allows to provide an EGL context even without display server. Co-authored-by:
Romain Vimont <rom1v@videolabs.io>
-
A module egl_display must only provide EGL displays where eglTerminate() can be called, even if other modules are using EGL (typically because it is internally refcounted). This is always the case on Android, so egl_display was initially only enabled on Android: https://android.googlesource.com/platform/frameworks/native/+/master/opengl/libs/EGL/egl_display.cpp But this may also be the case on other platforms which support EGL_KHR_display_reference: https://www.khronos.org/registry/EGL/extensions/KHR/EGL_KHR_display_reference.txt Co-authored-by:
Alexandre Janniaux <ajanni@videolabs.io> Signed-off-by:
Alexandre Janniaux <ajanni@videolabs.io>
-
Alexandre Janniaux authored
If the EGL extension EGL_KHR_surfaceless_context is available, create a surfaceless context. Co-authored-by:
Romain Vimont <rom1v@videolabs.io>
-
The filter egl_pbuffer was initially enabled only for Android, because the default display is always internally refcounted. Now that the display is managed separately, egl_pbuffer may be enabled as soon as OpenGL and EGL are available. Signed-off-by:
Alexandre Janniaux <ajanni@videolabs.io>
-
Add a default EGL display module which just calls eglGetDisplay(EGL_DEFAULT_DISPLAY). Signed-off-by:
Alexandre Janniaux <ajanni@videolabs.io>
-
Add a new module type "egl display" to open an EGL display. Signed-off-by:
Alexandre Janniaux <ajanni@videolabs.io>
-
The filter egl_pbuffer does not depend on LIBM. Signed-off-by:
Alexandre Janniaux <ajanni@videolabs.io>
-
- Mar 29, 2021
-
-
Tristan Matthews authored
-
François Cartegnie authored
-
François Cartegnie authored
refs #22423
-
This patch fixes the issue of wrongly positioned controls that happened in two or more conditions: 1) Interface scale factor is changed 2) ButtonsLayout model is changed (ToolbarEditor is used to change the player controlbar configuration) Signed-off-by:
Pierre Lamot <pierre@videolabs.io>
-