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.
If playlists containing youtube urls are exported or imported, these patches
improve the usability of the playlist.
Lua remembers the original url (i.e. the website _containing_ the content) if
no other url is passed by the lua parsers. It also puts the content title to
the meta-title entry.
XSPF export / import now uses the <info> to deal with the meta-url.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
This is way more flexible than ACL:
- does not need admin rights to edit,
- does not assume the clients have fixed IP addresses,
- does not assume the clients are single user systems,
- is a better understood concept than access control lists.
...as for plugins directory. Most of the content is anyway per-process,
either because gettext and interfaces are per-process. The only caller
of the function that is not an interface or gettext is the DVB scanner.
This is even probably a bug.
This fixes some problems when the system or VLC play evil tricks with
the preprocessor. (Only files including sys/stat.h are concerned with
this commit. I did not fix all files.)
See #4455. The lua interface merely polls, reads and writes on file
descriptors 0 and 1, and expects it to work. There is no support for
spawning a console and redirecting/getting file descriptors to it, and
file descriptors are mixed with socket descriptors and polled, which
won't work on windows. Until something is done about it, revert to the
old rc interface
This fixes this kind of scenario: you want to save a video from your
favorite video website. So you open the VLC GUI, you copy/paste the URL
into the convert dialog and you click on okay. The corresponding
playlist lua script processes the URL and a new item is added into the
playlist, but the :sout option is lost in the process, and you start
watching a video that is never saved.