]> git.sesse.net Git - vlc/log
vlc
14 years agoQt: ensure that item selection has visible effect in playlist views
Jakob Leben [Wed, 3 Mar 2010 12:44:25 +0000 (13:44 +0100)]
Qt: ensure that item selection has visible effect in playlist views

Fix #3349.
Unfortunately we can not use QStyle to handle selection generically across platforms.

14 years agoQt: use float for rate and fix a bug when mouseWheeling
Jean-Baptiste Kempf [Tue, 2 Mar 2010 23:07:10 +0000 (00:07 +0100)]
Qt: use float for rate and fix a bug when mouseWheeling

14 years agoUpdate the rate value when setting the input.
Antoine Cellerier [Tue, 2 Mar 2010 22:19:06 +0000 (23:19 +0100)]
Update the rate value when setting the input.

14 years agoParse input specific options earlier to enable using :rate=something
Antoine Cellerier [Tue, 2 Mar 2010 22:09:34 +0000 (23:09 +0100)]
Parse input specific options earlier to enable using :rate=something

14 years agoCheck rate value before using.
Antoine Cellerier [Tue, 2 Mar 2010 21:56:59 +0000 (22:56 +0100)]
Check rate value before using.

14 years agoRemoved down/up mixing support from mpgatofixed32.
Laurent Aimar [Tue, 2 Mar 2010 20:26:35 +0000 (21:26 +0100)]
Removed down/up mixing support from mpgatofixed32.

 It was incomplete and was creating issues when the audio output provided a
non mono device (close #3272).

14 years agoPrefer use of function references for buttons
Antoine Cellerier [Tue, 2 Mar 2010 13:51:05 +0000 (14:51 +0100)]
Prefer use of function references for buttons

Use of function references rather than function names to store button
actions. This allows using all kinds of functions, including non global
ones. Note that the old mechanism using global function names is not
supported anymore. Existing scripts will need to be fixed (-> just
remove the quotes around the function name).

14 years agoLua: Misc simplifications.
Antoine Cellerier [Tue, 2 Mar 2010 13:33:11 +0000 (14:33 +0100)]
Lua: Misc simplifications.

14 years agoChange vlc.stream() and vlc.memory_stream() error reporting to behave like lua's...
Antoine Cellerier [Tue, 2 Mar 2010 11:44:26 +0000 (12:44 +0100)]
Change vlc.stream() and vlc.memory_stream() error reporting to behave like lua's io.open() or loadfile() functions.

14 years agoHandle -v correctly (i.e. as most other programs do)
Rémi Denis-Courmont [Tue, 2 Mar 2010 20:12:02 +0000 (22:12 +0200)]
Handle -v correctly (i.e. as most other programs do)

14 years agoInstall and look for plugins in plugins/, not modules/ (fixes: #3352)
Rémi Denis-Courmont [Tue, 2 Mar 2010 20:07:50 +0000 (22:07 +0200)]
Install and look for plugins in plugins/, not modules/ (fixes: #3352)

14 years agoXSPF: fix NULL dereference on empty <location>
Rémi Denis-Courmont [Tue, 2 Mar 2010 19:30:08 +0000 (21:30 +0200)]
XSPF: fix NULL dereference on empty <location>

14 years agoInput item URI cannot be NULL
Rémi Denis-Courmont [Tue, 2 Mar 2010 19:24:29 +0000 (21:24 +0200)]
Input item URI cannot be NULL

14 years agoQt: display the correct rate
Jean-Baptiste Kempf [Tue, 2 Mar 2010 15:53:11 +0000 (16:53 +0100)]
Qt: display the correct rate

Close #3368

14 years agoQt: simplify SpeedLabel constructor
Jean-Baptiste Kempf [Tue, 2 Mar 2010 10:59:37 +0000 (11:59 +0100)]
Qt: simplify SpeedLabel constructor

Ref #3368

14 years agoSplitMRL: warn if we get a path instead of a MRL/URI
Rémi Denis-Courmont [Mon, 1 Mar 2010 21:22:46 +0000 (23:22 +0200)]
SplitMRL: warn if we get a path instead of a MRL/URI

14 years agostream redirected path is a path, not a URI (i.e. no scheme)
Rémi Denis-Courmont [Mon, 1 Mar 2010 21:21:49 +0000 (23:21 +0200)]
stream redirected path is a path, not a URI (i.e. no scheme)

14 years agoRevert "Use pushliteral instead of pushstring where possible. Saves a strlen call."
Antoine Cellerier [Tue, 2 Mar 2010 11:24:41 +0000 (12:24 +0100)]
Revert "Use pushliteral instead of pushstring where possible. Saves a strlen call."

This reverts commit d69b5e609845a113328dc724e241d5e900091c9f.

14 years agoUse var_Inherit instead of var_CreateGet + var_Destroy.
Antoine Cellerier [Tue, 2 Mar 2010 11:21:25 +0000 (12:21 +0100)]
Use var_Inherit instead of var_CreateGet + var_Destroy.

14 years agoUse pushliteral instead of pushstring where possible. Saves a strlen call.
Antoine Cellerier [Fri, 26 Feb 2010 11:14:26 +0000 (12:14 +0100)]
Use pushliteral instead of pushstring where possible. Saves a strlen call.

14 years agoPlaylist: fix faulty duration sorting due to integer overflow
Jakob Leben [Tue, 2 Mar 2010 10:12:03 +0000 (11:12 +0100)]
Playlist: fix faulty duration sorting due to integer overflow

close #3361

14 years agoFixed closed caption decoder with CC3/4 and TX data.
Laurent Aimar [Mon, 1 Mar 2010 20:11:17 +0000 (21:11 +0100)]
Fixed closed caption decoder with CC3/4 and TX data.

14 years agocore: two typos
Erwan Tulou [Mon, 1 Mar 2010 20:50:32 +0000 (21:50 +0100)]
core: two typos

14 years agoskins2(Win32): no need to manage a two window classes
Erwan Tulou [Mon, 1 Mar 2010 20:12:42 +0000 (21:12 +0100)]
skins2(Win32): no need to manage a two window classes

14 years agoskins(Win32): replace GetWindowDC with GetDC
Erwan Tulou [Mon, 1 Mar 2010 17:16:47 +0000 (18:16 +0100)]
skins(Win32): replace GetWindowDC with GetDC

GetWindowDC paints in nonclient area (not recommended on msdn)
and not needed for skins. Also, it doesn't take WS_CLIPCHILDREN
into account and forced to add a lengthy hack which can now be removed.

This patch hopefully could also fix a refresh issue found only on
Vista/Win7 (to be tested) (http://forum.videolan.org/viewtopic.php?f=15&t=68891)

14 years agoQt4: use explicit direct connections when passing VLC pointers...
Rémi Denis-Courmont [Mon, 1 Mar 2010 19:06:10 +0000 (21:06 +0200)]
Qt4: use explicit direct connections when passing VLC pointers...

...without reference. With a direct connection, the call stack ensures
that the pointer remains valid until the slot returns. This is not the
case for asynchronous ("queued" in Qt4 documentation) signals.

Obviously, this means we have to emit the signals from the Qt4 main loop
thread, *or* alternatively not touch any Qt4 UI stuff fromt he slot.
Hopefully, any such bug would be easier to find this ways.

14 years agoRevert "Qt4: passing pointers over thread signals is not allowed..."
Rémi Denis-Courmont [Mon, 1 Mar 2010 18:40:34 +0000 (20:40 +0200)]
Revert "Qt4: passing pointers over thread signals is not allowed..."

This reverts commit dcd592840d22bc93d287c9edbba72625746d1096.

This bug is so pervasive within the Qt4 interface that removing this
instance won't make a difference.

14 years agolibvlc: Attempt to fix set_nsobject() with QMacCocoaViewContainer and improve documen...
Pierre d'Herbemont [Sun, 28 Feb 2010 22:53:00 +0000 (23:53 +0100)]
libvlc: Attempt to fix set_nsobject() with QMacCocoaViewContainer and improve documentation.

14 years agoVLCKit: isPreparsed doesn't exists anymore.
Pierre d'Herbemont [Fri, 26 Feb 2010 14:11:29 +0000 (15:11 +0100)]
VLCKit: isPreparsed doesn't exists anymore.

14 years agolibvlc: Use a union for libvlc_media_track_info_t.
Pierre d'Herbemont [Thu, 25 Feb 2010 22:53:08 +0000 (23:53 +0100)]
libvlc: Use a union for libvlc_media_track_info_t.

14 years agoLua SD: fix leaking
Fabio Ritrovato [Sun, 28 Feb 2010 22:43:39 +0000 (23:43 +0100)]
Lua SD: fix leaking

14 years agoQt: clean and cosmetics
Jean-Baptiste Kempf [Sun, 28 Feb 2010 14:00:23 +0000 (15:00 +0100)]
Qt: clean and cosmetics

14 years agoQt: undock the playlist
Jean-Baptiste Kempf [Wed, 24 Feb 2010 15:19:53 +0000 (16:19 +0100)]
Qt: undock the playlist

Ref #3332

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
14 years agoShip everything that is needed for lua script on Win32
Jean-Baptiste Kempf [Sun, 28 Feb 2010 19:26:03 +0000 (20:26 +0100)]
Ship everything that is needed for lua script on Win32

Patch by ale5000, on IRC. Close #3336

14 years agoFix doxygen documentation.
Rémi Duraffort [Sun, 28 Feb 2010 22:03:41 +0000 (23:03 +0100)]
Fix doxygen documentation.

14 years agoQt4: passing pointers over thread signals is not allowed...
Rémi Denis-Courmont [Sun, 28 Feb 2010 19:35:45 +0000 (21:35 +0200)]
Qt4: passing pointers over thread signals is not allowed...

...unless proper reference counting si involved,
or the signal is blocking queued (but that is deadlock-prone).

Ref: LP#528285

14 years agoThis is still buggy.
Rémi Denis-Courmont [Sun, 28 Feb 2010 17:10:46 +0000 (19:10 +0200)]
This is still buggy.

14 years agoFix debug messages.
Antoine Cellerier [Sun, 28 Feb 2010 17:00:46 +0000 (18:00 +0100)]
Fix debug messages.

14 years agoFTP: handle ftp://HOST correctly
Rémi Denis-Courmont [Sun, 28 Feb 2010 16:53:52 +0000 (18:53 +0200)]
FTP: handle ftp://HOST correctly

This should fix LP#465560 - segmentation fault in strstr()

14 years agolibvlc_media_player_play: missing unlock
Rémi Denis-Courmont [Sun, 28 Feb 2010 15:47:07 +0000 (17:47 +0200)]
libvlc_media_player_play: missing unlock

14 years agoAvoid namespace clash with normal getopt
Rémi Denis-Courmont [Sun, 28 Feb 2010 14:24:40 +0000 (16:24 +0200)]
Avoid namespace clash with normal getopt

14 years agogetopt: remove optional argument support
Rémi Denis-Courmont [Sun, 28 Feb 2010 14:10:34 +0000 (16:10 +0200)]
getopt: remove optional argument support

14 years agoRemove Apple getopt_long bug-to-bug
Rémi Denis-Courmont [Sun, 28 Feb 2010 14:05:14 +0000 (16:05 +0200)]
Remove Apple getopt_long bug-to-bug

14 years agogetopt: remove opterr global (always 0 within LibVLC)
Rémi Denis-Courmont [Sun, 28 Feb 2010 14:02:15 +0000 (16:02 +0200)]
getopt: remove opterr global (always 0 within LibVLC)

14 years agogetopt: remove useless functions and boiler plate, update licens
Rémi Denis-Courmont [Sun, 28 Feb 2010 13:25:17 +0000 (15:25 +0200)]
getopt: remove useless functions and boiler plate, update licens

We only use getopt_long(). Also we don't care about pre-C89 compilers.

14 years agoAlways build and use "our" getopt
Rémi Denis-Courmont [Sun, 28 Feb 2010 12:58:26 +0000 (14:58 +0200)]
Always build and use "our" getopt

(We still need -lgnugetopt for cachegen)

14 years agolibvlc: fix doxygen comments.
Rémi Duraffort [Sun, 28 Feb 2010 14:03:01 +0000 (15:03 +0100)]
libvlc: fix doxygen comments.

14 years agoRemove deprecated and unused AC_TYPE_SIGNAL
Rémi Denis-Courmont [Sun, 28 Feb 2010 13:07:43 +0000 (15:07 +0200)]
Remove deprecated and unused AC_TYPE_SIGNAL

14 years agoWin32: convert file:// URI to path correctly
Rémi Denis-Courmont [Sun, 28 Feb 2010 09:52:38 +0000 (11:52 +0200)]
Win32: convert file:// URI to path correctly

This mostly reverts commit 37de4458fcac515a7683c1bd3da08a22d5c0d890.

14 years agoPrevent a potential integer overflow (mkv).
Laurent Aimar [Sun, 28 Feb 2010 11:48:10 +0000 (12:48 +0100)]
Prevent a potential integer overflow (mkv).

14 years agoFixed segfault with incomplete mkv files.
Laurent Aimar [Sun, 28 Feb 2010 11:35:18 +0000 (12:35 +0100)]
Fixed segfault with incomplete mkv files.

14 years agoFixed potential segfault with corrupted streams (audio codecs).
Laurent Aimar [Sat, 27 Feb 2010 23:46:45 +0000 (00:46 +0100)]
Fixed potential segfault with corrupted streams (audio codecs).

14 years agoQt: remove debug and cosmetics
Jean-Baptiste Kempf [Thu, 25 Feb 2010 18:58:14 +0000 (19:58 +0100)]
Qt: remove debug and cosmetics

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
14 years agoQt: Be sure to hide the caching when an input is deleted.
Jean-Baptiste Kempf [Sat, 27 Feb 2010 12:48:36 +0000 (13:48 +0100)]
Qt: Be sure to hide the caching when an input is deleted.

Fix the bug where caching would stay all the time when stopping

14 years agoQt: avoid a crash on first Startup
Jean-Baptiste Kempf [Sun, 28 Feb 2010 09:54:30 +0000 (10:54 +0100)]
Qt: avoid a crash on first Startup

14 years agoNSV: fix comment
Jean-Baptiste Kempf [Sat, 27 Feb 2010 15:16:08 +0000 (16:16 +0100)]
NSV: fix comment

14 years agoNEWS about Flac to please audiophiles
Jean-Baptiste Kempf [Fri, 26 Feb 2010 21:30:18 +0000 (22:30 +0100)]
NEWS about Flac to please audiophiles

14 years agoAdd error handling to luac intf.
Antoine Cellerier [Sat, 27 Feb 2010 23:39:53 +0000 (00:39 +0100)]
Add error handling to luac intf.

14 years agoDon't use printf to print debug output.
Antoine Cellerier [Sat, 27 Feb 2010 23:19:18 +0000 (00:19 +0100)]
Don't use printf to print debug output.

14 years agoFixed segfault with corrupted mkv files with compressed data.
Laurent Aimar [Sat, 27 Feb 2010 21:57:50 +0000 (22:57 +0100)]
Fixed segfault with corrupted mkv files with compressed data.

14 years agoFixed text_style_Copy() behaviour.
Laurent Aimar [Sat, 27 Feb 2010 21:48:22 +0000 (22:48 +0100)]
Fixed text_style_Copy() behaviour.

14 years agoFixed potential invalid access with too short packetized data.
Laurent Aimar [Sat, 27 Feb 2010 21:37:57 +0000 (22:37 +0100)]
Fixed potential invalid access with too short packetized data.

14 years agoFixed segfault with corrupted zip file.
Laurent Aimar [Sat, 27 Feb 2010 21:11:37 +0000 (22:11 +0100)]
Fixed segfault with corrupted zip file.

14 years agoFixed read(NULL, size) in zipstream.
Laurent Aimar [Sat, 27 Feb 2010 21:09:09 +0000 (22:09 +0100)]
Fixed read(NULL, size) in zipstream.

14 years agoCosmetics (zip).
Laurent Aimar [Sat, 27 Feb 2010 21:06:54 +0000 (22:06 +0100)]
Cosmetics (zip).

14 years agoFixed memleak if no data are read or poke (zip).
Laurent Aimar [Sat, 27 Feb 2010 21:01:02 +0000 (22:01 +0100)]
Fixed memleak if no data are read or poke (zip).

14 years agoDon't add share directory to lua search path on windows. Fixes #3320.
Antoine Cellerier [Sat, 27 Feb 2010 22:13:32 +0000 (23:13 +0100)]
Don't add share directory to lua search path on windows. Fixes #3320.

14 years agoFix NULL pointer dereferencing due to c58a5af7401735b50fa058fe5ab83d8ae911de4c.
Antoine Cellerier [Sat, 27 Feb 2010 22:00:12 +0000 (23:00 +0100)]
Fix NULL pointer dereferencing due to c58a5af7401735b50fa058fe5ab83d8ae911de4c.

14 years agoProvide luac compilation script. See vlc -I lua --lua-intf luac to get usage.
Antoine Cellerier [Sat, 27 Feb 2010 21:34:22 +0000 (22:34 +0100)]
Provide luac compilation script. See vlc -I lua --lua-intf luac to get usage.

14 years agoKill warning.
Antoine Cellerier [Sat, 27 Feb 2010 21:07:07 +0000 (22:07 +0100)]
Kill warning.

14 years agoKill warnings about unused variables. (jpeg?)
Antoine Cellerier [Sat, 27 Feb 2010 21:04:53 +0000 (22:04 +0100)]
Kill warnings about unused variables. (jpeg?)

14 years agoUse pushliteral instead of pushstring where possible. Saves a strlen call.
Antoine Cellerier [Fri, 26 Feb 2010 11:14:26 +0000 (12:14 +0100)]
Use pushliteral instead of pushstring where possible. Saves a strlen call.

14 years agoDo not store extension pointer in a variable visible from the lua code.
Antoine Cellerier [Fri, 26 Feb 2010 11:01:33 +0000 (12:01 +0100)]
Do not store extension pointer in a variable visible from the lua code.

14 years agoDo not store p_this in a table value visible from lua code.
Antoine Cellerier [Fri, 26 Feb 2010 10:56:32 +0000 (11:56 +0100)]
Do not store p_this in a table value visible from lua code.

14 years agoDo not generate and run lua code to define the module path. Use lua C functions.
Antoine Cellerier [Fri, 26 Feb 2010 10:45:00 +0000 (11:45 +0100)]
Do not generate and run lua code to define the module path. Use lua C functions.

14 years agoupdate.c: ifdef some win32 specific code
Geoffroy Couprie [Sat, 27 Feb 2010 18:24:44 +0000 (19:24 +0100)]
update.c: ifdef some win32 specific code

14 years agoLua SD: Jamendo - using album_image will give better results than album_id
Fabio Ritrovato [Sat, 27 Feb 2010 14:15:43 +0000 (15:15 +0100)]
Lua SD: Jamendo - using album_image will give better results than album_id

14 years agoFix white lines
Fabio Ritrovato [Sat, 27 Feb 2010 13:59:03 +0000 (14:59 +0100)]
Fix white lines

14 years agoLua: Jamendo SD + Demuxer
Fabio Ritrovato [Sat, 27 Feb 2010 13:56:25 +0000 (14:56 +0100)]
Lua: Jamendo SD + Demuxer
Jamendo radios are accessed trough the demuxer, otherwise the SD script will be too slow.
The demuxer should also resolve all the Jamendo api calls to the track unit, xml only.

14 years agoLaunch the installer after download
Geoffroy Couprie [Sat, 27 Feb 2010 12:55:01 +0000 (13:55 +0100)]
Launch the installer after download

14 years agoFixed segfault when seeking in ASF with broken index.
Laurent Aimar [Sat, 27 Feb 2010 09:45:43 +0000 (10:45 +0100)]
Fixed segfault when seeking in ASF with broken index.

It closes #2272 and #3350.

14 years agoCosmetics.
Laurent Aimar [Sat, 27 Feb 2010 09:27:14 +0000 (10:27 +0100)]
Cosmetics.

14 years agoFixed invalid read in ASF_ReadObject_Index (asf).
Laurent Aimar [Sat, 27 Feb 2010 09:21:58 +0000 (10:21 +0100)]
Fixed invalid read in ASF_ReadObject_Index (asf).

14 years agoLua demux: open the stream lib
Fabio Ritrovato [Fri, 26 Feb 2010 23:52:26 +0000 (00:52 +0100)]
Lua demux: open the stream lib

14 years agoskins(Win32): fix minimize not functioning (see #3300)
Erwan Tulou [Fri, 26 Feb 2010 21:49:18 +0000 (22:49 +0100)]
skins(Win32): fix minimize not functioning (see #3300)

This patch
    - uses owner/owned windows so that all skins2 windows get
    minimized at the same time
    - add WS_MINIMIZEBOX to enable minimize in taskbar button
    - some cosmetic

14 years agoskins(Linux): remove dead code
Erwan Tulou [Fri, 26 Feb 2010 22:19:35 +0000 (23:19 +0100)]
skins(Linux): remove dead code

14 years agoskins2(Linux): support clean exit when user closes vlc via the taskbar
Erwan Tulou [Thu, 25 Feb 2010 21:28:39 +0000 (22:28 +0100)]
skins2(Linux): support clean exit when user closes vlc via the taskbar

if not managed, vlc terminates with a "vlc: Fatal IO error: client killed"

14 years agoFor private stream_type, fallback on registration descriptor in TS demuxer.
Laurent Aimar [Fri, 26 Feb 2010 22:50:25 +0000 (23:50 +0100)]
For private stream_type, fallback on registration descriptor in TS demuxer.

It closes #3339 (the stream is correctly detected), but as the 302M content is
not PCM data (probably AC3 or Dolby E), the audio is not correctly decoded.

14 years agoFlac: Fix compilation warnings about signed vs unsigned
Jean-Baptiste Kempf [Fri, 26 Feb 2010 20:54:34 +0000 (21:54 +0100)]
Flac: Fix compilation warnings about signed vs unsigned

14 years agoFixed missing A() section for VLC_CODEC_ADPCM_IMA_AMV.
Laurent Aimar [Fri, 26 Feb 2010 20:49:34 +0000 (21:49 +0100)]
Fixed missing A() section for VLC_CODEC_ADPCM_IMA_AMV.

14 years agoVorbis: remove unused variables
Jean-Baptiste Kempf [Fri, 26 Feb 2010 13:27:48 +0000 (14:27 +0100)]
Vorbis: remove unused variables

14 years agoVorbis: support for 6.1 and 7.1
Jean-Baptiste Kempf [Fri, 26 Feb 2010 13:26:55 +0000 (14:26 +0100)]
Vorbis: support for 6.1 and 7.1

Close #3347

14 years agoFix FLAC 7.1 support
Jean-Baptiste Kempf [Fri, 26 Feb 2010 12:24:05 +0000 (13:24 +0100)]
Fix FLAC 7.1 support

Close #3348

14 years agoQt: open dialog, set a minimumSize for the playButton
Jean-Baptiste Kempf [Thu, 25 Feb 2010 17:08:41 +0000 (18:08 +0100)]
Qt: open dialog, set a minimumSize for the playButton

14 years agoFix typo in comment
Jean-Baptiste Kempf [Fri, 26 Feb 2010 17:47:43 +0000 (18:47 +0100)]
Fix typo in comment

14 years agoAllowed H264 direct rendering for non reference frames only (avcodec).
Laurent Aimar [Fri, 26 Feb 2010 19:58:29 +0000 (20:58 +0100)]
Allowed H264 direct rendering for non reference frames only (avcodec).

14 years agoAllowed I422 direct rendering support when possible (avcodec).
Laurent Aimar [Fri, 26 Feb 2010 19:51:20 +0000 (20:51 +0100)]
Allowed I422 direct rendering support when possible (avcodec).

14 years agoAdded logs about direct rendering usage (avcodec).
Laurent Aimar [Fri, 26 Feb 2010 19:42:22 +0000 (20:42 +0100)]
Added logs about direct rendering usage (avcodec).

14 years agoCheck for codec specific pitches alignment in avcodec.
Laurent Aimar [Fri, 26 Feb 2010 19:36:29 +0000 (20:36 +0100)]
Check for codec specific pitches alignment in avcodec.

 It is ugly to have this list of codec id (as it can become unsynchronized), but
ffmpeg does not provide a way to retreive this information :(

14 years agoCorrectly test for picture compatibility with avcodec direct rendering requirements.
Laurent Aimar [Fri, 26 Feb 2010 19:26:45 +0000 (20:26 +0100)]
Correctly test for picture compatibility with avcodec direct rendering requirements.