Quentin Chateau
c6aa2a0b0a
nvdec: fix typo
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
7 years ago
David Fuhrmann
723e88f70c
auhal: Add debug message to check what audio device is restored
7 years ago
David Fuhrmann
a8176a8353
auhal: Use encoded audio output if this was stored before
Encoded output is stored in VLCs settings by adding the
AOUT_VAR_SPDIF_FLAG flag to the integer. Make sure this
configuration is also picked up again after restart, if it is stored
and actually available.
Credits: Andrey Y.
fixes #21170
7 years ago
Rémi Denis-Courmont
757cd5348b
decklink: use vlc::threads for global lock
7 years ago
Rémi Denis-Courmont
6f2fca8b4c
upnp: use vlc::threads
7 years ago
Rémi Denis-Courmont
c95b99db98
mkv/dispatcher: use vlc::threads
7 years ago
Rémi Denis-Courmont
6083d3f103
skins: remove useless mutex
No need for a mutex to read/write a single value.
7 years ago
Rémi Denis-Courmont
d0df73739c
qt/main: use vlc::threads
7 years ago
Rémi Denis-Courmont
0d8ef78058
qt/singleton: use vlc::threads
7 years ago
Rémi Denis-Courmont
0922595b43
taglib: use vlc::threads
7 years ago
Francois Cartegnie
4616f0780f
demux: adaptive: fix regression with unknown/probed formats
For HLS, format is now probed in demux when unknown, but it
can still change before the demuxer starts due to getMimeType
ref #24237
7 years ago
Rémi Denis-Courmont
2e7854a624
vnc: use a semaphore instead of cancellation
7 years ago
Rémi Denis-Courmont
7f19be769c
mms: use semaphore rather than cancellation
7 years ago
Rémi Denis-Courmont
6d324addef
thread: remove vlc_sem_destroy()
This has become a useless no-op on all platforms.
7 years ago
Marvin Scholz
b1cc5951b7
opengl: Fix sub renderer shaders for non OpenGL ES
Fixes a regression causing failure to compile these shaders on macOS,
introduced in 7b37967062
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
7 years ago
Steve Lhomme
f2fe1239af
direct3d9: rename the decoder device to "dxva2"
This easier to set by users than "d3d9-device".
It also matches the name better since it can also be used with OpenGL.
7 years ago
Steve Lhomme
ef6e16c80c
direct3d11: rename the decoder device to "d3d11"
This easier to set by users than "d3d11-device".
7 years ago
Steve Lhomme
84e470eae9
nvdec: rename the decoder device to "nvdec"
This is easier to set by users than "nvdec-device".
7 years ago
Steve Lhomme
54ed11669d
mmal: rename the decoder device to "mmal"
This easier to set by users than "mmal-device".
7 years ago
Pierre Lamot
b30d2ba076
qml: avoid focus loss when localMenuGroup gets hidden in the banner
this can happen when navigating back from album to video view
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago
Pierre Lamot
51683d6a6d
qml: factorise navigation bindings
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago
Pierre Lamot
48343649be
qml: link to NetworkView when ml is empty
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago
Pierre Lamot
f6bfc577f9
qml: factorise medialibrary empty label
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago
Pierre Lamot
2c539bcbbe
qml: split the music genre view
the genre view can now either load the regular view presenting the genres
or load a specialized album view for a defined genre
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago
Pierre Lamot
3c9a6923f8
qml: add title in music genre view
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago
Pierre Lamot
fd7ab4de6c
qt: track count of MusicGenre model was missing
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago
Pierre Lamot
79090a4aae
qml: handle cancel action using NavigableFocusScope callback in player
this avoids double handling of the key
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago
Pierre Lamot
a35ce1a4a7
qml: cancel closes the playlist and restore focus in medialib view
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago
Pierre Lamot
277f955a39
qml: reset viewProperties when changing view
when changing view, viewProperties from the previous view may be applied
on the new view.
for instance, when navigating from genre > album(filtered with genre) >
tracks the track list ended up filtered by the genre of the previous view
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago
Pierre Lamot
87706ebbdc
qml: don't layout the expandGridView before it has a proper size
this avoids using 0 width/height in our calculus
Initialization will make the initial current index visible.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago
Pierre Lamot
ae90c0846b
qml: restore the focus on the last artist when navigating back to the artist view
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago
Pierre Lamot
f0ac4c4178
qml: restore the focus on the last video when navigating back to the video view
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago
Pierre Lamot
fb27a10cda
qml: restore the focus on the last album when navigating back to the album view
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago
Pierre Lamot
2e4267681c
qml: add a helper method to clear the selection in SelectableDelegateModel
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago
Pierre Lamot
b906b06dfa
qml: add a positionViewAtIndex method in ExpandGridView
It provides the same functionnality as positionViewAtIndex from
QtQuick GridView/ListView. mode argument is ignored at the moment
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago
Pierre Lamot
764a076ef1
qml: expose positionViewAtIndex in KeyNavigable{List|Grid}View
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago
Pierre Lamot
46f8f5e6b6
qml: set the default focus on the action buttons in the music album expand view
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago
Pierre Lamot
d381b92ef8
qml: distinct the "album" view from the album component used in other view
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago
Pierre Lamot
2b11265356
qml: use history calls without the Go parameter as this is the default now
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago
Pierre Lamot
2512ba6d13
qml: history.push changes view by default
This is the behavior currently used in every calls.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago
Pierre Lamot
e627f54bf7
qml: allow to update the current history item
this may be used for instance to save the current view position,
like #fragment in url links
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago
Jean-Baptiste Kempf
fb6d59c9c2
d3d9: fix compilation after opengl rework
7 years ago
Jean-Baptiste Kempf
65dbc07833
glwin32: fix compilation after opengl rework
7 years ago
Romain Vimont
91473ab80a
opengl: reorder renderers initialization
Initialize the main renderer, then the sub renderer.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago
Romain Vimont
91791be63d
opengl: implement renderer
Extract the main rendering into a separate component.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago
Romain Vimont
47a6eecc05
opengl: move renderer clean up to DeleteRenderer()
Some renderer clean up was done after the call to DeleteRenderer().
Move it to DeleteRenderer to simplify further refactorings.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago
Romain Vimont
42cb484766
opengl: move renderer init to CreateRenderer()
Some renderer initialization was done after the call to
CreateRenderer(). Move it to CreateRenderer to simplify further
refactorings.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago
Romain Vimont
523bf99d99
opengl: refactor renderer creation and destruction
Replace opengl_init_program() and opengl_deinit_program() by
CreateRenderer() and DeleteRenderer(), independant of
vout_display_opengl_t.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago
Romain Vimont
5ebbba08f1
opengl: use vlc_gl_renderer when possible
Use struct vlc_gl_renderer directly instead of vout_display_opengl_t
when possible.
This paves the way to extract the renderer into a separate component.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago
Romain Vimont
f5a0f3e1ce
opengl: rename "texture" to "textures"
The field is an array of textures.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago