see e967f81f6a.
note, this does **not** affect cat-based module selection items
(of which there are just three in use by the core), since that
mechanism uses subcats not cats.
The config "advanced" flag was unused and has been removed by
6a7a137f7b.
It has been removed from many add_*() macros, but not all. Remove it
from the remaining macros.
That function was a failed attempt at protection against special path
characters within formatted meta-data. It is no longer used for that
purpose, but only for formatting time. It is not difficult to avoid
special characters when formatting time, rendering the function
essentially a useless no-op.
-----
CC access_output/file.lo
access_output/file.c: In function 'Open':
access_output/file.c:288:9: error: implicit declaration of function 'setmode' [-Werror=implicit-function-declaration]
setmode (STDOUT_FILENO, O_BINARY);
^
cc1.exe: some warnings being treated as errors
make.exe[4]: *** [access_output/file.lo] Error 1
-----
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Some muxes, in particular mkv/webm, behave very differently depending on
whether we say that the stream is seekable or not (by providing the IOSeek
function). It does not help that the seek function itself returns an error.
Thus, add a new access_out control called ACCESS_OUT_CAN_SEEK, set to true
for seekable files in the file output only, and propagate the status of that
into avformat at initialization time.
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
http://msdn.microsoft.com/en-us/library/b0084kay(v=vs.80).aspx only
mentions the _ prefixed variable.
gcc will always define the _ prefixed variable, like Visual Studio.
The prefixless one is defined in some language standards, e.g. gnu99
but not c99.
To avoid disrupting existing workflows, the dialog is only shown when
overwrite is disabled. If there is no UI, then it will be assumed that
the file is not overwritten.
If --no-sout-file-overwrite is specified, the access output will refuse
to overwrite an existing file. Overwrite is enabled by default for
backward compatibility with existing command lines.
Thie fixes the following error.
-----
make.exe[1]: Entering directory `F:/lang/work/vlc/vlc.git/modules/access_output'
CC libaccess_output_file_plugin_la-file.lo
file.c: In function 'Open':
file.c:142: error: 'STDOUT_FILENO' undeclared (first use in this function)
file.c:142: error: (Each undeclared identifier is reported only once
file.c:142: error: for each function it appears in.)
make.exe[1]: *** [libaccess_output_file_plugin_la-file.lo] Error 1
make.exe[1]: Leaving directory `F:/lang/work/vlc/vlc.git/modules/access_output'
make.exe: *** [all] Error 2
-----
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
There are several issues with str_format() and str_format_meta():
- the current playlist item is used rather than the actual input,
- the playlist gets activated for nothing,
- they assume the output does not outlive to the input (item).
This mostly reverts commit cccd51a5b8.