Daniel Mierswa [Thu, 21 Jan 2010 23:25:07 +0000 (00:25 +0100)]
Simplify vcdx configure.ac logic.
HAVE_{LIBCDIO,LIBVCDINFO} and have_{libcdio,libvcdinfo} were nowhere
used in the source except when --enable-vcdx was given, hence only probe
for them when vcdx is to be enabled.
Since have_libvcdinfo (which is a requirement for vcdx) can only be
enabled if have_libcdio was defined, I simply put it in the enable_vcdx
block. And because vcdx needs to be explicitly enabled, we can safely
AC_MSG_ERROR on every missing library.
Laurent Aimar [Thu, 21 Jan 2010 22:07:47 +0000 (23:07 +0100)]
Made stream_t size and position unsigned.
It fixes segfaults in src/input/stream.c (at least) when demuxers
overflow int64_t seek position, and avoid testing for negative values
everywhere.
stream_Tell() and stream_Size() still returns signed values as too much code
depend on it.
This codec wasn't good.
It didn't work on SIPR correctly in all cases.
The code had lots of warnings.
The philosophy of it sucks (opening dlls...)
It didn't work on non-standard architecture.
It seem to not work because of cross-compilation. It seems to call directly pkg-config with no way of overriding it.
--disable-avs-input --disable-lavf-input --disable-ffms-input --disable-mp4-output
Save the fact that an item has a callback, not the callback itself
Saving pointers in the cache makes no sense. In this case, we only want
to know that the plugin must be preloaded so that the configuration item
callback works from the preference dialog.
Pierre Ynard [Wed, 20 Jan 2010 18:02:28 +0000 (19:02 +0100)]
live555: remove broken obsolete work-around
This can't be useful anymore, otherwise connections would always
fail... and it was preventing VLC from prompting the user for
authentication credentials (untested).
JP Dinger [Wed, 20 Jan 2010 09:28:03 +0000 (10:28 +0100)]
activex plugin: Replace duplicated get_object methods with calls to
a templated helper. The holder variables are not otherwise used so a
pointer to the (virtual) interface classes works fine.
This reverts commit cbb409e5551b3e663d49fb644bad31256988a6fc, i.e. yet
another proof of the total lack of respect that M2X has for other people
(volunteer's) time and/or code quality.
Erwan Tulou [Tue, 19 Jan 2010 19:46:42 +0000 (20:46 +0100)]
qt4(Win32): fix fullscreen issue on Windows
On Windows, fullscreen was displayed with a frame and title.
Passing the newflags when reparenting works out the problem.
patch tested successfully on Linux and WinXP. other Win flavors to be tested
JP Dinger [Tue, 19 Jan 2010 13:35:10 +0000 (14:35 +0100)]
Add libvlc interface to video_filter/logo module, like the
marquee filter. Also change logo parameter transparency to
opacity for consistency with marquee.
Input: attach before any variable access so that inheritance works
So far, the input was attached after it inherited quite a bunch of
variables. This did not quite work. The problem lies in the dual use
of object attachment: variables inheritance and tree search.
Nowadays, the input object should not be looked for before it is
initialized. Only children objects use vlc_object_find anymore, and
they can only exist while the input is fully initialized. Other code
paths use playlist_CurrentInput() or such, which only ever return an
already initialized input (from input.c:Create()).
(N.B.: I wonder if there aren't similar issues in VOUT and AOUT)
Fixes: Qt playlist was not able to display the SAP service discovery
because Qt relies on a call to playlist_ChildSearchName().
The name defined as module longtext must be the same as the SD probe
name.
Pierre Souchay [Mon, 18 Jan 2010 08:21:16 +0000 (09:21 +0100)]
ASX ads behaviour
When the first entry is read and has a clientskip attribute, It keeps a
backup of the playlist entry for later use. If another entry exists
without clientskip attribute, the backup will be discarded.
When finished parsing, we search for a backup, if found, we add it (it
means we did not find any entry).