Steve Lhomme
657aee0a53
subsusf: directly fill spu->p_region in ParseUSFString()
2023-10-31 07:45:29 +01:00
Steve Lhomme
e21ecd8c6a
rss: simplify usage of the spu->p_region
2023-10-31 07:45:29 +01:00
Steve Lhomme
c0f7ca33d8
marq: simplify usage of the spu->p_region
2023-10-31 07:45:29 +01:00
Steve Lhomme
4d925edcd7
substx3g: simplify usage of the spu->p_region
2023-10-31 07:45:29 +01:00
Steve Lhomme
262a572c98
kate: simplify usage of the spu->p_region
2023-10-31 07:45:29 +01:00
Steve Lhomme
ff39472c46
spudec: simplify usage of the spu->p_region
2023-10-31 07:45:29 +01:00
Steve Lhomme
b16c372652
zvbi: simplify usage of the spu->p_region
...
And no need to initialize the region position to 0.
2023-10-31 07:45:29 +01:00
Steve Lhomme
c7a4b13a82
zvbi: simplify usage of the region format
...
We only need it in one location and we don't need a copy.
2023-10-31 07:45:29 +01:00
Steve Lhomme
143e0125dd
bluray: return early if the region creation fails
2023-10-31 07:45:29 +01:00
Steve Lhomme
836a9c5061
dvdbsub: directly pass the region to encode_clut()
2023-10-31 07:45:29 +01:00
Steve Lhomme
264878147d
arib/substext: simplify text region creation
2023-10-31 07:45:19 +01:00
Steve Lhomme
ce7efde1d9
avcodec/subtitle: log the unknown subtitle type
...
If there's a text type we should be able to handle it.
2023-10-31 07:38:41 +01:00
Fatih Uzunoglu
443a2a4e84
qml: intelligently show drop indicator in medialibrary playlist
2023-10-30 13:35:52 +00:00
Steve Lhomme
55fecf7229
vout_subpictures: don't copy a whole video format when we only need the SAR
2023-10-29 14:38:00 +00:00
Steve Lhomme
21ce9e9045
aribcaption: directly pass the picture to render into
2023-10-29 14:38:00 +00:00
Steve Lhomme
b9ae92cdaf
svcdsub: directly pass the picture to render into
2023-10-29 14:38:00 +00:00
Steve Lhomme
5dcd997509
cvdsub: directly pass the picture to render into
2023-10-29 14:38:00 +00:00
Steve Lhomme
c7c6942d7a
zvbi: get the region format after the SPU is created
2023-10-29 14:38:00 +00:00
Steve Lhomme
f8ee101598
dvbsub: remove always true tests
...
We test the subpicture is not NULL before.
2023-10-29 14:38:00 +00:00
Steve Lhomme
e5d5228bee
subsusf: simplify format usage
...
The region is created with fmt_out. The region format is the same.
2023-10-29 14:38:00 +00:00
Prince Gupta
16c952f0df
qt: remove unused member variable
2023-10-29 13:19:52 +00:00
Prince Gupta
687a2b444f
qt: make sure to preserve window state
...
fixes #28071
2023-10-29 13:19:52 +00:00
Claudio Cambra
8403c838aa
macosx: Reorder, refactor instantiation of local media sources
...
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-10-29 12:41:09 +00:00
Claudio Cambra
862073a6c0
macosx: Simplify looping over media sources in base data source
...
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-10-29 12:41:09 +00:00
Claudio Cambra
a592186a4a
macosx: Provide clean names for my folders media source nodes
...
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-10-29 12:41:09 +00:00
Claudio Cambra
d64ad86705
macosx: Add My Folders media source to list of local media sources
...
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-10-29 12:41:09 +00:00
Claudio Cambra
5a06cf958b
macosx: Replace per-folder media source My Folder with single My Folders media source
...
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-10-29 12:41:09 +00:00
Claudio Cambra
0242d020bd
macosx: Add list of media sources for My Folders entry
...
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-10-29 12:41:09 +00:00
Claudio Cambra
f77157a8ac
macosx: Remove erroneous semicolon from method implementation
...
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-10-29 12:41:09 +00:00
Claudio Cambra
0a173b990c
macosx: Add method to create a VLCMediaSource from a local URL
...
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-10-29 12:41:09 +00:00
Claudio Cambra
8d03b31abd
macosx: Remove redundant NULLin of _p_mediaSource->description
...
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-10-29 12:41:09 +00:00
Fatih Uzunoglu
647d53d9d9
qml: refactor MusicArtistDelegate
...
This file does not behave like a proper control
before this patch.
2023-10-29 08:59:00 +00:00
Fatih Uzunoglu
7c672757cc
qml: use RowLayout instead of Row in MusicArtistsAlbums.qml
2023-10-29 08:59:00 +00:00
Fatih Uzunoglu
c0eaa6ec3c
qml: properly place border rectangle in MusicArtistsAlbums.qml
2023-10-29 08:59:00 +00:00
Fatih Uzunoglu
c24a0cb4c0
qml: add missing implicit size setup in MusicArtistDelegate
2023-10-29 08:59:00 +00:00
Fatih Uzunoglu
5e86108b06
qml: set proper background color in MusicAlbumsGridExpandDelegate for MusicTrackListDisplay
2023-10-29 08:30:33 +00:00
Prince Gupta
186c3dd591
qt: move functions to cpp
2023-10-29 07:18:31 +00:00
Prince Gupta
7c42847d25
qt: remove unused variables from mainctx
2023-10-29 07:18:31 +00:00
Thomas Guillem
08950258ef
test: add clock test
...
Possible to run all tests (by default from the test suite):
vlc/build-linux/test $ ./test_src_clock_clock
[normal]: checking that normal update has a coeff of 1.0f
[lowprecision]: checking that low precision update has a coeff near 1.0f
[drift_72]: checking that a drift of 72ms in 2h is handled
[drift_-72]: checking that a drift of -72ms in 2h is handled
[drift_864]: checking that a drift of 864ms in 24h is handled
[drift_-864]: checking that a drift of -864ms in 24h is handled
[drift_sudden]: checking that a sudden drift is handled
Or run one test with traces:
./test_src_clock_clock lowprecision --tracer=json --json-tracer-file=foo.trace -vv
The test fake the timestamps that are sent to the default tracer to
behave like a live playback.
One possible future scenario would be to feed the clock with real points
taken from a real 24h live-streaming playback.
2023-10-28 14:40:34 +00:00
Thomas Guillem
f9d0c115b5
tracer: add vlc_tracer_vaTraceWithTs()
2023-10-28 14:40:34 +00:00
Fatih Uzunoglu
d97fe9750e
qml: do not let wheel events escape from player's playlist
2023-10-28 14:20:56 +00:00
Steve Lhomme
c73d6436fd
subpicture: mark regions that are text based
...
Rather than setting VLC_CODEC_TEXT in i_chroma when it's not a chroma.
2023-10-28 10:56:57 +00:00
Steve Lhomme
4a09ac18de
subpicture: merge the text align and text flags
...
Flags are more efficient in an int and we save space. The VLC_SUBPIC_TEXT_FLAG_xxx
flags don't overlap with the SUBPICTURE_ALIGN_xxx flags.
2023-10-28 10:56:57 +00:00
Steve Lhomme
64b0b0e8df
subpicture: invert the text region balanced flags
...
It's cleaner to have the default value at 0 and set a flag when it's needed.
2023-10-28 10:56:57 +00:00
Steve Lhomme
981a0f17c0
subpicture: group text-based region flags into a single field
2023-10-28 10:56:57 +00:00
Steve Lhomme
be719c10f1
dynamicoverlay: don't use VLC_CODEC_TEXT as a chroma
...
A chroma of 0 in the format is considered a text-based source.
2023-10-28 10:56:57 +00:00
Thomas Guillem
4946185a11
decoder: don't loop if there is no CCs
2023-10-28 09:00:22 +00:00
Thomas Guillem
e9dacbf735
decoder: fix read-after-free when using multiple CCs
...
Pushing a block to a sub decoder move the ownership. It was possible
that the first CC decoder already processed and released the block,
while the parent decoder was still duplicating it in order to send it to
the next CC decoder.
Fixes #28411
2023-10-28 09:00:22 +00:00
Thomas Guillem
f7e9e96eb9
test: input_decoder: fix unused warning
2023-10-28 09:00:22 +00:00
Thomas Guillem
9fd3857131
decoder: p_cc NULL is very unlikely
2023-10-28 09:00:22 +00:00