- Apr 06, 2021
-
-
Signed-off-by:
Pierre Lamot <pierre@videolabs.io>
-
Instead of using QString as the controlbar profile model player identifier, use enum (int). This patch constitutes the second step of the integration of the new QML toolbar editor and the refactored profile handling. Before this patch, Players had to be referred again in the toolbar editor which is bad for maintenance. Now, when a player is added to the PlayerIdentifier enum, Players should refer to the enum for their identifiers. Signed-off-by:
Pierre Lamot <pierre@videolabs.io>
-
Signed-off-by:
Pierre Lamot <pierre@videolabs.io>
-
Signed-off-by:
Pierre Lamot <pierre@videolabs.io>
-
Signed-off-by:
Pierre Lamot <pierre@videolabs.io>
-
Signed-off-by:
Pierre Lamot <pierre@videolabs.io>
-
Signed-off-by:
Pierre Lamot <pierre@videolabs.io>
-
This patch brings a QML dialog to replace the removed dialog. It should also fix the dialog looking weird issue #25575 / #25575 Signed-off-by:
Pierre Lamot <pierre@videolabs.io>
-
Signed-off-by:
Pierre Lamot <pierre@videolabs.io>
-
Signed-off-by:
Pierre Lamot <pierre@videolabs.io>
-
WindowDialog is a wrapper of QtQuick.Window which provides a simple base for qml based dialogs. It is intended to be an alternative to Qt.labs.platform Dialog and Qt Quick Controls 2 Dialog. Signed-off-by:
Pierre Lamot <pierre@videolabs.io>
-
Signed-off-by:
Pierre Lamot <pierre@videolabs.io>
-
Signed-off-by:
Pierre Lamot <pierre@videolabs.io>
-
override background component with transparent Item { } so that the background color from the parent rectangle fills in the gaps. Signed-off-by:
Pierre Lamot <pierre@videolabs.io>
-
This static function provides a simple way to prompt the user and ask for text input. Signed-off-by:
Pierre Lamot <pierre@videolabs.io>
-
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>
-
David authored
This allows to toggle between remaining and elapsed time at any time, also while the media is paused. Close #25433
-
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
-