]> git.sesse.net Git - vlc/log
vlc
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.

14 years agoModified picture_Setup to provide more vectorization compatible pitch/lines values.
Laurent Aimar [Fri, 26 Feb 2010 19:10:09 +0000 (20:10 +0100)]
Modified picture_Setup to provide more vectorization compatible pitch/lines values.

picture_New() will now always return a picture having
 - pitches multiple of 16.
 - chroma pitches multiple of the luma one.
 - a bit of extra height (as it can helps some ASM functions).

14 years agoRemoved the assumption that XV and picture_New() behaves alike (xcb).
Laurent Aimar [Fri, 26 Feb 2010 18:57:30 +0000 (19:57 +0100)]
Removed the assumption that XV and picture_New() behaves alike (xcb).

14 years agoRevert "Missing return values."
Rémi Duraffort [Fri, 26 Feb 2010 18:51:01 +0000 (19:51 +0100)]
Revert "Missing return values."

This reverts commit 46626b9d1d0ac80a89ed152d2785cc961eb856d5.

Dead code.

14 years agoqt4: remove a dummy call to var_Get (void variable), fix #3346.
Rémi Duraffort [Fri, 26 Feb 2010 18:45:08 +0000 (19:45 +0100)]
qt4: remove a dummy call to var_Get (void variable), fix #3346.

14 years agoMissing return values.
Rémi Duraffort [Thu, 25 Feb 2010 19:53:22 +0000 (20:53 +0100)]
Missing return values.

14 years agoFix previous commit.
Konstantin Pavlov [Fri, 26 Feb 2010 12:32:03 +0000 (15:32 +0300)]
Fix previous commit.

14 years agoInclude all authorized lua extensions in module search path too.
Antoine Cellerier [Fri, 26 Feb 2010 10:07:42 +0000 (11:07 +0100)]
Include all authorized lua extensions in module search path too.

14 years agotest: Report when preparsed is working only when it works.
Pierre d'Herbemont [Thu, 25 Feb 2010 22:15:48 +0000 (23:15 +0100)]
test: Report when preparsed is working only when it works.

14 years agotest: Alloc more time for media_list_player test.
Pierre d'Herbemont [Thu, 25 Feb 2010 22:03:35 +0000 (23:03 +0100)]
test: Alloc more time for media_list_player test.

14 years agotest: Simplify media_list_player test.
Pierre d'Herbemont [Thu, 25 Feb 2010 22:02:15 +0000 (23:02 +0100)]
test: Simplify media_list_player test.

14 years agometa: Use libvlc_media_parse().
Pierre d'Herbemont [Thu, 25 Feb 2010 21:25:59 +0000 (22:25 +0100)]
meta: Use libvlc_media_parse().

14 years agotest: Simplify media_player test.
Pierre d'Herbemont [Thu, 25 Feb 2010 21:05:05 +0000 (22:05 +0100)]
test: Simplify media_player test.

14 years agoMissing ignored files
Rémi Denis-Courmont [Thu, 25 Feb 2010 22:01:07 +0000 (00:01 +0200)]
Missing ignored files

14 years agoIgnore .luac files
Rémi Denis-Courmont [Thu, 25 Feb 2010 22:00:26 +0000 (00:00 +0200)]
Ignore .luac files

14 years agoRemove error/warnings from module_need()
Rémi Denis-Courmont [Thu, 25 Feb 2010 21:56:45 +0000 (23:56 +0200)]
Remove error/warnings from module_need()

They caused much confusion from bug reporters and support requestors.
Feel free to add more explicit and specific errors after module_need()
call sites in failure cases.

14 years agoDocument config_LoadCmdLine() more
Rémi Denis-Courmont [Thu, 25 Feb 2010 21:36:52 +0000 (23:36 +0200)]
Document config_LoadCmdLine() more

14 years agotest: Pretend that our test suite is working where it is not.
Pierre d'Herbemont [Thu, 25 Feb 2010 20:27:18 +0000 (21:27 +0100)]
test: Pretend that our test suite is working where it is not.

And no the test is not broken. libvlc_media_get_tracks_info() is.

14 years agoRevert "Broken test case"
Pierre d'Herbemont [Thu, 25 Feb 2010 20:31:22 +0000 (21:31 +0100)]
Revert "Broken test case"

This reverts commit 9a2adcfde5e66cc3dc1de9c220c88c77fe718970.

14 years agoInstall simplexml too
Rémi Denis-Courmont [Thu, 25 Feb 2010 19:46:35 +0000 (21:46 +0200)]
Install simplexml too

14 years agoQt4: handle Meta modifier in the prefs
Rémi Denis-Courmont [Thu, 25 Feb 2010 17:46:23 +0000 (19:46 +0200)]
Qt4: handle Meta modifier in the prefs

14 years agofr: Fix "Set [hotkey binding]" translation
Rémi Denis-Courmont [Thu, 25 Feb 2010 17:43:53 +0000 (19:43 +0200)]
fr: Fix "Set [hotkey binding]" translation

Oddly enough, this was correct in VLC 1.0.

14 years agoXCB window: key modifier 4 is meta, not command
Rémi Denis-Courmont [Thu, 25 Feb 2010 17:37:41 +0000 (19:37 +0200)]
XCB window: key modifier 4 is meta, not command

14 years agoDistribute and install the CUE parser
Rémi Denis-Courmont [Thu, 25 Feb 2010 16:48:21 +0000 (18:48 +0200)]
Distribute and install the CUE parser

14 years agoCheck that .lua files are declared (faster than make distcheck)
Rémi Denis-Courmont [Thu, 25 Feb 2010 16:45:20 +0000 (18:45 +0200)]
Check that .lua files are declared (faster than make distcheck)

14 years agoClean lua byte-core (fix)
Rémi Denis-Courmont [Thu, 25 Feb 2010 16:45:07 +0000 (18:45 +0200)]
Clean lua byte-core (fix)

14 years agoQt: don't show the menu button if there is only 1 chapter and 1 title
Jean-Baptiste Kempf [Thu, 25 Feb 2010 15:22:18 +0000 (16:22 +0100)]
Qt: don't show the menu button if there is only 1 chapter and 1 title

14 years agoForgotten .nsv in open file dialog
Jean-Baptiste Kempf [Wed, 24 Feb 2010 23:37:02 +0000 (00:37 +0100)]
Forgotten .nsv in open file dialog

14 years agoskins2: extend --[no]-qt-video-autoresize to skins2
Erwan Tulou [Thu, 25 Feb 2010 10:08:39 +0000 (11:08 +0100)]
skins2: extend --[no]-qt-video-autoresize to skins2

As for qt4, offering the possibility to deactivate automatic resizing
is desirable. Reusing the qt parameter is not a problem for skins since
qt4 is a prerequisite.

TODO, rename this parameter with a more interface agnostic name since
the need is for all interfaces.

14 years agoskins2: make default more consistent for video control
Erwan Tulou [Thu, 25 Feb 2010 09:11:16 +0000 (10:11 +0100)]
skins2: make default more consistent for video control

For a video control, default values are contradictory, in
a sense that a video control is not resizable and autoresize
is true. By default, this results in skins resizing to fit a new video, but
the inner video not using this extra space. (see AirFlow for instance)

This patch ensures that if autoresize is true, default behavior for a video
 control is to be resizeable.

14 years agofixes for maemo build
Gildas Bazin [Wed, 24 Feb 2010 22:38:51 +0000 (22:38 +0000)]
fixes for maemo build

14 years agohildon: add a slightly more useful menu to the maemo interface
Gildas Bazin [Wed, 24 Feb 2010 22:20:18 +0000 (22:20 +0000)]
hildon: add a slightly more useful menu to the maemo interface

14 years agocontrib: no need to build the whole of twolame
Gildas Bazin [Tue, 9 Feb 2010 21:45:57 +0000 (21:45 +0000)]
contrib: no need to build the whole of twolame

14 years agoDistribute .h files
Christophe Mutricy [Wed, 24 Feb 2010 22:03:20 +0000 (23:03 +0100)]
Distribute .h files

14 years agoWin32: use linked_with_a_crap_library_which_uses_atexit() (libxml2 and libqt4)
Erwan Tulou [Mon, 22 Feb 2010 20:55:16 +0000 (21:55 +0100)]
Win32: use linked_with_a_crap_library_which_uses_atexit() (libxml2 and libqt4)

  On windows,
  - libxml2 spawns a 'watchdog' thread, when statically linked.
  - libqt4 spawns a 'watcher' thread.

  These threads clean up remaining ressources once their initiator thread has
  terminated. So, the associated dll must NOT be freed explicitly and blindly.
  Since there is no means to know when these 'cleanup' threads terminate,
  the safe approach is to not free the dlls and let freeing occur when vlc
  terminates.