Francois Cartegnie
9c987897e5
demux: adaptive: fix null deref
...
7ff23c447d
copy paste regression
2019-05-23 11:05:15 +02:00
Thomas Guillem
ffa6409883
input: remove unused input_Control
2019-05-23 10:21:44 +02:00
Thomas Guillem
8a165f9e41
input: remove INPUT_NAV_*
...
This is now directly handled by the player.
2019-05-23 10:21:44 +02:00
Thomas Guillem
816fa6c376
input: remove INPUT_*_PCR
...
This was only used by netsync that is disabled for now.
This need to be ported to the new player and clock.
2019-05-23 10:21:44 +02:00
Thomas Guillem
e364f49599
input: remove INPUT_*_VIEWPOINT
...
This is now directly handled by the player.
2019-05-23 10:21:44 +02:00
Thomas Guillem
bd2f48bbc7
player: use input control directly for viewpoints
2019-05-23 10:21:44 +02:00
Thomas Guillem
818a4d7d0d
resource: use input control directly for viewpoints
2019-05-23 10:21:44 +02:00
Thomas Guillem
8d41d941d5
input: remove INPUT_GET_*OUT*
...
This is now directly handled by the player.
2019-05-23 10:21:44 +02:00
Thomas Guillem
426e761c7e
input: move input_AddSlave to vlc_player
2019-05-23 10:21:44 +02:00
Thomas Guillem
737e7db0a0
input: remove bookmark handling
...
It is unusable now, since there is no player API for it. It need to be handled
by the media library module.
2019-05-23 10:21:44 +02:00
Thomas Guillem
323558111e
input: remove INPUT_RESTART_ES_BY_ID
...
This is now directly handled by the player.
2019-05-23 10:21:44 +02:00
Thomas Guillem
7723dd007f
input: remove INPUT_SET_RENDERER
...
This is now directly handled by the player.
2019-05-23 10:21:44 +02:00
Thomas Guillem
6a876e8efa
es_out: remove ES_OUT_GET_ES_OBJECTS_BY_ID
...
This is now directly handled by the player.
2019-05-23 10:21:44 +02:00
Thomas Guillem
744bc2a2ba
input: remove INPUT_GET_ES_OBJECTS
...
This is now directly handled by the player.
2019-05-23 10:21:44 +02:00
Thomas Guillem
fbec8c85c8
input: remove INPUT_GET_FULL_TITLE_INFO
...
This is now directly handled by the player.
2019-05-23 10:21:44 +02:00
Thomas Guillem
19265a4d58
input: remove legacy var and event handling
...
This is now directly handled by the player.
2019-05-23 10:21:44 +02:00
Thomas Guillem
4bf3d1a13d
text: vlc_strfinput: don't use input API
...
This function is always called with a NULL input for now.
2019-05-23 10:21:44 +02:00
Thomas Guillem
1a7e583dc6
sd: podcast: don't auto play discorered items
...
I don't understand why discoverted items are played here. Only the owner of the
service discovery should make this call.
2019-05-23 10:21:44 +02:00
Thomas Guillem
748dd349e4
vlm: use vlc_player
...
This commit has not been tested.
2019-05-23 10:21:44 +02:00
Francois Cartegnie
393c730ca6
demux: mp4: handle podcast url
2019-05-23 10:20:28 +02:00
David Fuhrmann
f9a2702859
Revert "contrib: gnutls: use RECONF"
...
As discussed on IRC, this breaks winRT and macOS builds.
Konstantin agreed to the revert.
This reverts commit e771788020
.
2019-05-23 08:51:32 +02:00
David Fuhrmann
309295c464
macosx: fix typo for Mexican in language list
2019-05-23 07:25:45 +02:00
Romain Vimont
70ee5693df
libvlc: doc: list breaking changes
...
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2019-05-22 22:04:01 +02:00
Romain Vimont
80a8553e8a
libvlc: player: rename stop() to stop_async()
...
The new player stops asynchronously. This is a breaking change, so use a
different function name.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2019-05-22 22:03:59 +02:00
Romain Vimont
c0c35a5002
libvlc: player: use vlc_player
...
Implement the old libvlc player API using the new vlc_player.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2019-05-22 22:03:58 +02:00
Romain Vimont
de3727296e
libvlc: player: remove will_play()
...
This function is meaningless on the new player.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2019-05-22 22:03:56 +02:00
Romain Vimont
fb5b4934df
player: add on_device_changed callback
...
Expose the "device" event on the aout via a player callback.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2019-05-22 22:03:49 +02:00
Romain Vimont
cff059cc20
player: make the lock optionally reentrant
...
This will allow to implement the old libvlc API using the new player.
<https://mailman.videolan.org/pipermail/vlc-devel/2019-May/124461.html >
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2019-05-22 22:03:46 +02:00
Romain Vimont
ddee82e3b9
libvlc: player: fix racy tests
...
In order to wait for a specific state, libvlc player tests used live
loops to read the player state.
Listen to state changes instead.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2019-05-22 22:03:43 +02:00
Romain Vimont
24c260aabd
libvlc: player: send EndReached on input ended
...
Use the specific libvlc event when the input end is reached.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2019-05-22 22:03:36 +02:00
Romain Vimont
519877e327
randomizer: fix typos
...
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2019-05-22 21:41:11 +02:00
Romain Vimont
d5c1b16b55
playlist: update the randomizer on media change
...
When the player notifies that the current media has changed, it must be
considered "selected" by the randomizer.
Otherwise, when the player requests the next media to play, the playlist
will always "peek" the same next item from the randomizer, which will
never actually "select" it.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2019-05-22 21:41:08 +02:00
Romain Vimont
c1625943f1
randomizer: add unit test for loop mode
...
Test that additions and removals behave correctly in loop mode.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2019-05-22 21:41:05 +02:00
Romain Vimont
ea87e768e2
randomizer: fix history cursor on removal
...
randomizer_RemoveAt() did not manage the 'history' cursor correctly: it
explicitly tested "r->history == 0", which meant "no history" in
an earlier implementation, but not anymore.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2019-05-22 21:41:01 +02:00
Romain Vimont
bc4180a05d
randomizer: add unit test for history cursor
...
This will avoid regression of bug #22305 .
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2019-05-22 21:40:58 +02:00
Romain Vimont
ceebb7128a
randomizer: fix history cursor on insertion
...
New items must always be added _before_ the 'history' cursor, so they
will always move it to the right.
The confusion came from an earlier implementation, where "history == 0"
was synonymous with "no history" (and it was not possible to consider
the whole array as history).
Fixes #22305
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2019-05-22 21:40:54 +02:00
Romain Vimont
f729a6b965
randomizer: use constant in test
...
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2019-05-22 21:40:51 +02:00
Romain Vimont
1647f5d14b
randomizer: fix typo
...
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2019-05-22 21:40:27 +02:00
Romain Vimont
3f659b04f6
qt: fix nullptr dereference
...
Do not dereference new_media when it is NULL.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2019-05-22 21:40:05 +02:00
Francois Cartegnie
887ad0be5e
codec: substx3g: improve quicktime text media styling
...
refs BCDisassembly1RightSideTxt2.mov
2019-05-22 20:16:11 +02:00
Francois Cartegnie
e627b240e1
demux: mp4: check extra before read
2019-05-22 19:46:28 +02:00
David Fuhrmann
7e51096866
macosx: Update language list based on qt interface update
2019-05-22 19:00:12 +02:00
Francois Cartegnie
0c2fa69df3
demux: mp4: exclude subt from metadata refs
2019-05-22 17:56:09 +02:00
Francois Cartegnie
027dd96f99
demux: mp4: fix EIA708 regression in quicktime
...
ever seen one ?
2019-05-22 17:56:08 +02:00
Francois Cartegnie
5bd87b2781
demux: mp4: fix regression with quicktime text spu
2019-05-22 17:56:07 +02:00
Francois Cartegnie
f93fef718c
demux: mp4: ignore all referenced tracks
2019-05-22 16:54:19 +02:00
Francois Cartegnie
f079ce6732
demux: mp4: drop chap storage
2019-05-22 16:54:19 +02:00
Francois Cartegnie
6fd1fbf758
demux: mp4: tag all referenced tracks with their type
2019-05-22 16:54:19 +02:00
Francois Cartegnie
95c46854b4
demux: mp4: check chapters by track reference type
2019-05-22 16:54:19 +02:00
Francois Cartegnie
eed996c58a
demux: mp4: sync track ID from track creation
2019-05-22 16:54:19 +02:00