]> git.sesse.net Git - vlc/log
vlc
9 years agocodec: mpeg_audio: fix pts update
Tristan Matthews [Sat, 8 Nov 2014 18:04:10 +0000 (13:04 -0500)]
codec: mpeg_audio: fix pts update

Fixes #12722

9 years agovpx: properly quote VPX_LDFLAGS
Sean McGovern [Fri, 7 Nov 2014 03:31:09 +0000 (22:31 -0500)]
vpx: properly quote VPX_LDFLAGS

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoChromecast: fix connection on Windows
Jean-Baptiste Kempf [Fri, 7 Nov 2014 11:57:07 +0000 (12:57 +0100)]
Chromecast: fix connection on Windows

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agotelx/zvbi: initialize aspect ratio
Rafaël Carré [Fri, 7 Nov 2014 11:48:37 +0000 (12:48 +0100)]
telx/zvbi: initialize aspect ratio

9 years agocaopengllayer: use visible rect instead of layer bounds to determine the current...
Felix Paul Kühne [Thu, 6 Nov 2014 23:20:10 +0000 (00:20 +0100)]
caopengllayer: use visible rect instead of layer bounds to determine the current output size

9 years agoatmo: fix invalid delete
Rémi Denis-Courmont [Thu, 6 Nov 2014 21:14:22 +0000 (23:14 +0200)]
atmo: fix invalid delete

9 years agodca: force gnu89 C standard
Sean McGovern [Thu, 6 Nov 2014 15:48:15 +0000 (10:48 -0500)]
dca: force gnu89 C standard

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
9 years agochromecast: double lock
Rémi Denis-Courmont [Wed, 5 Nov 2014 21:32:10 +0000 (23:32 +0200)]
chromecast: double lock

9 years agomosaic: use after free
Rémi Denis-Courmont [Wed, 5 Nov 2014 21:23:35 +0000 (23:23 +0200)]
mosaic: use after free

9 years agocontrib/avcodec: pass extra CFLAGS as LDFLAGS on iOS to have the needed flags
Felix Paul Kühne [Tue, 4 Nov 2014 20:41:53 +0000 (21:41 +0100)]
contrib/avcodec: pass extra CFLAGS as LDFLAGS on iOS to have the needed flags

9 years agoextras/ios: rework LDFLAGS handling and enable vpx for the scary build flavor
Felix Paul Kühne [Tue, 4 Nov 2014 20:41:00 +0000 (21:41 +0100)]
extras/ios: rework LDFLAGS handling and enable vpx for the scary build flavor

9 years agocontrib/vpx: fix compilation for iOS
Felix Paul Kühne [Fri, 31 Oct 2014 18:05:48 +0000 (19:05 +0100)]
contrib/vpx: fix compilation for iOS

9 years agohds: avoid NULL dereference and use-after-free
Tristan Matthews [Wed, 5 Nov 2014 13:27:13 +0000 (08:27 -0500)]
hds: avoid NULL dereference and use-after-free

(cid #1251048 and #1251059)

9 years agocontrib/sparkle: fix runtime exception on snow leopard
Felix Paul Kühne [Tue, 4 Nov 2014 23:12:51 +0000 (00:12 +0100)]
contrib/sparkle: fix runtime exception on snow leopard

9 years agotrivial_mixer: fix arithmetic
Rémi Denis-Courmont [Tue, 4 Nov 2014 21:22:18 +0000 (23:22 +0200)]
trivial_mixer: fix arithmetic

9 years agoFix AC_PATH_PROGS for cygwin and msys2
Martell Malone [Tue, 4 Nov 2014 12:48:53 +0000 (12:48 +0000)]
Fix AC_PATH_PROGS for cygwin and msys2

Fixes searching for native qt5 progs on cygwin and msys2

The reason for the issue is that on windows if there is a space in the path
or if the program is prepends with .exe and we specify the search PATH
in AC_PATH_PROGS we must enclose them in quotes or the program will not be
found.

For future reference, if anyone uses AC_PATH_PROGS please enclose defined
search paths (if you have any) in quotes

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoAdd .au extension
Jean-Baptiste Kempf [Tue, 4 Nov 2014 16:15:40 +0000 (17:15 +0100)]
Add .au extension

9 years agoRevert "vout: fix picture lock/unlock with private pool"
Rémi Denis-Courmont [Mon, 3 Nov 2014 20:43:24 +0000 (22:43 +0200)]
Revert "vout: fix picture lock/unlock with private pool"

This mostly reverts commit 6a6c23bf075ba70844f8e9b51991df74952d616f.

9 years agovmem: unlock picture in prepare, get rid of lock/unlock
Rémi Denis-Courmont [Mon, 3 Nov 2014 20:39:34 +0000 (22:39 +0200)]
vmem: unlock picture in prepare, get rid of lock/unlock

9 years agopicture_pool: improve and update documentation
Rémi Denis-Courmont [Mon, 3 Nov 2014 18:42:57 +0000 (20:42 +0200)]
picture_pool: improve and update documentation

9 years agoWayland: fix attaching and detaching protocol-side buffer objects
Rémi Denis-Courmont [Mon, 3 Nov 2014 17:58:51 +0000 (19:58 +0200)]
Wayland: fix attaching and detaching protocol-side buffer objects

9 years agopicture_pool: add enumeration helper
Rémi Denis-Courmont [Mon, 3 Nov 2014 17:55:41 +0000 (19:55 +0200)]
picture_pool: add enumeration helper

9 years agopicture_pool: fix double mutex_unlock if pic_lock fails
Thomas Guillem [Mon, 3 Nov 2014 10:22:13 +0000 (11:22 +0100)]
picture_pool: fix double mutex_unlock if pic_lock fails

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 years agoopengl: remove lock/unlock callbacks
Rémi Denis-Courmont [Mon, 3 Nov 2014 17:13:56 +0000 (19:13 +0200)]
opengl: remove lock/unlock callbacks

They are superseded by makeCurrent() and releaseCurrent().

9 years agovmem: unlock before display
Rémi Denis-Courmont [Mon, 3 Nov 2014 16:10:15 +0000 (18:10 +0200)]
vmem: unlock before display

The documentation promises that the picture is unlocked before it is
displayed, so actually do that.

9 years agotrivial_mixer: fix upmix/downmix
Rémi Denis-Courmont [Mon, 3 Nov 2014 15:56:50 +0000 (17:56 +0200)]
trivial_mixer: fix upmix/downmix

9 years agoWin32: sign dlls and exe
Jean-Baptiste Kempf [Mon, 3 Nov 2014 10:41:57 +0000 (11:41 +0100)]
Win32: sign dlls and exe

9 years agoaccess: bd: add assertion
Tristan Matthews [Sun, 2 Nov 2014 23:08:15 +0000 (18:08 -0500)]
access: bd: add assertion

9 years agodemux: ogg: avoid use-after-free
Tristan Matthews [Sun, 2 Nov 2014 22:51:30 +0000 (17:51 -0500)]
demux: ogg: avoid use-after-free

9 years agohttpcookies: fix heap read overflow (fixes #12674)
Rémi Denis-Courmont [Sun, 2 Nov 2014 15:06:40 +0000 (17:06 +0200)]
httpcookies: fix heap read overflow (fixes #12674)

Cc: Antti Ajanki <antti.ajanki@iki.fi>
9 years agodemux: avi: set PCR on seek
Francois Cartegnie [Sun, 2 Nov 2014 14:12:22 +0000 (15:12 +0100)]
demux: avi: set PCR on seek

9 years agocodec: avcodec: simplify clock set condition
Francois Cartegnie [Sun, 2 Nov 2014 13:18:00 +0000 (14:18 +0100)]
codec: avcodec: simplify clock set condition

date is always >= VLC_TS_INVALID

9 years agocodec: avcodec: use TS_INVALID for 0 time init
Francois Cartegnie [Sun, 2 Nov 2014 13:15:55 +0000 (14:15 +0100)]
codec: avcodec: use TS_INVALID for 0 time init

9 years agotrivial_mixer: try to fix dual-mono (fixes #12673)
Rémi Denis-Courmont [Sun, 2 Nov 2014 10:08:56 +0000 (12:08 +0200)]
trivial_mixer: try to fix dual-mono (fixes #12673)

Original channels is under-specified in my opinion. If you know where
the design documentation is, please tell me.

9 years agoPulseAudio: clobber original channels (refs #12673)
Rémi Denis-Courmont [Sun, 2 Nov 2014 09:35:16 +0000 (11:35 +0200)]
PulseAudio: clobber original channels (refs #12673)

Do like the other outputs do.

9 years agotrivial_mixer: specialize filter callbacks directly
Rémi Denis-Courmont [Sun, 2 Nov 2014 09:07:55 +0000 (11:07 +0200)]
trivial_mixer: specialize filter callbacks directly

9 years agotrivial_mixer: select conversion in Create(), not DoWork()
Rémi Denis-Courmont [Sun, 2 Nov 2014 08:52:19 +0000 (10:52 +0200)]
trivial_mixer: select conversion in Create(), not DoWork()

9 years agotrivial_mixer: cosmetics
Rémi Denis-Courmont [Sun, 2 Nov 2014 08:16:49 +0000 (10:16 +0200)]
trivial_mixer: cosmetics

9 years agoDVDnav: remove unused includes
Jean-Baptiste Kempf [Sat, 1 Nov 2014 18:17:24 +0000 (19:17 +0100)]
DVDnav: remove unused includes

9 years agotools: build protoc support libraries as static
Sean McGovern [Sat, 1 Nov 2014 14:43:37 +0000 (10:43 -0400)]
tools: build protoc support libraries as static

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoContribs: disable aribb25 until MacOS is supported
Jean-Baptiste Kempf [Sat, 1 Nov 2014 17:24:41 +0000 (18:24 +0100)]
Contribs: disable aribb25 until MacOS is supported

9 years agoKate: fix typo
Jean-Baptiste Kempf [Sat, 1 Nov 2014 16:34:59 +0000 (17:34 +0100)]
Kate: fix typo

9 years agodecoder: remove decoder_DeleteSubpicture() and fix a leak
Rémi Denis-Courmont [Sat, 1 Nov 2014 16:30:39 +0000 (18:30 +0200)]
decoder: remove decoder_DeleteSubpicture() and fix a leak

9 years agoes_out: unused variable
Rémi Denis-Courmont [Sat, 1 Nov 2014 16:26:26 +0000 (18:26 +0200)]
es_out: unused variable

9 years agodecoder: fix comment
Rémi Denis-Courmont [Sat, 1 Nov 2014 16:20:35 +0000 (18:20 +0200)]
decoder: fix comment

9 years agocmake: bump to version 3.0.2
Sean McGovern [Sat, 1 Nov 2014 13:43:08 +0000 (13:43 +0000)]
cmake: bump to version 3.0.2

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agolibmp4: fix segfault
Francois Cartegnie [Wed, 29 Oct 2014 15:38:09 +0000 (15:38 +0000)]
libmp4: fix segfault

Le 28/10/2014 23:11, Frédéric Yhuel a écrit :
>  static int MP4_NextBox( stream_t *p_stream, MP4_Box_t *p_box )
>  {
> -    MP4_Box_t box;
> +    MP4_Box_t box = {0};
>
>      if( !p_box )
>      {
>

Better fail early. (untested, no sample)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agohds: Implement STREAM_GET_POSITION and STREAM_GET_SIZE
Antti Ajanki [Wed, 29 Oct 2014 17:04:28 +0000 (17:04 +0000)]
hds: Implement STREAM_GET_POSITION and STREAM_GET_SIZE

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agovout: fix picture lock/unlock with private pool
Rémi Denis-Courmont [Sat, 1 Nov 2014 13:59:55 +0000 (15:59 +0200)]
vout: fix picture lock/unlock with private pool

9 years agopicture_pool: fix prototype, fix warnings
Rémi Denis-Courmont [Sat, 1 Nov 2014 13:58:51 +0000 (15:58 +0200)]
picture_pool: fix prototype, fix warnings

9 years agopicture_pool: partly fix integer overflow
Rémi Denis-Courmont [Sat, 1 Nov 2014 12:56:13 +0000 (14:56 +0200)]
picture_pool: partly fix integer overflow

picture_pool_NonEmpty() still won´t work quite right when the overflow
happens, but that function is a horrible dysfunctional hack anyway.

9 years agoWin32: we don't need libstdc++-6.dll or libwinpthread-1.dll
Jean-Baptiste Kempf [Sat, 1 Nov 2014 12:54:40 +0000 (13:54 +0100)]
Win32: we don't need libstdc++-6.dll or libwinpthread-1.dll

libgcc_s is still needed, for C++ modules

Gotta love libtool

Ref #12620

9 years agopicture_pool: remove ..._Delete(), use ..._Release() directly
Rémi Denis-Courmont [Sat, 1 Nov 2014 12:46:48 +0000 (14:46 +0200)]
picture_pool: remove ..._Delete(), use ..._Release() directly

9 years agolib: use app-icon-name for libvlc_set_app_id
Jean-Baptiste Kempf [Sat, 1 Nov 2014 12:42:08 +0000 (13:42 +0100)]
lib: use app-icon-name for libvlc_set_app_id

9 years agovout: print error if the decoder leaked pictures
Rémi Denis-Courmont [Wed, 29 Oct 2014 14:46:02 +0000 (16:46 +0200)]
vout: print error if the decoder leaked pictures

9 years agoBDA: support for DVB-T2
Konstantin K. Beliak [Sat, 1 Nov 2014 12:34:03 +0000 (13:34 +0100)]
BDA: support for DVB-T2

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoavcodec: simplify picture references
Rémi Denis-Courmont [Sat, 1 Nov 2014 12:29:20 +0000 (14:29 +0200)]
avcodec: simplify picture references

9 years agodecoder: remove decoder_UnlinkPicture() and decoder_DeletePicture()
Rémi Denis-Courmont [Sat, 1 Nov 2014 12:25:50 +0000 (14:25 +0200)]
decoder: remove decoder_UnlinkPicture() and decoder_DeletePicture()

Use picture_Release() directly.

9 years agovout: remove vout_ReleasePicture()
Rémi Denis-Courmont [Sat, 1 Nov 2014 12:17:01 +0000 (14:17 +0200)]
vout: remove vout_ReleasePicture()

9 years agovout: remove the picture lock (fixes #11669)
Rémi Denis-Courmont [Sat, 1 Nov 2014 12:11:34 +0000 (14:11 +0200)]
vout: remove the picture lock (fixes #11669)

This is no longer necessary as picture pools are locked internally.

9 years agopicture_pool: no longer muck with the reference counts, fix races
Rémi Denis-Courmont [Sat, 1 Nov 2014 08:10:37 +0000 (10:10 +0200)]
picture_pool: no longer muck with the reference counts, fix races

9 years agopicture_pool: simplify and clean-up pool deletion
Rémi Denis-Courmont [Sat, 1 Nov 2014 08:02:33 +0000 (10:02 +0200)]
picture_pool: simplify and clean-up pool deletion

9 years agopicture_pool: simplify and clean-up reserve pool
Rémi Denis-Courmont [Sat, 1 Nov 2014 09:08:19 +0000 (11:08 +0200)]
picture_pool: simplify and clean-up reserve pool

9 years agopicture_pool: wrap pooled pictures
Rémi Denis-Courmont [Sat, 1 Nov 2014 10:00:14 +0000 (12:00 +0200)]
picture_pool: wrap pooled pictures

The pool can now have its own independent garbage collector, that no
longer clobbers the original garbage collector.

9 years agovout: destroy the private pool while resetting the decoder pool
Rémi Denis-Courmont [Sat, 1 Nov 2014 11:25:36 +0000 (13:25 +0200)]
vout: destroy the private pool while resetting the decoder pool

Otherwise picture references from the private pool get clobbered.

9 years agostream_filter: aribcam: fix old library path
Yuudai Yamashigi [Sat, 1 Nov 2014 12:26:21 +0000 (13:26 +0100)]
stream_filter: aribcam: fix old library path

That fork uses a different path to avoid problems

9 years agoQt: prevent focus stealing on seekbar tooltip
Jean-Baptiste Kempf [Sat, 1 Nov 2014 12:13:51 +0000 (13:13 +0100)]
Qt: prevent focus stealing on seekbar tooltip

Why be consistent, Qt?

Close #12671

9 years agomacosx: Fix resume playback in certain situations
David Fuhrmann [Sat, 1 Nov 2014 11:26:48 +0000 (12:26 +0100)]
macosx: Fix resume playback in certain situations

For resumption we need to rely on the "time" variable instead of
"position", as the total duration of the file might not have been
set yet.

Also simplifies the code.

close #11981

9 years agomacosx: do not use the cone as sidebar icons
David Fuhrmann [Thu, 30 Oct 2014 21:39:26 +0000 (22:39 +0100)]
macosx: do not use the cone as sidebar icons

The cone does not really fit and looks ugly. Instead, use the
broadcast icon for all internet-related sd's and local icon for
devices category.

9 years agodecoder: stray declaration
Rémi Denis-Courmont [Sat, 1 Nov 2014 09:41:12 +0000 (11:41 +0200)]
decoder: stray declaration

9 years agopicture_pool_NewFromFormat: improve error handling
Rémi Denis-Courmont [Sat, 1 Nov 2014 09:02:00 +0000 (11:02 +0200)]
picture_pool_NewFromFormat: improve error handling

9 years agopicture_pool: fix prototypes
Rémi Denis-Courmont [Sat, 1 Nov 2014 08:59:44 +0000 (10:59 +0200)]
picture_pool: fix prototypes

9 years agopicture_pool: fix refcount leak if pic_lock fails.
Thomas Guillem [Fri, 31 Oct 2014 16:30:39 +0000 (17:30 +0100)]
picture_pool: fix refcount leak if pic_lock fails.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 years agodecoder: remove decoder_LinkPicture()
Rémi Denis-Courmont [Thu, 30 Oct 2014 21:05:51 +0000 (23:05 +0200)]
decoder: remove decoder_LinkPicture()

9 years agovout: remove vout_HoldPicture()
Rémi Denis-Courmont [Thu, 30 Oct 2014 21:00:11 +0000 (23:00 +0200)]
vout: remove vout_HoldPicture()

9 years agovout: remove unncessary lock in vout_HoldPicture()
Rémi Denis-Courmont [Thu, 30 Oct 2014 20:57:51 +0000 (22:57 +0200)]
vout: remove unncessary lock in vout_HoldPicture()

picture_Hold() is reentrant anyway. The vout picture lock protects
the decoder pool. The decoder pool may be modified by picture_Release()
but not by picture_Hold().

9 years agovout: remove unnecessary lock around the picture FIFO
Rémi Denis-Courmont [Thu, 30 Oct 2014 20:55:27 +0000 (22:55 +0200)]
vout: remove unnecessary lock around the picture FIFO

The picture FIFO has a lock internally to protect its internal state
while picture references protect the pictures.

There is no need to protect the FIFO usage with the picture lock.
At this point, the picture lock is only protected the decoder pool.

9 years agovout_ReleasePicture: do not wake up the video output thread
Rémi Denis-Courmont [Thu, 30 Oct 2014 20:44:42 +0000 (22:44 +0200)]
vout_ReleasePicture: do not wake up the video output thread

The video output thread never allocates pictures from the decoder
thread. It uses the reserve private pool and, when if not rendering
directly, the display pool. Thus it has nothing particular to do when
a decoder pool picture is released.

(vout_PutPicture() wakes the thread up to kick rendering.)

9 years agocontrib: add JACK
Tristan Matthews [Fri, 31 Oct 2014 20:58:25 +0000 (16:58 -0400)]
contrib: add JACK

Default disabled for now.

9 years agoandroid/opaque: fix crash on Close with subtitles
Thomas Guillem [Fri, 31 Oct 2014 16:17:23 +0000 (17:17 +0100)]
android/opaque: fix crash on Close with subtitles

The pixels allocated from picture_NewFromFormat were replaced (and leaked) by
pixels allocated by android native windows. This also leaded to a crash on
Close when subtitles_picture was freed.

Use picture_NewFromResource with an empty to resource in order to don't
allocate any pixels.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoandroid/opaque: check if subtitles_picture is not NULL
Thomas Guillem [Fri, 31 Oct 2014 16:17:22 +0000 (17:17 +0100)]
android/opaque: check if subtitles_picture is not NULL

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoandroid/opaque: fix indent
Thomas Guillem [Fri, 31 Oct 2014 16:17:21 +0000 (17:17 +0100)]
android/opaque: fix indent

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoWin32: copy the BD-J jar to the release folder
Jean-Baptiste Kempf [Thu, 30 Oct 2014 01:25:52 +0000 (02:25 +0100)]
Win32: copy the BD-J jar to the release folder

9 years agodoc: make libvlc_audio_set_volume_callback() dependency explicit
Rémi Denis-Courmont [Thu, 30 Oct 2014 19:11:39 +0000 (21:11 +0200)]
doc: make libvlc_audio_set_volume_callback() dependency explicit

9 years agopicture_Hold: add an assertion
Rémi Denis-Courmont [Thu, 30 Oct 2014 19:02:43 +0000 (21:02 +0200)]
picture_Hold: add an assertion

9 years agoWayland/SHM: fix memory leak
Rémi Denis-Courmont [Thu, 30 Oct 2014 16:54:34 +0000 (18:54 +0200)]
Wayland/SHM: fix memory leak

9 years agopicture: separate destroy callbacks
Rémi Denis-Courmont [Thu, 30 Oct 2014 16:02:27 +0000 (18:02 +0200)]
picture: separate destroy callbacks

Use a separate callback for pictures allocated in heap and pictures
allocated from video output buffers.

9 years agospu: remove filter_DeleteSubpicture()
Rémi Denis-Courmont [Thu, 30 Oct 2014 15:25:25 +0000 (17:25 +0200)]
spu: remove filter_DeleteSubpicture()

This is only used in error corner cases, and is always the same as
calling subpicture_Delete() directly.

9 years agofilter: remove filter_DeletePicture()
Rémi Denis-Courmont [Thu, 30 Oct 2014 15:18:53 +0000 (17:18 +0200)]
filter: remove filter_DeletePicture()

All variants of the filter_t.video.buffer_del callback invoke
picture_Release() - possibly through recursion.

Most filters used picture_Release() directly already.

9 years agodecoder: separate vout initialization from buffer allocation
Thomas Guillem [Thu, 30 Oct 2014 14:16:13 +0000 (15:16 +0100)]
decoder: separate vout initialization from buffer allocation

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 years agoOpenGL: simplify pool creation
Rémi Denis-Courmont [Thu, 30 Oct 2014 14:04:16 +0000 (16:04 +0200)]
OpenGL: simplify pool creation

9 years agoMSW/GDI: simplify pool creation
Rémi Denis-Courmont [Thu, 30 Oct 2014 14:03:59 +0000 (16:03 +0200)]
MSW/GDI: simplify pool creation

9 years agocontrib: aribb25: dist source doesn't need bootstrap
Yuudai Yamashigi [Thu, 30 Oct 2014 06:51:44 +0000 (07:51 +0100)]
contrib: aribb25: dist source doesn't need bootstrap

9 years agopicture_pool: fix race condition
Rémi Denis-Courmont [Tue, 28 Oct 2014 19:30:02 +0000 (21:30 +0200)]
picture_pool: fix race condition

This makes picture_pool_Get() reentrant.

9 years agoUnexport picture_pool_NonEmpty()
Rémi Denis-Courmont [Wed, 29 Oct 2014 19:25:44 +0000 (21:25 +0200)]
Unexport picture_pool_NonEmpty()

9 years agopool: move lock/unlock callbacks to picture_pool_t
Rémi Denis-Courmont [Mon, 27 Oct 2014 17:54:15 +0000 (19:54 +0200)]
pool: move lock/unlock callbacks to picture_pool_t

This reduces the size of picture_gc_sys_t. The callbacks are always the
same for all pictures in a given pool.

9 years agopicture_pool: split picture_pool_NonEmpty and picture_pool_Reset
Rémi Denis-Courmont [Wed, 29 Oct 2014 14:43:38 +0000 (16:43 +0200)]
picture_pool: split picture_pool_NonEmpty and picture_pool_Reset

9 years agopool: keep reference to pool in each picture
Rémi Denis-Courmont [Mon, 27 Oct 2014 19:16:09 +0000 (21:16 +0200)]
pool: keep reference to pool in each picture

9 years agopicture_pool: remove unnecessary special case
Rémi Denis-Courmont [Mon, 27 Oct 2014 19:05:00 +0000 (21:05 +0200)]
picture_pool: remove unnecessary special case

We can offload the picture deletion to Destroy() in all cases.

9 years agomacosx: Add own callback path for item-change
David Fuhrmann [Wed, 29 Oct 2014 19:00:51 +0000 (20:00 +0100)]
macosx: Add own callback path for item-change

The item-change callback might be called very often, and thus an
own code path is better, with only necessary updates.

Additionally, this fixes multiple resume playback dialogs occuring
at once when starting playback in certain situations.

refs #11981