This cleans up unnecessary code which could be replaced by a much simple
check to determine if VLC is in foreground or not.
Add a missing release.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
This renames the Growl plugin to OS X Notifications to highlight
the new capabilities and to not advertise Growl so much, as
requested.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Handling the redirection in the access core enables support for
redirection between different protocols (e.g. HTTP to FTP) and more
generally different access plugins (e.g. HTTP to HTTP2 in future).
This test compare IO output/returns between libc FILE functions and stream
functions.
This commit also add an extra test: 'test_src_input_stream_net' to test a http
file.
Many existing demuxers do not use the generic control helper providing
those control queries. But as we now need to support those queries for
manifest-based or asynchronous demuxers, this fallback becomes
necessary.
We could also just do ahead and implement the controls in all demuxers.
Help yourself.
Some demuxers support seeking even if the underlying byte stream is not
seekable (e.g. subtitles). Also some demuxers do not support seeking
regardless of the underlying byte stream.
So it makes more sense to check the status from the demuxer. Most
demuxers just copy or forward the value from the byte stream.
Note: if in doubt, a demuxer can always claim seek support, and
eventually fail both DEMUX_SET_TIME and DEMUX_SET_POSITION. The seek is
only used as a hint for user interfaces; it has no effects on the input
thread as such.
The patch comments out logging which causes a warning log message
when setting the growl bridge delegate to nil. This is a problem,
as we need to set it to nil, so that the growl bridge will release
our delegate. Else it will never be released and dealloc will
not get called.
Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>