Commit Graph

56553 Commits

Author SHA1 Message Date
Steve Lhomme b469857dec vlc_threads: remove the thread priority when creating a thread
It is not used in POSIX systems. On other system it probably don't make a
difference anymore, only Windows has actual useful values for
VLC_THREAD_PRIORITY_XXX. The synchronization is more important than having some
threads called more often than others.
2022-04-27 08:16:28 +00:00
Tristan Matthews 475148937d nvdec: guard against missing CUDA definition 2022-04-26 13:27:34 +00:00
Benjamin Arnaud 803ba0d8ed qml/RendererButton: Update menu placement 2022-04-25 06:07:27 +00:00
Benjamin Arnaud 2813007e74 qml/BookmarkButton: Update menu placement 2022-04-25 06:07:27 +00:00
Benjamin Arnaud 0230075596 qt/QmlRendererMenu: Add the 'above' implementation 2022-04-25 06:07:27 +00:00
Benjamin Arnaud b0eef8d66e qt/QmlBookmarkMenu: Add the 'above' implementation 2022-04-25 06:07:27 +00:00
Benjamin Arnaud 7ca5c99bb1 qt/qml_menu_wrapper: Create QmlMenuPositioner 2022-04-25 06:07:27 +00:00
Francois Cartegnie 26a7249a5c demux: ts: late reject unknown metadata packetizations 2022-04-25 05:52:52 +00:00
Francois Cartegnie 031c0ce846 demux: ts: fully parse metadata descriptor 2022-04-25 05:52:52 +00:00
Francois Cartegnie 4b4f7953b7 demux: ts: pass metadata blocks to handler pre PCR 2022-04-25 05:52:52 +00:00
Pierre Lamot 3ee0fd64f0 qt: fix out of bound in MLListcache during remove operations
the removed data are after the m_partialIndex in the old model so the partial
index should not be placed after.

fix: #26848
2022-04-24 22:32:09 +00:00
Francois Cartegnie cea941e930 demux/mux: ps: map MPEG-H 2022-04-23 13:30:17 +00:00
Francois Cartegnie 8ac99ac7d7 mux: ps: map HEVC 2022-04-23 13:30:17 +00:00
Francois Cartegnie 79ec2f0c7d mux: ps: fix mapping of AAC audio 2022-04-23 13:30:17 +00:00
Benjamin Arnaud 945095a855 qml/TeletextWidget: Disable buttons when the teletext is off 2022-04-23 11:05:12 +00:00
Benjamin Arnaud 03b1c923ac qml/TeletextWidget: Add an IntValidator and a fixed SpinBox width 2022-04-23 11:05:12 +00:00
Benjamin Arnaud 135cc6678f qml/SpinBoxExt: Add Navigation support 2022-04-23 11:05:12 +00:00
Benjamin Arnaud 7cb89f2ba4 qt/interface_window_handler: Make the visualFocus condition generic
Previously this condition was only working for QQuickControl(s). But we might want it
to work with a non Control component, like a TextInput. In that case we declare
a 'visualFocus' property manually and bind it to a parent Control 'visualFocus' property.
2022-04-23 11:05:12 +00:00
Francois Cartegnie 29b742d3a7 sout: udp: fix segfault parsing config chain
ex: --sout="{foo}"
2022-04-23 08:13:03 +00:00
Prince Gupta d2e1a77ec6 qt: fix blank thumbnails 2022-04-22 19:55:03 +00:00
Thomas Guillem e6b0c071b6 smb2: don't seek past INT64_MAX 2022-04-22 15:39:06 +00:00
Thomas Guillem 9646722d61 smb2: fix lseek return type
It was causing seek error when seeking past INT_MAX

Regression from c23709134c
2022-04-22 15:39:06 +00:00
Thomas Guillem d70173fc2a smb2: rename logged seek function name 2022-04-22 15:39:06 +00:00
Francois Cartegnie 54a136d93b vdpau: fix deinterlacing regression
refs #26832
reverts 0af664b0
2022-04-22 14:01:47 +00:00
Prince Gupta 1df9a35474 qml: avoid potential invalid header access in ExpandGridView 2022-04-22 13:17:26 +00:00
Prince Gupta 46efa62130 qml: fix header positioning with scaling in ExpandGridView
use bindings on position of header in ExpandGridView
2022-04-22 13:17:26 +00:00
Prince Gupta 7c2f7ee686 qml: fix grid item scaling 2022-04-22 13:17:26 +00:00
Prince Gupta 01476d5c4e qml: fix warning 2022-04-22 09:40:56 +00:00
Prince Gupta 06e156b01c qml: don't show Video subtitle in video view when no video is available 2022-04-22 09:40:56 +00:00
Prince Gupta f98a69c5e4 qml: fix padding in VideoDisplayRecentVideos
fixup d8f6e98833
2022-04-22 09:40:56 +00:00
Pierre Lamot 69e22f2906 qml: enable global shortcuts in detached playlist 2022-04-22 07:19:08 +00:00
Pierre Lamot a99c67541b qml: disable global shortcuts when the user has the active focus on a textedit field
this allows to prioritize common shortcuts (Ctrl+C/Ctrl+V for instance) over vlc
custom shortcuts (resp. open media/open url). ideally we would use qt mechanism
onShortcutOverride but this is buggy before 5.13

fix: #26150
2022-04-22 07:19:08 +00:00
Pierre Lamot 99f697cf7c qml: add a property do enable/disable global shortcuts 2022-04-22 07:19:08 +00:00
Pierre Lamot 3fb8366ef2 qml: make the shortcut opening modal window WindowShortcut
the shortcut should open the dialog only when triggered from the main view. The
other shortcuts are kept as application shortcut as triggering the shortcut will
close the associated dialog
2022-04-22 07:19:08 +00:00
Thomas Guillem 205963ad09 smb2: fix anonymous login
Not sure when this regression happened on the libsmb2 side.
But setting the password to an empty string do enable anonymous login
now.
2022-04-21 15:40:48 +00:00
Thomas Guillem 80dd05f921 input_item: category: use a vlc_list
Instead of the legacy array.
2022-04-21 11:59:15 +00:00
Thomas Guillem 960ef3f8ef smb2: destroy the context in case or errors from smb2_generic_cb
Errors can also be reported via generic cbs, that will cause the
vlc_smb2_mainloop to abort. In that case, we should destroy the smb2
context to fix the issue mentioned by 924c951518
2022-04-20 12:11:47 +00:00
Thomas Guillem 5264a62539 smb2: also clear op->smb2 in case of error
op->smb2 won't be used in case of error but it is cleaner like that.
2022-04-20 12:11:47 +00:00
Thomas Guillem 0d51ab8a3e smb2: return errno directly
No changes since this function is only checked for != 0 (for now).
2022-04-20 12:11:47 +00:00
Thomas Guillem 93b55c9f53 smb2: rework error handling from smb2_service_fd 2022-04-20 12:11:47 +00:00
Thomas Guillem e9acccaca3 smb2: homogenize status and error functions 2022-04-20 12:11:47 +00:00
Thomas Guillem 38891c2dc3 aout: filters: move the vout ownership to aout_filters
So that the aout_filters keep a strong reference on the vout it created
in order to control it.
2022-04-19 09:55:04 +02:00
Prince Gupta b7b5fd49c8 qt: improve entry point formatting 2022-04-18 16:11:05 +00:00
Alexandre Janniaux 6ffd460803 libplacebo: display: fix variable type
pl-output-hint is an integer variable, and it was leading to warnings
when compiling:

    ../../modules/video_output/libplacebo/display.c: In function 'UpdateColorspaceHint':
    ../../modules/video_output/libplacebo/display.c:499:5: warning: case label value exceeds maximum value for type [-Wswitch-outside-range]
      499 |     case OUTPUT_HDR10:
          |     ^~~~
    ../../modules/video_output/libplacebo/display.c:503:5: warning: case label value exceeds maximum value for type [-Wswitch-outside-range]
      503 |     case OUTPUT_HLG:
          |     ^~~~
    ../../modules/video_output/libplacebo/display.c:477:5: warning: switch condition has boolean value [-Wswitch-bool]
      477 |     switch (var_InheritBool(vd, "pl-output-hint")) {
          |     ^~~~~~
2022-04-15 15:05:59 +00:00
Zhao Zhili 9f41f57490 avformat: demux: use avio_context_free to free AVIOContext 2022-04-15 14:41:18 +00:00
Thomas Guillem 06e361b127 dsm: fix leak
Regression from 31f97cbea3
2022-04-15 12:05:45 +00:00
Romain Vimont d6cfada7d4 opengl: use texture_rg when available
GL_RED and GL_RG are available since OpenGL 3.0 and OpenGL ES 3.0, or
via OpenGL extensions.
2022-04-15 08:43:55 +00:00
Romain Vimont 1607231e79 opengl: expose OpenGL version major
Extract version check to a separate static inline function.
2022-04-15 08:43:55 +00:00
Romain Vimont 4bc8c7c84e opengl: remove init() callback from interop
The function opengl_interop_init() is now used only by interop_sw().

Move its implementation and remove the init() callback.
2022-04-15 08:43:55 +00:00
Romain Vimont b813327e1e opengl: reorder initialization
This prepares further commits.
2022-04-15 08:43:55 +00:00