]> git.sesse.net Git - vlc/log
vlc
9 years agoandroid_window: don't call setBuffersGeometry if already configured on java side
Thomas Guillem [Thu, 22 Jan 2015 11:48:27 +0000 (12:48 +0100)]
android_window: don't call setBuffersGeometry if already configured on java side

It fixes buffer allocations on some old android versions.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agonativewindowpriv: split setup into setUsage and setBuffersGeometry
Thomas Guillem [Thu, 22 Jan 2015 11:48:26 +0000 (12:48 +0100)]
nativewindowpriv: split setup into setUsage and setBuffersGeometry

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agodemux: libmp4: don't fail, just skip broken compressor name
Francois Cartegnie [Wed, 21 Jan 2015 16:29:21 +0000 (17:29 +0100)]
demux: libmp4: don't fail, just skip broken compressor name

9 years agoContribs: take latest x264 stable
Jean-Baptiste Kempf [Wed, 21 Jan 2015 15:43:28 +0000 (16:43 +0100)]
Contribs: take latest x264 stable

9 years agoandroid_window: fix deadlock if android surface won't be created
Thomas Guillem [Wed, 21 Jan 2015 14:11:02 +0000 (14:11 +0000)]
android_window: fix deadlock if android surface won't be created

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoContribs: update Freetype2 to 2.5.5
Jean-Baptiste Kempf [Wed, 21 Jan 2015 09:54:24 +0000 (10:54 +0100)]
Contribs: update Freetype2 to 2.5.5

9 years agoContribs: update gettext to 0.19.4
Jean-Baptiste Kempf [Wed, 21 Jan 2015 09:45:39 +0000 (10:45 +0100)]
Contribs: update gettext to 0.19.4

9 years agoContribs: update libpng to 1.6.16
Jean-Baptiste Kempf [Wed, 21 Jan 2015 09:43:39 +0000 (10:43 +0100)]
Contribs: update libpng to 1.6.16

CVE-2014-9495

9 years agoContribs: udpate libxml2 to 2.9.2
Jean-Baptiste Kempf [Wed, 21 Jan 2015 09:42:00 +0000 (10:42 +0100)]
Contribs: udpate libxml2 to 2.9.2

Move to configure.ac

9 years agoContribs: update libass to 0.12.1
Jean-Baptiste Kempf [Wed, 21 Jan 2015 09:00:53 +0000 (10:00 +0100)]
Contribs: update libass to 0.12.1

9 years agoAdd NEWS about libVLC
Thomas Guillem [Tue, 20 Jan 2015 11:35:47 +0000 (11:35 +0000)]
Add NEWS about libVLC

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agolibvlc: add libvlc_media_parse_with_options
Thomas Guillem [Tue, 20 Jan 2015 09:46:32 +0000 (10:46 +0100)]
libvlc: add libvlc_media_parse_with_options

Extended version of libvlc_media_parse_async. It uses a flag to specify parse
options and returns an int for error handling.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agolibvlc: add libvlc_MediaListEndReached event
Thomas Guillem [Tue, 20 Jan 2015 09:46:31 +0000 (10:46 +0100)]
libvlc: add libvlc_MediaListEndReached event

Expose an event to libvlc users which allows them to get notified when a media
list reached the end. That is, when the media list is attached to a media
(subitems) that completed a parsing. Or when the media list is attached to a
media discovery that stopped.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agolibvlc: media_list: don't set media if readonly
Thomas Guillem [Tue, 20 Jan 2015 09:46:30 +0000 (10:46 +0100)]
libvlc: media_list: don't set media if readonly

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agolibvlc: media: fix leak if it has subitems
Thomas Guillem [Tue, 20 Jan 2015 09:46:29 +0000 (10:46 +0100)]
libvlc: media: fix leak if it has subitems

Don't call libvlc_media_list_set_media from media since it causes
p_md->p_subitems to retain p_md while p_md is already retaining
p_md->p_subitems, therefore these 2 objects won't be releasable.

Add a new internal variable: p_internal_md that is set from media without
retaining it.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoinput: Preparse: fetch sub items if item is a playlist
Thomas Guillem [Tue, 20 Jan 2015 09:46:28 +0000 (10:46 +0100)]
input: Preparse: fetch sub items if item is a playlist

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agolibvlc-module.c: set deinterlace option to automatic by
Jean-Paul Saman [Thu, 11 Dec 2014 14:26:05 +0000 (15:26 +0100)]
libvlc-module.c: set deinterlace option to automatic by

 default.

Signed-off-by: Jean-Paul Saman <jpsaman@videolan.org>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoFix crash when playing DCP with no audio; allow DCPs to
Adam Leggett [Wed, 26 Nov 2014 21:34:47 +0000 (16:34 -0500)]
Fix crash when playing DCP with no audio; allow DCPs to

 not have audio

Signed-off-by: Jean-Paul Saman <jpsaman@videolan.org>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoAllow asset map parser to process empty tags correctly
Adam Leggett [Wed, 8 Oct 2014 23:42:35 +0000 (16:42 -0700)]
Allow asset map parser to process empty tags correctly

Signed-off-by: Jean-Paul Saman <jpsaman@videolan.org>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agolibvlc: media: lock media_list
Thomas Guillem [Mon, 19 Jan 2015 10:22:50 +0000 (11:22 +0100)]
libvlc: media: lock media_list

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 years agolibvlc: media: set sub_items readonly
Thomas Guillem [Mon, 19 Jan 2015 10:22:49 +0000 (11:22 +0100)]
libvlc: media: set sub_items readonly

media's sub_items should be only writable by media.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 years agolibvlc: libvlc_media_subitems: lock and always return a medialist
Thomas Guillem [Mon, 19 Jan 2015 10:22:48 +0000 (11:22 +0100)]
libvlc: libvlc_media_subitems: lock and always return a medialist

This way, libvlc_media_subitems can be called before, during or after a
parsing. Furthermore, this allows to attach media_list events before
libvlc_media_parse is called.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 years agolibvlc: don't use functions with leading underscore
Thomas Guillem [Mon, 19 Jan 2015 10:22:47 +0000 (11:22 +0100)]
libvlc: don't use functions with leading underscore

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 years agoplaylist: return true for DEMUX_IS_PLAYLIST
Thomas Guillem [Mon, 19 Jan 2015 10:22:45 +0000 (11:22 +0100)]
playlist: return true for DEMUX_IS_PLAYLIST

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 years agodemux: return true for DEMUX_IS_PLAYLIST if stream is a directory
Thomas Guillem [Mon, 19 Jan 2015 10:22:44 +0000 (11:22 +0100)]
demux: return true for DEMUX_IS_PLAYLIST if stream is a directory

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 years agodemux: add DEMUX_IS_PLAYLIST
Thomas Guillem [Mon, 19 Jan 2015 10:22:43 +0000 (11:22 +0100)]
demux: add DEMUX_IS_PLAYLIST

It returns true if the demux is a playlist (an archive, a directory or a
network share is also a playlist).

It will be used by the preparser in order to know if it should call demux_Demux
to fetch sub items.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 years agommal/codec: Enable error_concealment for h264
Julian Scheel [Mon, 19 Jan 2015 10:30:33 +0000 (11:30 +0100)]
mmal/codec: Enable error_concealment for h264

Until now error concealment was disabled for h264 decoding because the mmal
h264 decoder did not properly parse SEI so that depending on the stream it
could happen that no valid picture would be detected at all and therefore no
picture would be shown at all. Latest raspberry firmware fixed this, so that
error concealment works properly and can be enabled.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 years agommal/vout: Make display() synchronous
Julian Scheel [Mon, 19 Jan 2015 10:30:32 +0000 (11:30 +0100)]
mmal/vout: Make display() synchronous

Ensure that the pictures which are rendered by display() are released before
display() returns. This is required to ensure that on stop all pictures are
released and the core can safely cleanup the pool. Without this the core
might detect pictures as leaks and free them on its own. Once this happens
we're running straight into a double free.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 years agommal/deinterlace: Implement filter flush
Julian Scheel [Mon, 19 Jan 2015 10:30:31 +0000 (11:30 +0100)]
mmal/deinterlace: Implement filter flush

It is required to flush the filter properly for stopping of playback to work
reliably. Without flushing the code might detect pictures currently held in
the filter as lost which will lead to double frees later on.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 years agommal/deinterlace: Add locking to port callbacks
Julian Scheel [Mon, 19 Jan 2015 10:30:30 +0000 (11:30 +0100)]
mmal/deinterlace: Add locking to port callbacks

The in- and ouput port callbacks lead to access on the mmal pools, which are
not thread-safe. To deal with this the sys->mutex is used to lock against
usage of the mmal pools from the main thread.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 years agommal: Restore old buffer configuration
Julian Scheel [Mon, 19 Jan 2015 10:30:29 +0000 (11:30 +0100)]
mmal: Restore old buffer configuration

With previours cleanups we reduced the number of allocated mmal buffers and
buffer headers. This caused some issues as the mmal components had to wait for
buffers frequently, which slowed them down. To avoid framedrops and even
picture stalls revert to the old buffer configuration, which wastes a bit
memory in theory but works way more reliably and smoothly.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 years agommal/vout: Use cached framerate for phase adjust
Julian Scheel [Mon, 19 Jan 2015 10:30:28 +0000 (11:30 +0100)]
mmal/vout: Use cached framerate for phase adjust

The framerate stored in vd->source is not reliable in any case. Instead we use
the internally cached framerate which is updated from the actual pictures
which are rendered.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 years agommal/deinterlace: Explicitly count buffers in transit
Julian Scheel [Mon, 19 Jan 2015 10:30:27 +0000 (11:30 +0100)]
mmal/deinterlace: Explicitly count buffers in transit

The previous approach of calculating the buffers in transit was broken because
it assumed that buffers which were currently processed in the video output
stage are in transit. In fact only those buffers which are currently handed
off to the mmal output port of the filter plugin are to be counted as buffers
in transit. Fixing this avoids some framedrops due to missing/late buffers.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 years agommal/codec: Explicitly count buffers in transit
Julian Scheel [Mon, 19 Jan 2015 10:30:26 +0000 (11:30 +0100)]
mmal/codec: Explicitly count buffers in transit

The previous approach of calculating the buffers in transit was broken because
it assumed that buffers which were currently processed in the video output
stage are in transit. In fact only those buffers which are currently handed
off to the mmal output port of the video_decode plugin are to be counted as
buffers in transit. Fixing this avoids some framedrops due to missing/late
buffers.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 years agommal/codec: Remove buffer header count hack
Julian Scheel [Mon, 19 Jan 2015 10:30:25 +0000 (11:30 +0100)]
mmal/codec: Remove buffer header count hack

This hack is not required anymore as the buffer header lifecycle is properly
handled now. This ensures that the codec only sees buffers which are ready for
reuse and avoids some misbehaviour of the codec.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 years agommal/codec: Flush the decoder when running out of buffers
Julian Scheel [Mon, 19 Jan 2015 10:30:24 +0000 (11:30 +0100)]
mmal/codec: Flush the decoder when running out of buffers

Normally the decoder should not run out of input buffers as it is fed with
packetized data and for each input block a picture shall be generated. In rare
situations the decoder seems to fail internally and does stop generating
pictures. In this case the input buffers are not released either. If this
happens the whole pipeline stalls and vlc buffers input data until system runs
out of memory. To avoid this error case force the decoder to flush its port
if it runs out of input buffers. This causes a short image distortion but the
decoder won't block anymore.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 years agommal: Replace global mutex by module-owned mutex
Julian Scheel [Mon, 19 Jan 2015 10:30:23 +0000 (11:30 +0100)]
mmal: Replace global mutex by module-owned mutex

The mutex held within mmal_pictures is used to lock access of mmal
picture/buffer pools between vlc main thread and mmal callback threads. This
is only required to be locked per pool and not globally for all mmal modules.
Thus using a global mutex caused a slight performance hit when using mmal vout
and deinterlace simultaneously which operate on independent picture pools. Now
the pool owner provides the mutex handle when allocating the pictures, so
that independent locking can be used.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 years agommal/codec: Fix buffer leak
Julian Scheel [Mon, 19 Jan 2015 10:30:22 +0000 (11:30 +0100)]
mmal/codec: Fix buffer leak

If buffers were discarded because of wrong size or type a mmal buffer header
would be leaked each time.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 years agommal/codec: Read opaque handle from picture_sys
Julian Scheel [Mon, 19 Jan 2015 10:30:21 +0000 (11:30 +0100)]
mmal/codec: Read opaque handle from picture_sys

Instead of assuming that p_pixels[0] points to the mmal opaque handle retrieve
it from the picture_sys structure. Using p_pixels for the pointer was broken
due to vlc core copying p_pixels only for formats with actual data.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 years agommal: Fix configure
Julian Scheel [Mon, 19 Jan 2015 10:30:20 +0000 (11:30 +0100)]
mmal: Fix configure

The mmal/bcm host libraries haven been restructured lately, which requires
some tweaking in the detection.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 years agotest: update .gitignore
Rémi Denis-Courmont [Tue, 20 Jan 2015 05:44:47 +0000 (07:44 +0200)]
test: update .gitignore

9 years agowayland/shell: Fix race for wnd->display.wl.
Matthias Treydte [Mon, 19 Jan 2015 15:24:57 +0000 (16:24 +0100)]
wayland/shell: Fix race for wnd->display.wl.

The Wayland background thread dereferences said variable, but is started
before the value is written there. Occasionally the thread would win
the race and segfault in wl_display_get_fd.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 years agodemux: ts: fully probe TopField VDR headers and set service id (fix #11034)
Francois Cartegnie [Mon, 19 Jan 2015 20:11:47 +0000 (21:11 +0100)]
demux: ts: fully probe TopField VDR headers and set service id (fix #11034)

9 years agodemux: ts: allow to skip services
Francois Cartegnie [Mon, 19 Jan 2015 20:10:39 +0000 (21:10 +0100)]
demux: ts: allow to skip services

9 years agodemux: ts: correctly reset current fix to no-trust-pcr on pcr
Francois Cartegnie [Mon, 19 Jan 2015 16:36:17 +0000 (17:36 +0100)]
demux: ts: correctly reset current fix to no-trust-pcr on pcr

9 years agodemux: ts: add broken streams warning
Francois Cartegnie [Mon, 19 Jan 2015 12:17:47 +0000 (13:17 +0100)]
demux: ts: add broken streams warning

9 years agomacosx/configure.sh: Enable libsamplerate again
David Fuhrmann [Mon, 19 Jan 2015 20:07:58 +0000 (21:07 +0100)]
macosx/configure.sh: Enable libsamplerate again

Ulgy resampler produces really noisy output with some samples,
it is way better with libsamplerate.

9 years agodemux: ts: auto detect missing PCR and apply workaround (fix #3709, #10243)
Francois Cartegnie [Sun, 18 Jan 2015 20:50:10 +0000 (21:50 +0100)]
demux: ts: auto detect missing PCR and apply workaround (fix #3709, #10243)

9 years agodemux: ts: simplify es detection condition
Francois Cartegnie [Sun, 18 Jan 2015 19:33:46 +0000 (20:33 +0100)]
demux: ts: simplify es detection condition

Use global pmt es count, as there's no multiple pmt

9 years agoQt: save recent on transcode/stream
Francois Cartegnie [Sun, 18 Jan 2015 14:18:59 +0000 (15:18 +0100)]
Qt: save recent on transcode/stream

9 years agodemux: ts: handle PCR less pid (fix #13339)
Francois Cartegnie [Sun, 18 Jan 2015 12:38:57 +0000 (13:38 +0100)]
demux: ts: handle PCR less pid (fix #13339)

Because the no-trust-pcr thing isn't a real fix.

9 years agodemux: dash: fix integer ofw (cid #1261993)
Francois Cartegnie [Fri, 16 Jan 2015 17:36:27 +0000 (18:36 +0100)]
demux: dash: fix integer ofw (cid #1261993)

9 years agovout ios: use long touch instead of double tap gesture to control on screen elements
Felix Paul Kühne [Sat, 17 Jan 2015 17:53:10 +0000 (18:53 +0100)]
vout ios: use long touch instead of double tap gesture to control on screen elements

9 years agocodec: SCTE-27: set visible_width/height (fix #13514)
Francois Cartegnie [Fri, 16 Jan 2015 15:58:18 +0000 (16:58 +0100)]
codec: SCTE-27: set visible_width/height (fix #13514)

9 years agolibvlc: missing NULL terminator (fixes #13655)
Rémi Denis-Courmont [Thu, 15 Jan 2015 19:32:27 +0000 (21:32 +0200)]
libvlc: missing NULL terminator (fixes #13655)

9 years agolibvlc: fix vbi-page initialization without zvbi plugin
Rémi Denis-Courmont [Thu, 15 Jan 2015 19:21:53 +0000 (21:21 +0200)]
libvlc: fix vbi-page initialization without zvbi plugin

A variable cannot be inherited if it is not a configuration item.
Note this only avoids generating an error; VBI cannot work without the
plugin anyway.

9 years agodemux: mp4: fix compression in v0 samples
Francois Cartegnie [Thu, 15 Jan 2015 17:27:34 +0000 (18:27 +0100)]
demux: mp4: fix compression in v0 samples

Since (*) we can't tell if the sample is v0 follows the ISO
spec or comes from qt and then means uncompressed,
we can't agregate samples reliably.

* our muxer removed qt brand from files.

9 years agoQt: ProfileSelector: match options with selected profile
Francois Cartegnie [Thu, 15 Jan 2015 15:09:42 +0000 (16:09 +0100)]
Qt: ProfileSelector: match options with selected profile

9 years agoRevert "demux: mp4: add Opus codec extra data"
Francois Cartegnie [Thu, 15 Jan 2015 14:43:24 +0000 (15:43 +0100)]
Revert "demux: mp4: add Opus codec extra data"

This reverts commit 39353b9c31c2f3117d2139acb7ebed370fce0f14.

9 years agomux: mp4: const correctness
Francois Cartegnie [Thu, 15 Jan 2015 11:04:50 +0000 (12:04 +0100)]
mux: mp4: const correctness

9 years agoQt: remember last selected transcode profile
Francois Cartegnie [Thu, 15 Jan 2015 11:04:06 +0000 (12:04 +0100)]
Qt: remember last selected transcode profile

9 years agoQt: don't confirm overwrite twice on transcode
Francois Cartegnie [Thu, 15 Jan 2015 10:48:51 +0000 (11:48 +0100)]
Qt: don't confirm overwrite twice on transcode

9 years agodemux: dash: include inttypes.h
Thomas Guillem [Wed, 14 Jan 2015 12:21:59 +0000 (12:21 +0000)]
demux: dash: include inttypes.h

Fix build for android.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agovout: allow EGL for OpenGL-based visualizations
Rémi Denis-Courmont [Thu, 15 Jan 2015 07:02:10 +0000 (09:02 +0200)]
vout: allow EGL for OpenGL-based visualizations

9 years agortp: jpeg: fix memory leaks
Tristan Matthews [Thu, 15 Jan 2015 05:18:14 +0000 (00:18 -0500)]
rtp: jpeg: fix memory leaks

9 years agoconfigure: stop forcing struct pollfd detection to XP
Martell Malone [Wed, 14 Jan 2015 10:09:30 +0000 (10:09 +0000)]
configure: stop forcing struct pollfd detection to XP

struct pollfd is available from Vista+, applicable winRT builds.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 years agodemux: mp4: add Opus codec extra data
Francois Cartegnie [Wed, 14 Jan 2015 19:23:42 +0000 (20:23 +0100)]
demux: mp4: add Opus codec extra data

9 years agodemux: libmp4: add Opus atoms
Francois Cartegnie [Wed, 14 Jan 2015 19:24:10 +0000 (20:24 +0100)]
demux: libmp4: add Opus atoms

9 years agodemux: libmp4: correctly read compressor name
Francois Cartegnie [Wed, 14 Jan 2015 17:55:31 +0000 (18:55 +0100)]
demux: libmp4: correctly read compressor name

9 years agodemux: mp4: set interlacing flags
Francois Cartegnie [Wed, 14 Jan 2015 16:43:56 +0000 (17:43 +0100)]
demux: mp4: set interlacing flags

9 years agodemux: libmp4: parse fiel extension atom
Francois Cartegnie [Wed, 14 Jan 2015 16:28:41 +0000 (17:28 +0100)]
demux: libmp4: parse fiel extension atom

9 years agoconfigure: fix libnsl test
Fabrizio Ge [Wed, 14 Jan 2015 05:42:19 +0000 (07:42 +0200)]
configure: fix libnsl test

Regression from 67531a989304442223d33da611b071083a4810bc.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 years agoContribs: update gnutls to 3.2.21
Jean-Baptiste Kempf [Tue, 13 Jan 2015 22:40:00 +0000 (23:40 +0100)]
Contribs: update gnutls to 3.2.21

9 years agoAdd NEWS about libVLC
Jean-Baptiste Kempf [Tue, 13 Jan 2015 22:29:47 +0000 (23:29 +0100)]
Add NEWS about libVLC

9 years agolibvlc: add libvlc_media_get_codec_description
Thomas Guillem [Mon, 12 Jan 2015 09:39:14 +0000 (09:39 +0000)]
libvlc: add libvlc_media_get_codec_description

Get codec description from media elementary stream.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoinput: preparsing not only for files
Thomas Guillem [Thu, 8 Jan 2015 16:10:02 +0000 (16:10 +0000)]
input: preparsing not only for files

It's safe since preparser won't be called for network files if
META_REQUEST_OPTION_SCOPE_NETWORK option is not set.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agopreparser: pass meta request options to Preparse
Thomas Guillem [Thu, 8 Jan 2015 16:10:01 +0000 (16:10 +0000)]
preparser: pass meta request options to Preparse

Network files will only be preparsed if META_REQUEST_OPTION_SCOPE_NETWORK
option is set (option not set by default by vlc playlist).

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agolib: change libvlc_media_discoverer_t creation
Thomas Guillem [Thu, 8 Jan 2015 16:10:00 +0000 (16:10 +0000)]
lib: change libvlc_media_discoverer_t creation

libvlc_media_discoverer_new_from_name was creating a services_discovery_t and
was starting it, so libvlc_MediaDiscovererStarted event (or any other events)
could not be received.

To fix that, Split libvlc_media_discoverer_new_from_name into
libvlc_media_discoverer_new and libvlc_media_discoverer_start. That way, we can
attach events between create and start.

libvlc_media_discoverer_new_from_name is now deprecated, but it still works
like before.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agodemux: dash: prune expired live timeline elements
Francois Cartegnie [Tue, 13 Jan 2015 14:10:03 +0000 (15:10 +0100)]
demux: dash: prune expired live timeline elements

9 years agodemux: mp4: always use sidx on discontinuity
Francois Cartegnie [Tue, 13 Jan 2015 00:12:37 +0000 (01:12 +0100)]
demux: mp4: always use sidx on discontinuity

Should fix out-of-sync tracks with DASH

9 years agoUpdate NEWS
Tristan Matthews [Mon, 12 Jan 2015 22:28:46 +0000 (17:28 -0500)]
Update NEWS

9 years agodsm: use NETBIOS_FILESERVER define
Thomas Guillem [Wed, 7 Jan 2015 10:06:12 +0000 (10:06 +0000)]
dsm: use NETBIOS_FILESERVER define

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agodsm: refactor
Thomas Guillem [Wed, 7 Jan 2015 10:06:11 +0000 (10:06 +0000)]
dsm: refactor

merge browser.c into access.c.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoModify fourcc to accept DXSA subtitles
Alexandre Perraud [Thu, 8 Jan 2015 16:34:22 +0000 (16:34 +0000)]
Modify fourcc to accept DXSA subtitles

but VLC still can't decode these subtitles

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agozsh completion: add $BUILDDIR/lib/.libs to LD_LIBRARY_PATH
Sebastian Ramacher [Sat, 10 Jan 2015 22:01:04 +0000 (22:01 +0000)]
zsh completion: add $BUILDDIR/lib/.libs to LD_LIBRARY_PATH

zsh_gen is linked against libvlc from $BUILDDIR/lib/.libs and needs it in
LD_LIBRARY_PATH to run.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoopus: remove dead code
Tristan Matthews [Mon, 12 Jan 2015 18:01:24 +0000 (13:01 -0500)]
opus: remove dead code

opus_prepare_header is "too small to fail"

9 years agolive555: remove dead fallback for speex
Tristan Matthews [Mon, 12 Jan 2015 17:58:17 +0000 (12:58 -0500)]
live555: remove dead fallback for speex

Rate will never be 0 here.

9 years agoopus: handle RTP depayloading (fixes #11938)
Tristan Matthews [Fri, 9 Jan 2015 21:55:22 +0000 (21:55 +0000)]
opus: handle RTP depayloading (fixes #11938)

If no header is given, deduce it from the decoder format.

Tested for mono, stereo and with/without --codec avcodec at
8000, 12000, 16000, 24000 and 48000hz.

9 years agodemux: dash: fix win32 build
Francois Cartegnie [Mon, 12 Jan 2015 19:45:59 +0000 (20:45 +0100)]
demux: dash: fix win32 build

9 years agodemux: dash: missing config.h
Francois Cartegnie [Mon, 12 Jan 2015 19:35:18 +0000 (20:35 +0100)]
demux: dash: missing config.h

9 years agodemux: dash: Update MPD
Francois Cartegnie [Sun, 11 Jan 2015 22:22:39 +0000 (23:22 +0100)]
demux: dash: Update MPD

9 years agodemux: dash: add timescale inheritance to timeline
Francois Cartegnie [Mon, 12 Jan 2015 14:59:08 +0000 (15:59 +0100)]
demux: dash: add timescale inheritance to timeline

9 years agodemux: dash: factorize timescales inheritance
Francois Cartegnie [Mon, 12 Jan 2015 11:45:04 +0000 (12:45 +0100)]
demux: dash: factorize timescales inheritance

9 years agodemux: dash: compute timelines boundaries
Francois Cartegnie [Mon, 12 Jan 2015 18:59:03 +0000 (19:59 +0100)]
demux: dash: compute timelines boundaries

9 years agodemux: dash: parse maxSegmentDuration & minUpdatePeriod
Francois Cartegnie [Sat, 10 Jan 2015 20:32:29 +0000 (21:32 +0100)]
demux: dash: parse maxSegmentDuration & minUpdatePeriod

9 years agodemux: dash: add MPD merging for updates
Francois Cartegnie [Sat, 10 Jan 2015 20:23:45 +0000 (21:23 +0100)]
demux: dash: add MPD merging for updates

9 years agodemux: dash: add timelines gathering
Francois Cartegnie [Sat, 10 Jan 2015 20:21:55 +0000 (21:21 +0100)]
demux: dash: add timelines gathering

9 years agodemux: mp4: add sequence id in moof seek
Francois Cartegnie [Sat, 10 Jan 2015 20:11:11 +0000 (21:11 +0100)]
demux: mp4: add sequence id in moof seek

9 years agodemux: mp4: fix inverted trun sample composition time signedness
Francois Cartegnie [Sat, 10 Jan 2015 10:43:28 +0000 (11:43 +0100)]
demux: mp4: fix inverted trun sample composition time signedness

9 years agodemux: mp4: change assertions to warnings
Francois Cartegnie [Thu, 8 Jan 2015 20:26:50 +0000 (21:26 +0100)]
demux: mp4: change assertions to warnings