vlc.git
11 years agowin32 vout: factorize code
Geoffroy Couprie [Thu, 21 May 2009 15:08:54 +0000 (17:08 +0200)]
win32 vout: factorize code

11 years agoDo not use values within the Unicode points range for special keys
Rémi Denis-Courmont [Thu, 21 May 2009 15:12:40 +0000 (18:12 +0300)]
Do not use values within the Unicode points range for special keys

Also remove conflict between browser back/forward and mouse wheel.

11 years agomacosx: finally completed the progress-panel's implementation
Felix Paul Kühne [Thu, 21 May 2009 15:03:47 +0000 (17:03 +0200)]
macosx: finally completed the progress-panel's implementation

11 years agomacosx: fixed compilation warning
Felix Paul Kühne [Thu, 21 May 2009 15:02:53 +0000 (17:02 +0200)]
macosx: fixed compilation warning

11 years agoKeyToString: divide and conquer
Rémi Denis-Courmont [Thu, 21 May 2009 13:49:39 +0000 (16:49 +0300)]
KeyToString: divide and conquer

11 years agoCheck that keys are sorted properly
Rémi Denis-Courmont [Thu, 21 May 2009 13:41:27 +0000 (16:41 +0300)]
Check that keys are sorted properly

11 years agoPut keys in VLC key code order
Rémi Denis-Courmont [Thu, 21 May 2009 13:41:04 +0000 (16:41 +0300)]
Put keys in VLC key code order

11 years agoMedia keys are supported NOT only on Windows
Rémi Denis-Courmont [Thu, 21 May 2009 13:26:48 +0000 (16:26 +0300)]
Media keys are supported NOT only on Windows

11 years agoGet rid of KEY_ASCII and KEY_SPECIAL
Rémi Denis-Courmont [Thu, 21 May 2009 13:22:09 +0000 (16:22 +0300)]
Get rid of KEY_ASCII and KEY_SPECIAL

11 years agomacosx: NEWS and THANKS
Felix Paul Kühne [Thu, 21 May 2009 12:23:49 +0000 (14:23 +0200)]
macosx: NEWS and THANKS

11 years agomacosx: fixed Xcode project file and make dist (new document icons...)
Felix Paul Kühne [Thu, 21 May 2009 12:17:18 +0000 (14:17 +0200)]
macosx: fixed Xcode project file and make dist (new document icons...)

11 years agonew document icons for mac os x
Dominic Spitaler [Sun, 17 May 2009 22:13:36 +0000 (00:13 +0200)]
new document icons for mac os x

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
11 years agotest: Add a test for media_player_next().
Pierre d'Herbemont [Thu, 21 May 2009 06:34:03 +0000 (23:34 -0700)]
test: Add a test for media_player_next().

Doesn't work because variables callback can't be removed from their own callbacks.
Some work will be required here.

11 years agolibvlc: Use a separate lock for media_list_lock and refcounting.
Pierre d'Herbemont [Thu, 21 May 2009 06:19:35 +0000 (23:19 -0700)]
libvlc: Use a separate lock for media_list_lock and refcounting.

Those finer grained locks help the media_list_player.

11 years agotest: Don't do the pause() test, this can't work.
Pierre d'Herbemont [Thu, 21 May 2009 06:12:17 +0000 (23:12 -0700)]
test: Don't do the pause() test, this can't work.

Basically pause() might play(). This may need some revamping.

11 years agotest: Fix media_player test.
Pierre d'Herbemont [Thu, 21 May 2009 05:38:00 +0000 (22:38 -0700)]
test: Fix media_player test.

libvlc_Ended is the state we want to check.
When paused, if the media ended before, we need to allow that state.

11 years agotest: Fix log issued in test_media_list_player_play_item_at_index.
Pierre d'Herbemont [Thu, 21 May 2009 05:07:25 +0000 (22:07 -0700)]
test: Fix log issued in test_media_list_player_play_item_at_index.

11 years agotest: Reenable media_list_player test. And explain why meta test is disabled.
Pierre d'Herbemont [Wed, 20 May 2009 06:03:12 +0000 (23:03 -0700)]
test: Reenable media_list_player test. And explain why meta test is disabled.

Works here.

11 years agotest: Fix meta.c test building.
Pierre d'Herbemont [Thu, 21 May 2009 05:01:06 +0000 (22:01 -0700)]
test: Fix meta.c test building.

11 years agotest: Make sure we wait for the correct state in media_player test.
Pierre d'Herbemont [Wed, 20 May 2009 05:59:36 +0000 (22:59 -0700)]
test: Make sure we wait for the correct state in media_player test.

11 years agotest: Disable debug output in libvlc tests.
Pierre d'Herbemont [Wed, 20 May 2009 05:55:19 +0000 (22:55 -0700)]
test: Disable debug output in libvlc tests.

11 years agoFactorization.
Rémi Duraffort [Wed, 20 May 2009 20:06:07 +0000 (22:06 +0200)]
Factorization.

11 years agoMerge branch '1.0-bugfix'
Rémi Duraffort [Wed, 20 May 2009 19:53:35 +0000 (21:53 +0200)]
Merge branch '1.0-bugfix'

Conflicts:

src/control/media_player.c

11 years agoFix potential object leak.
Rémi Duraffort [Wed, 20 May 2009 19:02:08 +0000 (21:02 +0200)]
Fix potential object leak.

11 years agoNo need to check for a NULL as libvlc_media_release is checking.
Rémi Duraffort [Wed, 20 May 2009 18:55:55 +0000 (20:55 +0200)]
No need to check for a NULL as libvlc_media_release is checking.

11 years agoUse var_CountChoices instead of var_Change(VLC_VAR_GETCHOICES) when applicable.
Rémi Duraffort [Wed, 20 May 2009 18:34:36 +0000 (20:34 +0200)]
Use var_CountChoices instead of var_Change(VLC_VAR_GETCHOICES) when applicable.

11 years agoCreate a function to free the memory allocated when calling
Rémi Duraffort [Tue, 19 May 2009 17:51:02 +0000 (19:51 +0200)]
Create a function to free the memory allocated when calling
var_Change(VLC_VAR_GETCHOICES). The memory was freed by a call to
var_Change(VLC_VAR_FREELIST). That's not a good idea as we were doing a lookup
just to free some memory.

11 years agoSimplifications.
Rémi Duraffort [Wed, 20 May 2009 08:16:57 +0000 (10:16 +0200)]
Simplifications.

11 years agoRemove unwanted "\v".
Rémi Duraffort [Wed, 20 May 2009 17:07:27 +0000 (19:07 +0200)]
Remove unwanted "\v".

11 years agoMerge branch 1.0-bugfix
Rémi Denis-Courmont [Wed, 20 May 2009 16:46:41 +0000 (19:46 +0300)]
Merge branch 1.0-bugfix

Conflicts:
modules/video_filter/extract.c
modules/video_filter/marq.c
projects/mozilla/control/npolibvlc.cpp
src/control/video.c

11 years agomacosx: fixed the updateInfoPanel crash
Felix Paul Kühne [Wed, 20 May 2009 16:04:24 +0000 (18:04 +0200)]
macosx: fixed the updateInfoPanel crash

This also 'fixes' RTSP playback crashes (#2742)

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
11 years agomacosx: fixed menubar appearance in fullscreen mode by partially reverting [46c93c9cc...
Felix Paul Kühne [Wed, 20 May 2009 16:22:39 +0000 (18:22 +0200)]
macosx: fixed menubar appearance in fullscreen mode by partially reverting [46c93c9cc984b99142b6e7321c8f5c4c8c4e65bb]

There is no 64bit-save aka non-Carbon replacement for this feature yet.

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
11 years agomacosx: fixed menubar appearance in fullscreen mode by partially reverting [46c93c9cc...
Felix Paul Kühne [Wed, 20 May 2009 16:22:39 +0000 (18:22 +0200)]
macosx: fixed menubar appearance in fullscreen mode by partially reverting [46c93c9cc984b99142b6e7321c8f5c4c8c4e65bb]

There is no 64bit-save aka non-Carbon replacement for this feature yet.

11 years agoFree rtsp commands on close
Sébastien Escudier [Wed, 20 May 2009 07:32:57 +0000 (09:32 +0200)]
Free rtsp commands on close

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
11 years agomacosx: fixed the updateInfoPanel crash
Felix Paul Kühne [Wed, 20 May 2009 16:04:24 +0000 (18:04 +0200)]
macosx: fixed the updateInfoPanel crash

This also 'fixes' RTSP playback crashes (#2742)

11 years agoMozilla: remove logging support
Rémi Denis-Courmont [Wed, 20 May 2009 15:39:17 +0000 (18:39 +0300)]
Mozilla: remove logging support

You don't want random web pages listing, say, the content of your
hard drive (file/xspf-open://C:/ ?). For debugging purpose, the standard
error from Mozilla is probably better than Javascript anyway, not to
mention that the libvlc logging APi is really brain-damaged.

11 years agoFix a (really) small memleak (even if i_count is 0, some memory is allocated
Rémi Duraffort [Wed, 20 May 2009 11:00:52 +0000 (13:00 +0200)]
Fix a (really) small memleak (even if i_count is 0, some memory is allocated
for the strucure).

11 years agomacosx: fixed 'Codec details pane does not work correctly', closes #2630
Felix Paul Kühne [Wed, 20 May 2009 10:52:43 +0000 (12:52 +0200)]
macosx: fixed 'Codec details pane does not work correctly', closes #2630

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
11 years agomacosx: fixed 'Codec details pane does not work correctly', closes #2630
Felix Paul Kühne [Wed, 20 May 2009 10:52:43 +0000 (12:52 +0200)]
macosx: fixed 'Codec details pane does not work correctly', closes #2630

11 years agoFix memleak (same problem with var_Change())
Rémi Duraffort [Wed, 20 May 2009 10:24:05 +0000 (12:24 +0200)]
Fix memleak (same problem with var_Change())

11 years agoRemove another extra base64 decoder.
JP Dinger [Wed, 20 May 2009 10:01:27 +0000 (12:01 +0200)]
Remove another extra base64 decoder.

11 years agosdpplin_free() and rmff_free_header() already check for NULL.
JP Dinger [Wed, 20 May 2009 09:47:43 +0000 (11:47 +0200)]
sdpplin_free() and rmff_free_header() already check for NULL.

11 years agoconfigure: default disable xcb on Darwin
Felix Paul Kühne [Wed, 20 May 2009 09:47:48 +0000 (11:47 +0200)]
configure: default disable xcb on Darwin

11 years agoFix potential object leak (test the conditions before doing anything).
Rémi Duraffort [Wed, 20 May 2009 09:15:43 +0000 (11:15 +0200)]
Fix potential object leak (test the conditions before doing anything).

11 years agosprintf +n in file.c, plus add and use vlc_num_keys and vlc_num_modifiers.
JP Dinger [Tue, 19 May 2009 08:03:22 +0000 (10:03 +0200)]
sprintf +n in file.c, plus add and use vlc_num_keys and vlc_num_modifiers.

Signed-off-by: JP Dinger <jpd@videolan.org>
11 years agoFix memleak (same problem with var_Change(VLC_VAR_FREELIST)).
Rémi Duraffort [Wed, 20 May 2009 09:03:10 +0000 (11:03 +0200)]
Fix memleak (same problem with var_Change(VLC_VAR_FREELIST)).

11 years agoFix memleak (the memory allocated by var_Control(VLC_VAR_GETCHOICES) must be
Rémi Duraffort [Wed, 20 May 2009 08:32:22 +0000 (10:32 +0200)]
Fix memleak (the memory allocated by var_Control(VLC_VAR_GETCHOICES) must be
deallocated).

11 years agoRevert "zip access: fix #2467. Now it's able to open files with non ASCII names,...
Geoffroy Couprie [Tue, 19 May 2009 22:36:26 +0000 (00:36 +0200)]
Revert "zip access: fix #2467. Now it's able to open files with non ASCII names, but can't open files with non ASCII names inside of the zip file"

This reverts commit e3d08b7955a57485d8d301f33c583641899153a6.

11 years agoWin32: remove parts of the intl .rc that crash windres on the buildbot
Geoffroy Couprie [Tue, 19 May 2009 22:31:10 +0000 (00:31 +0200)]
Win32: remove parts of the intl .rc that crash windres on the buildbot

11 years agowin32: Add recent files to jump lists
Geoffroy Couprie [Tue, 19 May 2009 18:32:15 +0000 (20:32 +0200)]
win32: Add recent files to jump lists

11 years agozip access: fix #2467. Now it's able to open files with non ASCII names, but can...
Geoffroy Couprie [Thu, 14 May 2009 02:03:19 +0000 (04:03 +0200)]
zip access: fix #2467. Now it's able to open files with non ASCII names, but can't open files with non ASCII names inside of the zip file

11 years agoFix previous commit.
Rémi Duraffort [Tue, 19 May 2009 22:04:30 +0000 (00:04 +0200)]
Fix previous commit.

11 years agovariables: fix a potential crash/double free.
Rémi Duraffort [Tue, 19 May 2009 21:33:00 +0000 (23:33 +0200)]
variables: fix a potential crash/double free.
Indeed, giving a NULL to var_Change(VLC_VAR_SETSTRING) will lead to a crash the
next time this variable is used.

11 years agov4l2: fix memleak.
Rémi Duraffort [Tue, 19 May 2009 21:27:07 +0000 (23:27 +0200)]
v4l2: fix memleak.

11 years agoAccept 4.4.0, the bugs in 4.4.0 and 4.4.1 shouldn't affect us too much.
Jean-Baptiste Kempf [Tue, 19 May 2009 18:27:30 +0000 (20:27 +0200)]
Accept 4.4.0, the bugs in 4.4.0 and 4.4.1 shouldn't affect us too much.

But well, fine distros should upgrade their minor libQt.

11 years agoQt: change slightly the colours of the sound slider.
Jean-Baptiste Kempf [Tue, 19 May 2009 18:24:44 +0000 (20:24 +0200)]
Qt: change slightly the colours of the sound slider.

11 years agoQt: lower a bit the default sound slider.
Jean-Baptiste Kempf [Tue, 19 May 2009 18:10:14 +0000 (20:10 +0200)]
Qt: lower a bit the default sound slider.

11 years agoFixed some dvd spu streams that have multiple palette/alpha per packet.
Laurent Aimar [Tue, 19 May 2009 16:47:52 +0000 (18:47 +0200)]
Fixed some dvd spu streams that have multiple palette/alpha per packet.

11 years agoFixed potential segfault with broken DVD SPU streams.
Laurent Aimar [Tue, 19 May 2009 16:47:20 +0000 (18:47 +0200)]
Fixed potential segfault with broken DVD SPU streams.

11 years agoCosmetics (spudec).
Laurent Aimar [Tue, 19 May 2009 16:47:00 +0000 (18:47 +0200)]
Cosmetics (spudec).

11 years agoAdd a bunch of FIXMEs
Rémi Denis-Courmont [Tue, 19 May 2009 17:58:47 +0000 (20:58 +0300)]
Add a bunch of FIXMEs

11 years agoSharpen: thread safety and don't retain useless value
Rémi Denis-Courmont [Tue, 19 May 2009 17:58:25 +0000 (20:58 +0300)]
Sharpen: thread safety and don't retain useless value

11 years agoRotate: thread-safety
Rémi Denis-Courmont [Tue, 19 May 2009 17:53:03 +0000 (20:53 +0300)]
Rotate: thread-safety

11 years agoRotate: no need to remember the angle
Rémi Denis-Courmont [Tue, 19 May 2009 17:47:38 +0000 (20:47 +0300)]
Rotate: no need to remember the angle

11 years agoMotion blur: callback thread safety
Rémi Denis-Courmont [Tue, 19 May 2009 17:40:11 +0000 (20:40 +0300)]
Motion blur: callback thread safety

11 years agoMarquee: thread-safety corner cases
Rémi Denis-Courmont [Tue, 19 May 2009 17:35:31 +0000 (20:35 +0300)]
Marquee: thread-safety corner cases

11 years agoLogo: thread safety fix
Rémi Denis-Courmont [Tue, 19 May 2009 17:29:10 +0000 (20:29 +0300)]
Logo: thread safety fix

There are still bugs. At least posx, posy, pos and b_need_update are not
protected properly, but I don't have time.

11 years agoLogo: expansion safety
Rémi Denis-Courmont [Tue, 19 May 2009 17:23:25 +0000 (20:23 +0300)]
Logo: expansion safety

11 years agoGradient: callback thread-safety
Rémi Denis-Courmont [Tue, 19 May 2009 17:21:04 +0000 (20:21 +0300)]
Gradient: callback thread-safety

11 years agoExtract: thread-safety
Rémi Denis-Courmont [Tue, 19 May 2009 17:17:15 +0000 (20:17 +0300)]
Extract: thread-safety

11 years agoErase: actual thread-safety
Rémi Denis-Courmont [Tue, 19 May 2009 17:10:44 +0000 (20:10 +0300)]
Erase: actual thread-safety

11 years agocrop: thread-safety for FilterCallback
Rémi Denis-Courmont [Tue, 19 May 2009 17:05:39 +0000 (20:05 +0300)]
crop: thread-safety for FilterCallback

11 years agoCrop: simplify
Rémi Denis-Courmont [Tue, 19 May 2009 17:05:24 +0000 (20:05 +0300)]
Crop: simplify

11 years agoBlue screen: thread-safety
Rémi Denis-Courmont [Tue, 19 May 2009 16:56:19 +0000 (19:56 +0300)]
Blue screen: thread-safety

11 years agoblue screen: __MIN and __MAX are not expansion-safe
Rémi Denis-Courmont [Tue, 19 May 2009 16:53:05 +0000 (19:53 +0300)]
blue screen: __MIN and __MAX are not expansion-safe

11 years agoAlpha mask: thread-safety
Rémi Denis-Courmont [Tue, 19 May 2009 16:49:37 +0000 (19:49 +0300)]
Alpha mask: thread-safety

A corner case occured if the mask were changed during initialization.

11 years agoAdjust: thread-safety
Rémi Denis-Courmont [Tue, 19 May 2009 16:47:23 +0000 (19:47 +0300)]
Adjust: thread-safety

11 years agox11: Show popup menu on click, not on release, as KDE and GNOME seem to do it.
Jean-Baptiste Kempf [Tue, 19 May 2009 16:54:07 +0000 (18:54 +0200)]
x11: Show popup menu on click, not on release, as KDE and GNOME seem to do it.

Close #2573

11 years agoTry to stay consistent.
Jean-Baptiste Kempf [Tue, 19 May 2009 16:36:58 +0000 (18:36 +0200)]
Try to stay consistent.

11 years agoUpdate NEWS for zip MRL.
Jean-Baptiste Kempf [Tue, 19 May 2009 16:36:42 +0000 (18:36 +0200)]
Update NEWS for zip MRL.

11 years agoZip: use !/ as separator instead of |
Jean-Philippe Andre [Tue, 19 May 2009 15:45:09 +0000 (23:45 +0800)]
Zip: use !/ as separator instead of |

As advised on the forum, !/ is the standard separator for JAR protocol.

11 years agoZip: fix handling of special characters (#2467)
Jean-Philippe Andre [Tue, 12 May 2009 17:56:17 +0000 (01:56 +0800)]
Zip: fix handling of special characters (#2467)

11 years agoMatch used SD alias rather than plugin name (fixes #2756)
Rémi Denis-Courmont [Tue, 19 May 2009 14:56:22 +0000 (17:56 +0300)]
Match used SD alias rather than plugin name (fixes #2756)

11 years agoRetain SD name for matching purpose
Rémi Denis-Courmont [Tue, 19 May 2009 14:55:47 +0000 (17:55 +0300)]
Retain SD name for matching purpose

11 years agoFixed some dvd spu streams that have multiple palette/alpha per packet.
Laurent Aimar [Tue, 19 May 2009 13:12:06 +0000 (15:12 +0200)]
Fixed some dvd spu streams that have multiple palette/alpha per packet.

11 years agoFixed potential segfault with broken DVD SPU streams.
Laurent Aimar [Tue, 19 May 2009 12:50:28 +0000 (14:50 +0200)]
Fixed potential segfault with broken DVD SPU streams.

11 years agoCosmetics (spudec).
Laurent Aimar [Tue, 19 May 2009 12:28:55 +0000 (14:28 +0200)]
Cosmetics (spudec).

11 years agoRemoved wrongly commited line in last vout_pictures commit.
Laurent Aimar [Mon, 18 May 2009 20:46:47 +0000 (22:46 +0200)]
Removed wrongly commited line in last vout_pictures commit.

11 years agoUsed picture_IsReferenced in transcode.
Laurent Aimar [Mon, 18 May 2009 20:35:06 +0000 (22:35 +0200)]
Used picture_IsReferenced in transcode.

11 years agoImproved a bit picture API.
Laurent Aimar [Mon, 18 May 2009 20:33:47 +0000 (22:33 +0200)]
Improved a bit picture API.

11 years agoRemoved picture ring buffer for filter/decoder in transcode/mosaic_bridge.
Laurent Aimar [Mon, 18 May 2009 19:20:44 +0000 (21:20 +0200)]
Removed picture ring buffer for filter/decoder in transcode/mosaic_bridge.

It simplify the code and is needed to clean up the picture API.

11 years agoUsed picture_* functions when applicable.
Laurent Aimar [Mon, 18 May 2009 18:57:46 +0000 (20:57 +0200)]
Used picture_* functions when applicable.

11 years agoRemoved unused picture_heap_t field in picture_t.
Laurent Aimar [Mon, 18 May 2009 10:41:42 +0000 (12:41 +0200)]
Removed unused picture_heap_t field in picture_t.

11 years agoCosmetics.
JP Dinger [Mon, 18 May 2009 10:00:15 +0000 (12:00 +0200)]
Cosmetics.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
11 years agoRemove an extra base64 decode implementation and use vlc's instead.
JP Dinger [Mon, 18 May 2009 09:59:07 +0000 (11:59 +0200)]
Remove an extra base64 decode implementation and use vlc's instead.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
11 years agoCosmetics
JP Dinger [Sun, 17 May 2009 17:28:13 +0000 (19:28 +0200)]
Cosmetics

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
11 years agoExtract common string-to-variant code in mozilla plugin.
JP Dinger [Sun, 17 May 2009 16:47:47 +0000 (18:47 +0200)]
Extract common string-to-variant code in mozilla plugin.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
11 years agoFix --qt-start-mninimized option
Jean-Baptiste Kempf [Sun, 17 May 2009 23:31:58 +0000 (01:31 +0200)]
Fix --qt-start-mninimized option

Report : http://forum.videolan.org/viewtopic.php?f=13&t=59425&p=198466#p198450

11 years agol10n: French update
Éric Lassauge [Sun, 17 May 2009 22:48:42 +0000 (23:48 +0100)]
l10n: French update

Signed-off-by: Christophe Mutricy <xtophe@videolan.org>
11 years agol10n: Italian update
Vincenzo Reale [Sun, 17 May 2009 22:32:08 +0000 (23:32 +0100)]
l10n: Italian update

Signed-off-by: Christophe Mutricy <xtophe@videolan.org>