]> git.sesse.net Git - vlc/log
vlc
9 years agostream: handle seek across EOF correctly (hopefully)
Rémi Denis-Courmont [Thu, 29 Jan 2015 17:15:53 +0000 (19:15 +0200)]
stream: handle seek across EOF correctly (hopefully)

9 years agoQt: add a loading bar animation when the cache is empty
Jonathan Calmels [Thu, 29 Jan 2015 13:58:46 +0000 (14:58 +0100)]
Qt: add a loading bar animation when the cache is empty

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoQt: buffering slider option should be 0 when the cache is empty
Jonathan Calmels [Thu, 29 Jan 2015 13:46:12 +0000 (14:46 +0100)]
Qt: buffering slider option should be 0 when the cache is empty

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoQt: inputChanged signal now takes the input_thread_t as parameter
Jonathan Calmels [Thu, 29 Jan 2015 12:40:47 +0000 (13:40 +0100)]
Qt: inputChanged signal now takes the input_thread_t as parameter

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoUpdate NEWS
Francois Cartegnie [Thu, 29 Jan 2015 12:30:16 +0000 (13:30 +0100)]
Update NEWS

9 years agolibbluray: depend on fontconfig as necessary
Sean McGovern [Thu, 29 Jan 2015 01:17:19 +0000 (20:17 -0500)]
libbluray: depend on fontconfig as necessary

This is a new requirement for libbluray 0.7.0.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoUpdate THANKS for dvdread/dvdnav
Jean-Baptiste Kempf [Thu, 29 Jan 2015 11:37:49 +0000 (12:37 +0100)]
Update THANKS for dvdread/dvdnav

9 years agodemux: ts: delay es creating until 1st data packet (fix #6175, #4264)
Francois Cartegnie [Sun, 25 Jan 2015 16:02:01 +0000 (17:02 +0100)]
demux: ts: delay es creating until 1st data packet (fix #6175, #4264)

Some recorded streams list multiple program but only 1 stream is really
recorder. VLC defaults program to first created ES.

Now creates ES on first data packet, so the default program always
has data.
Fixes all default program selection issues.

All dreambox recordings issues
issues/TS/programselection/

and Header less VDR recordings
issues/TS/TopField/TopField%20TF7700HSCI%20HD%20record.rec

9 years agodemux: ts: add PAT/PMT hotfix (fix #10650)
Francois Cartegnie [Sun, 25 Jan 2015 11:30:18 +0000 (12:30 +0100)]
demux: ts: add PAT/PMT hotfix (fix #10650)

Some recorded TS streams does not include PAT/PMT.
Just feed one when missing.
refs #7940

9 years agomux: ts: make PMT/PAT generation reusable
Francois Cartegnie [Wed, 28 Jan 2015 00:17:03 +0000 (01:17 +0100)]
mux: ts: make PMT/PAT generation reusable

9 years agomux: ts: Split ts tables
Francois Cartegnie [Tue, 27 Jan 2015 23:59:04 +0000 (00:59 +0100)]
mux: ts: Split ts tables

Also removes duplicate members

9 years agomux: ts: split ts encapsulation
Francois Cartegnie [Mon, 26 Jan 2015 15:36:45 +0000 (16:36 +0100)]
mux: ts: split ts encapsulation

9 years agodemux: ts: add missing initializer
Francois Cartegnie [Wed, 28 Jan 2015 20:04:02 +0000 (21:04 +0100)]
demux: ts: add missing initializer

9 years agodemux: ts: add some more pvr4000 header checks
Francois Cartegnie [Mon, 26 Jan 2015 14:13:09 +0000 (15:13 +0100)]
demux: ts: add some more pvr4000 header checks

9 years agoUpdate list of third party libraries
Felix Paul Kühne [Wed, 28 Jan 2015 19:30:47 +0000 (20:30 +0100)]
Update list of third party libraries

9 years agoyoutube.lua: be more flexible with JSON spaces
Pierre Ynard [Wed, 28 Jan 2015 17:02:25 +0000 (18:02 +0100)]
youtube.lua: be more flexible with JSON spaces

9 years agoContribs: update to libdvdnav 5.0.3
Jean-Baptiste Kempf [Wed, 28 Jan 2015 16:27:33 +0000 (17:27 +0100)]
Contribs: update to libdvdnav 5.0.3

9 years agoContribs: update libdvdread to 5.0.2
Jean-Baptiste Kempf [Wed, 28 Jan 2015 16:07:52 +0000 (17:07 +0100)]
Contribs: update libdvdread to 5.0.2

9 years agoContribs: update to 1.3.99 (1.4.0 RC)
Jean-Baptiste Kempf [Wed, 28 Jan 2015 16:07:46 +0000 (17:07 +0100)]
Contribs: update to 1.3.99 (1.4.0 RC)

9 years agoContribs: disable FFmpeg/libav programs only when cross-compiling
Jean-Baptiste Kempf [Wed, 28 Jan 2015 16:01:49 +0000 (17:01 +0100)]
Contribs: disable FFmpeg/libav programs only when cross-compiling

It can be useful to test avplay/ffplay localy

9 years agowinstore: Gracefuly fail when no IAudioClient is provided
Hugo Beauzée-Luyssen [Wed, 28 Jan 2015 11:01:44 +0000 (12:01 +0100)]
winstore: Gracefuly fail when no IAudioClient is provided

9 years agowinstore: Use the correct variable to fetch IAudioClient instance
Hugo Beauzée-Luyssen [Fri, 9 Jan 2015 09:40:06 +0000 (10:40 +0100)]
winstore: Use the correct variable to fetch IAudioClient instance

9 years agowinstore: Fix ActivateDevice
Hugo Beauzée-Luyssen [Fri, 9 Jan 2015 09:39:00 +0000 (10:39 +0100)]
winstore: Fix ActivateDevice

The opaque pointer actually is the device, not p_sys

9 years agoFix teletext page aspect ratio
Rafaël Carré [Wed, 28 Jan 2015 09:51:03 +0000 (10:51 +0100)]
Fix teletext page aspect ratio

It was broken by 29a4015294, which should only have modified text "subpictures"
Closes #13050
Tested-by: Julian Scheel <julian@jusst.de>
9 years agolua extensions: open a URI, not a filepath
Jean-Baptiste Kempf [Tue, 27 Jan 2015 23:48:00 +0000 (00:48 +0100)]
lua extensions: open a URI, not a filepath

Close #13752

9 years agoURL test: remove trailing space
Jean-Baptiste Kempf [Tue, 27 Jan 2015 23:45:02 +0000 (00:45 +0100)]
URL test: remove trailing space

9 years agoLua: code cosmetic
Jean-Baptiste Kempf [Tue, 27 Jan 2015 23:44:45 +0000 (00:44 +0100)]
Lua: code cosmetic

9 years agolib: add libvlc_audio_output_device_get()
Mark Lee [Tue, 27 Jan 2015 10:58:02 +0000 (10:58 +0000)]
lib: add libvlc_audio_output_device_get()

This function gets the active device identifier for the current
audio output, if there is one, and is the complementary function
to libvlc_audio_output_device_set().

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoContribs: update libbluray to 0.7.0
Jean-Baptiste Kempf [Tue, 27 Jan 2015 12:48:22 +0000 (13:48 +0100)]
Contribs: update libbluray to 0.7.0

9 years agocontrib/ebml+mkv: compile with hidden symbols
Felix Paul Kühne [Sat, 24 Jan 2015 22:53:59 +0000 (23:53 +0100)]
contrib/ebml+mkv: compile with hidden symbols

This solves linking issues on iOS and should have no negative impact on further platforms

9 years agoQt: don't try to resume playback on the same input file
Ludovic Fauvet [Mon, 26 Jan 2015 18:42:59 +0000 (19:42 +0100)]
Qt: don't try to resume playback on the same input file

Close #11704

9 years agoQt: add a minimize button to MediaInfo dialog
Jean-Baptiste Kempf [Mon, 26 Jan 2015 18:37:10 +0000 (19:37 +0100)]
Qt: add a minimize button to MediaInfo dialog

Close #12137

9 years agoQt: don't have a too long URL displayed
Jean-Baptiste Kempf [Mon, 26 Jan 2015 18:25:36 +0000 (19:25 +0100)]
Qt: don't have a too long URL displayed

Close #12851

9 years agoFix meta title insanity
Ludovic Fauvet [Mon, 26 Jan 2015 17:54:32 +0000 (18:54 +0100)]
Fix meta title insanity

Fix #13642

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoQt: don't allow negative screen-numbers
Jean-Baptiste Kempf [Sun, 25 Jan 2015 18:34:14 +0000 (19:34 +0100)]
Qt: don't allow negative screen-numbers

Close #13643

9 years agoQt: translate wizard buttons (fix #13753)
Francois Cartegnie [Sun, 25 Jan 2015 17:05:07 +0000 (18:05 +0100)]
Qt: translate wizard buttons (fix #13753)

9 years agodemux: ts: factorize PES timestamp reading
Francois Cartegnie [Sat, 24 Jan 2015 17:06:21 +0000 (18:06 +0100)]
demux: ts: factorize PES timestamp reading

9 years agomacosx: Fix font selection when some fonts are disabled
David Fuhrmann [Sun, 25 Jan 2015 15:04:29 +0000 (16:04 +0100)]
macosx: Fix font selection when some fonts are disabled

Usage of selectedFont inside changeFont: is not allowed, and its
not needed as all the necessary work is done in convertFont:.

close #13740

9 years agoRequire libbluray 0.5.0
Jean-Baptiste Kempf [Sun, 25 Jan 2015 12:29:45 +0000 (13:29 +0100)]
Require libbluray 0.5.0

9 years agoi420_yuy2: I420 and YV12 are not the same
Jean-Baptiste Kempf [Sun, 25 Jan 2015 08:03:24 +0000 (09:03 +0100)]
i420_yuy2: I420 and YV12 are not the same

Close #12858

9 years agocontrib: we always have an FPU on iOS
Felix Paul Kühne [Sat, 20 Dec 2014 13:59:47 +0000 (14:59 +0100)]
contrib: we always have an FPU on iOS

9 years ago2015
Jean-Baptiste Kempf [Sat, 24 Jan 2015 08:54:31 +0000 (09:54 +0100)]
2015

Still alive!

9 years agoDirectDraw: revert part of e827a9404e415145dfc348a50632fe0b3338a01c
Jean-Baptiste Kempf [Thu, 22 Jan 2015 17:50:01 +0000 (18:50 +0100)]
DirectDraw: revert part of e827a9404e415145dfc348a50632fe0b3338a01c

9 years agoRevert "Contrib: update upnp win32 patch"
Rafaël Carré [Thu, 22 Jan 2015 17:49:03 +0000 (18:49 +0100)]
Revert "Contrib: update upnp win32 patch"

This reverts commit 853a6c489c353ecd994bc73912139281d30ee0d4.

Breaks compilation with mingw-w64 3.2 :

libtool: compile:  x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I..
-I../upnp/inc -I./inc -I../threadutil/inc -I../ixml/inc -I./src/inc
-I/contrib/x86_64-w64-mingw32/include -DPTW32_STATIC_LIB
-DUPNP_STATIC_LIB -I/contrib/x86_64-w64-mingw32/include
-g -DUPNP_STATIC_LIB -DPTW32_STATIC_LIB -Os -Wall -c src/api/upnpapi.c
-o src/api/libupnp_la-upnpapi.o
src/api/upnpapi.c: In function 'UpnpGetIfInfo':
src/api/upnpapi.c:3214:2: error: unknown type name 'PIP_ADAPTER_ADDRESSES'
  PIP_ADAPTER_ADDRESSES adapts = NULL;
  ^

9 years agoQt: properly show the dialog buttons on Win32
Jean-Baptiste Kempf [Thu, 22 Jan 2015 16:50:02 +0000 (17:50 +0100)]
Qt: properly show the dialog buttons on Win32

Close #13648

9 years agoMention Lame replaygain in NEWS
Jean-Baptiste Kempf [Thu, 22 Jan 2015 14:59:36 +0000 (15:59 +0100)]
Mention Lame replaygain in NEWS

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)