Lyndon Brown
8a88f1005c
mp4: fix null deref
This used one too many derefs, and then due to the earlier write of null
near the beginning of the function (making a null write here redundant)
there was thus a null-deref.
Regression from 0e9db4f7e6 .
4 years ago
Steve Lhomme
de3a522abb
access: dtv: define extra interfaces the same way as regular COM interfaces
We could also generate the header from an IDL
5 years ago
Steve Lhomme
d9ec4ac46b
access: dtv: rename guid_xxx variables to clsid_xxx
There are CLSID, not a random type of GUID. Test them against CLSID_NULL.
5 years ago
Steve Lhomme
8cdfe4e95e
access: dtv: use classes found in Mingw64 qedit.h
This is not a header found in regular Windows SDK so don't include it. We would
need to copy the code when the SDK doesn't have it...
5 years ago
Steve Lhomme
5bc0bf7ad7
access: dtv: don't redefine classes/UUIDs defined in tuner.h
It's available in MSVC and Mingw64 since 2015
+ remove unused & undefined UUIDs
5 years ago
Steve Lhomme
1db9790cbd
access: dtv: remove unused variables
5 years ago
Benjamin Arnaud
dcc4520cd9
qml/ControlLayout: Update keyboard navigation implementation
Our prior implementation couldn't handle a model invalidate() properly and ended up corrupting
the keyboard navigation.
5 years ago
Benjamin Arnaud
50df9c288e
qml/PlayerControlLayout: Add ControlListFilter(s) to hide unnecessary buttons
fix #26607
5 years ago
Benjamin Arnaud
026b9db3a9
qt: Create control_list_filter
5 years ago
Steve Lhomme
b5923a21d6
CI: bump the build version of UWP targets to Windows 1809/RS5
Our UCRT build already has the same version, so we should match the same value
we support. The UWP builds require UCRT.
4 years ago
Steve Lhomme
a84e2e720c
access: screen: limit the mouse to win32
The mac module shouldn't present the mouse options if it doesn't handle them.
4 years ago
Steve Lhomme
33fd050ec7
access: screen: move the screen-display-id/screen-index handling in mac code
4 years ago
Steve Lhomme
0afe4c145c
access: screen: fix code usage depending on the defines
4 years ago
Steve Lhomme
3fe7d92e6e
access: screen: move the win32 cursor blending code in the GDI code
4 years ago
Steve Lhomme
73895883a7
hw:d3d11: add a filter to turn D3D11 block into a picture
9 years ago
Steve Lhomme
9179497c52
access: add a screen graber from DXGI rather than the GDI
The DXGI code is always compiled on Windows as it's only using calls available
since Windows 7, although IDXGIOutputDuplication will not be available.
The block_t sent contains a D3D11-based picture_t that can be used without
any additional copy using the shared handle.
4 years ago
Steve Lhomme
cd62b12baa
access: split the Windows and Mac modules
4 years ago
Steve Lhomme
90ac4d167c
d3d11_fmt: allow creating pictures with shared texture
This is useful when textures come from a different Adapter/GPU or the bogus
access with GPU output.
4 years ago
Steve Lhomme
7915f5d3bf
access: screen: turn the sub-function calls into operations
Simplify the close callback which only needs to clean the screen_data_t.
4 years ago
Steve Lhomme
d13e08b02d
access: screen: set the output DTS on the proper tick
If the capture took too long we need to adjust which frame the capture belongs
to.
4 years ago
xqq
5f74392dcb
extras: raspberry: Disable libaribcaption due to weird build error
5 years ago
xqq
4aa0857123
extras: wasm: Disable libaribcaption because not supported
5 years ago
xqq
615eca1ed4
demux: ts: Remove jpn language tag for ARIB subtitles
Since ARIB subtitles used in South America are also being recognized,
they're not limited to Japanese. Remove the "jpn" tag for the moment.
5 years ago
xqq
d7082e8ba7
codec: arib: Add libaribcaption caption decoder/renderer
5 years ago
xqq
065e168e4b
contrib: libaribcaption: Add libaribcaption rules.mak
5 years ago
Rémi Denis-Courmont
98374a84f4
drm: remove unused structure member
4 years ago
Rémi Denis-Courmont
f3d03705de
drm: use vlc_fourcc_drm()
4 years ago
Rémi Denis-Courmont
15be060c60
drm: check & match the RGB masks
Do not assume that the DRM format matches the display source.
4 years ago
Rémi Denis-Courmont
9be0930763
drm: add helpers to map FourCC
This provides all known mappings between VLC and DRM pixel formats.
4 years ago
Rémi Denis-Courmont
8494807e2e
drm: do not keep VLC FourCC
This is only used during activation.
4 years ago
Rémi Denis-Courmont
3b55b7ef29
drm: remove --kms-vlc-chroma
We don't need two ways to force the pixel format, and DRM formats are
more specific (include RGB masks) than VLC's, so stick to those.
4 years ago
Rémi Denis-Courmont
c44bf904fd
drm: inline trivial function
4 years ago
Rémi Denis-Courmont
a4e680666b
drm: move display.c to own directory
4 years ago
Rémi Denis-Courmont
10c1255662
bluray: fix typo, big endian support
4 years ago
Steve Lhomme
4acd34bce8
contrib: test pthread availability for Windows even without mingw-w64
If anyone has a pthread with a different Windows SDK it should work.
It will also avoid bogus pthread.h missing reports when mingw-w64 is not
detected properly. HAVE_WINPTHREAD is not checked and assumed to be
available.
4 years ago
Prince Gupta
9cf9bd61bd
qml: select index on context button click in TableView
this way it mirrors the behaviour with GridViews
4 years ago
Prince Gupta
93f1b08a68
qml/VideoAll: fix context menu popup pos in list mode
4 years ago
Prince Gupta
bb1053f7f1
qml/TableView: fix context button width
4 years ago
Juliane de Sartiges
92db822f89
core: static initializer for refcount
4 years ago
Lyndon Brown
19d23dbb67
vpx: switch mapping of option values to match vpx defines
This fixes the bad option default for this value. The default being
`VPX_DL_GOOD_QUALITY`, which is defined as `1000000` not `0` as seemed to be
the author's assumption, did not map to the specified range of 0-2 and thus
was getting clamped to 2, corresponding to 'best' quality rather than 'good'
quality.
It was requested in review to map the option values to match the vpx defines
rather than simply change the default value to `0`. This necessitates
removal of the range.
5 years ago
Lyndon Brown
4097330550
vpx: add choice list for option
5 years ago
Jean-Baptiste Kempf
d9997a4fcc
Contrib: update bluray to 1.3.1
4 years ago
Lyndon Brown
5fe96d3de1
qt: add missing tooltips to add-folder media library interface buttons
4 years ago
Lyndon Brown
eab82acc13
qt: set sensible media library interface tabstops
Unspecified order was: add-button, ban-add-button, ban-list, list.
4 years ago
Lyndon Brown
1c52be7aca
qt: fix tab ordering
One widget missing from ordering.
4 years ago
Lyndon Brown
97e1731be3
qt: remove useless simple prefs layout spacer
This was placed into the same grid row+column as a spinbox and thus
achieved absolutely nothing. Presumably it was intended for the adjacent
column, however since it achieves nothing either way let's just drop it.
4 years ago
Lyndon Brown
0ceaf06141
qt: remove unnecessary layout wrapping simple prefs widget
Makes no difference at all to have this.
4 years ago
Lyndon Brown
cdee88e97d
qt: fix excessive base heights in simple prefs ui files
Viewing the ui files in Qt creator revealed excess empty space at the
bottom of some, a huge amount in the case of media-library. This ultimately
has no impact upon the final result, but I thought I'd fix it for neatness.
Note that these numbers were the product of simply dragging the canvas size
until it snapped into place.
4 years ago
Lyndon Brown
8c02064a80
qt: move simple prefs input property to ui file
Such that the effect is thus visible in Qt Creator/Designer.
The compatibility note is obviously obsolete now, but presumably we still
want this style anyway since its read-only.
4 years ago
Lyndon Brown
60bbad27d4
qt: fix margin in simple prefs
Regression from 46d15dbafc .
It seems that margins applied to a `QStackLayout` are ignored and must
instead be applied to the `QStackWidget` directly.
4 years ago