Thomas Guillem
7c1da60ca1
keychain: fix errSecNoSuchAttr on iOS
7 years ago
Thomas Guillem
23cc81c8e0
keychain: create secretData only when needed
7 years ago
Thomas Guillem
428e88a1c8
keychain: fix leak
7 years ago
Thomas Guillem
7ea67ca1f0
keychain: store the authtype
Needed for the test_modules_keystore success.
7 years ago
Thomas Guillem
0a2a649670
keychain: store the realm
Used for SMB domains.
Needed for the test_modules_keystore success.
7 years ago
Thomas Guillem
7902e12f2e
keychain: always use values from the keychain
Specially since the keychain could store more informations that the search
query.
Needed for the test_modules_keystore success.
7 years ago
Thomas Guillem
e61115077f
keychain: refactor
7 years ago
Thomas Guillem
f3ec50edbb
keychain: fix protocols not recognized
It is mandatory for smb:// for example.
Needed for the test_modules_keystore success.
7 years ago
Thomas Guillem
d5275d408c
keychain: accountName can be NULL
7 years ago
Steve Lhomme
74fdb7c0cc
filter_chain: reindent after code cleaning
No functional change.
7 years ago
Steve Lhomme
4f4d0487b1
filter_chain: removing always NULL parameters in internal calls
7 years ago
Steve Lhomme
5f29d983b2
filter_chain: remove always NULL parameter from AppendFilter
7 years ago
Steve Lhomme
c854beb047
filter_chain: set NULL on AppendFilter when value is implied by previous call
Either because Reset() set the same input value or the we're using the same
value set by the previous AppendXXX().
7 years ago
Steve Lhomme
46b94a5d6c
filter_chain: remove always NULL parameter from AppendConverter
7 years ago
Steve Lhomme
6a3eb7adad
filter_chain: set NULL on AppendConverter when value is implied by previous call
Either because Reset() set the same input value or the we're using the same
value set by the previous AppendXXX().
7 years ago
Steve Lhomme
6bf352ea17
video_output: "reset" the the blender converter before adding a filter
Needed for the code cleaning in the next patches.
7 years ago
Steve Lhomme
7ebacd17ab
filter_chain: no need to reset the fmt_out each time a filter is added
The last output format is always the format of the last filter. It doesn't
matter if it was allowed to change the format or not. It's either the filter
added or the "chain" filter added to compensate for the format change (should
be adjusted in push mode)
This is how filter_chain_GetFmtOut() is documented "last output format of the
last element in the filter chain" and how it's used.
If there's no filter yet, the output format is the one used to initialize the
filter chain (via filter_chain_Reset).
7 years ago
Steve Lhomme
12935f8a36
filter_chain: clarify how allowing output format chain works
The filter chain itself doesn't automatically adapt the output format to the
requested output format, which is good for push.
Use the local variable set on the whole chain rather than the value set on each
filter.
7 years ago
Steve Lhomme
c804015071
video output: rename the filters input format with a less generic name
Similar to the input video context variable.
7 years ago
Steve Lhomme
6c74174514
video output: only update the current format if filters were added in the chain
7 years ago
Rémi Denis-Courmont
6a24a28d8d
vout display: fix/improve Doxygen (partially)
7 years ago
Rémi Denis-Courmont
a612d792b3
vout: fix/improve vout_display_cfg_t documentation
7 years ago
Felix Paul Kühne
20bf0e212f
macosx: add support for Apple Music
This matches the previous iTunes support.
7 years ago
Johan Gunnarsson
eb06ce12b5
codec/telx: Fix warning
Make sure the dbg macro can't compile down to nothing, so it can be used in
if statements without braces.
codec/telx.c: In function ‘Decode’:
codec/telx.c:686:81: warning: suggest braces around empty body in an ‘if’
statement [-Wempty-body]
(long int)(p_sys->prev_pts+1500000)));
^
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
7 years ago
Konstantin Pavlov
2e9fa5b176
CI: Dropped explicit runner tag for docker-based builds
Shared runners will pick up the builds now
7 years ago
Felix Paul Kühne
0a53308907
macosx/build: add flag to disable debug mode
7 years ago
Felix Paul Kühne
13e18f3182
macosx: fix pointer mismatch
A instance of VLCOpenBlockDeviceDescription was casted to NSDictionary leading to a runtime exception (#23091 ).
This patch addresses the problem and prevents future issues by setting the class on the arrays.
7 years ago
Steve Lhomme
7322ccff39
display: fix warning in non-win32 builds
7 years ago
Zhao Zhili
55a3b5583c
audiotrack: check vlc_cond_timedwait return value against 0
Documentation of the API doesn't guarantee any particular error code.
Suggested by Thomas Guillem
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
7 years ago
Thomas Guillem
9fadde1bd4
lib: player: stop_async: return a status
In order to notify the user if he should wait for the stopped event.
And improve the libvlc_media_player_stop_async documentation.
7 years ago
Thomas Guillem
44a43c2958
player: stop: return a status
In order to notify the user if he should wait for the stopped event.
7 years ago
Alexandre Janniaux
5307e228aa
wayland: shm: fix uninitialized variable before use
In case of error, the registry variable is clobbered by the goto from
error handling and is freed without a correct value.
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
7 years ago
Alexandre Janniaux
608f45c97b
test: hxxx: fix potentially uninitialized variable warnings
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
7 years ago
Sean McGovern
592fe99580
livehttp: ceil() requires linking with libm
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
7 years ago
Zhao Zhili
a9309979ae
android/thread: fix compilation
strerror_r can be GNU-specific on Android.
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
7 years ago
Zhao Zhili
b4b5b36898
android/specific: add missing errno.h include
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
7 years ago
Thomas Guillem
731510839d
bluray: check for getmntent_r symbol
getmntent_r is not necessarily available when the mntent.h header is present
(cf. Android).
7 years ago
Steve Lhomme
4f11b28828
video output: use sys instead of vout->p when available
7 years ago
Steve Lhomme
4ca3b6391e
video_output: display: don't pass a video format to the loader
It's part of vd that is already passed to the module loader.
7 years ago
Steve Lhomme
a75a8ba4cd
video context: don't create video contexts with no type
We keep VLC_VIDEO_CONTEXT_NONE to 0 to make sure some context are not created
accidentally with a type value of 0.
7 years ago
Johan Gunnarsson
0e5178f721
objects: Add stream_{directory, extractor}_t to C++ VLC_OBJECT()
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
7 years ago
Steve Lhomme
1857d65089
qt: soutchain: make soutchain copyable
Qt requires container elements to be copyable, https://bugreports.qt.io/browse/QTBUG-54685
but class with const members can't be copy-assignable. Remove the const values
so that we can copy SoutChain.
This patch fix the compilation with Clang 9.
7 years ago
Steve Lhomme
d43d77f307
lpcm: remove stray whitespace
7 years ago
Steve Lhomme
67e27d442b
transcode: remove unused parameter
7 years ago
Marvin Scholz
a6754eb7d0
CI: Package macOS artifacts
This is needed so that the built contribs are actually packaged.
7 years ago
Steve Lhomme
011a60e16f
avcodec: vdpau: do not attempt to decode if we don't have enough surfaces
We try to get the minimum amount that is guaranteed to work. We don't want to
fail in the middle of playback because we actually did not have enough surfaces.
7 years ago
Steve Lhomme
7905bf1eba
avcodec: vdpau: do not rely on avctx->refs for VP9
It gives 1 when it should be 8. Other codecs seem to be OK.
7 years ago
Steve Lhomme
bcdb8a71d8
video_output: remove unused vout_Cancel
7 years ago
Steve Lhomme
90d1eb79b6
decoder: remove vout_Cancel calls
We don't use the display pool (vout_GetPicture) anymore.
7 years ago
Steve Lhomme
ad615ce04e
deinterlace: fix field duration based on the source frame rate
The frame rate is a field per second. To get a duration we divide seconds by
the number of fields. This what the vlc_tick_from_samples() call does. But we
divide by 0 without this fix.
7 years ago