]> git.sesse.net Git - vlc/log
vlc
15 years agomacosx: Fix configurability of some of the hotkeys
Derk-Jan Hartman [Thu, 4 Jun 2009 14:51:48 +0000 (16:51 +0200)]
macosx: Fix configurability of some of the hotkeys

This partly fixes #2815, but the conflict of "Reveal in Finder" and "Record" has not yet been fixed.

15 years agocore: fix time-offset and position-offset callbacks
Derk-Jan Hartman [Thu, 4 Jun 2009 14:48:50 +0000 (16:48 +0200)]
core: fix time-offset and position-offset callbacks

When using the hotkeys to seek, each offset seek was executed twice. The bahavior of INPUT_CONTROL_SET_TIME_OFFSET has changed, and these callbacks did not account for that yet.

This closes #2820

15 years agoCompile fix for win32 vlc_timer_t: update callback fn prototype.
JP Dinger [Thu, 4 Jun 2009 14:01:36 +0000 (16:01 +0200)]
Compile fix for win32 vlc_timer_t: update callback fn prototype.

15 years agoDisable non implemented code to get build bot back.
Pierre d'Herbemont [Thu, 4 Jun 2009 06:23:27 +0000 (23:23 -0700)]
Disable non implemented code to get build bot back.

15 years agolibvlc: Make sure no event will be send after _detach from the asynch thread.
Pierre d'Herbemont [Thu, 4 Jun 2009 06:00:44 +0000 (23:00 -0700)]
libvlc: Make sure no event will be send after _detach from the asynch thread.

15 years agorevision: No need for the -n in echo. Choke Darwin.
Pierre d'Herbemont [Thu, 4 Jun 2009 06:00:26 +0000 (23:00 -0700)]
revision: No need for the -n in echo. Choke Darwin.

15 years agolibvlc: Get rid of the recursive lock.
Pierre d'Herbemont [Thu, 4 Jun 2009 04:33:17 +0000 (21:33 -0700)]
libvlc: Get rid of the recursive lock.

15 years agotimer: Dummy work around for darwin. (dummy stub).
Pierre d'Herbemont [Thu, 4 Jun 2009 04:18:20 +0000 (21:18 -0700)]
timer: Dummy work around for darwin. (dummy stub).

Just to get compilation working. Any use of Timer API will result in an abort() for now.

15 years agoQt: Add icons on open dialog tabs.
Jean-Baptiste Kempf [Wed, 3 Jun 2009 22:51:45 +0000 (00:51 +0200)]
Qt: Add icons on open dialog tabs.

Idea and code from Francois Cartegnie

15 years agoUpdate test.html file with new features
Cyril Mathé [Wed, 27 May 2009 09:01:25 +0000 (11:01 +0200)]
Update test.html file with new features

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
15 years agoActiveX: Deinterlace JS Binding
Cyril Mathé [Wed, 20 May 2009 08:52:03 +0000 (10:52 +0200)]
ActiveX: Deinterlace JS Binding

- video.deinterlaceEnable(char *mode) : enable deinterlace filter which type is defined by mode
     - video.deinterlaceDisable()          : disable deinterlace filter

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
15 years agoMoz-Plugin: Deinterlace JS Binding
Cyril Mathé [Wed, 20 May 2009 08:47:55 +0000 (10:47 +0200)]
Moz-Plugin: Deinterlace JS Binding

- video.deinterlaceEnable(char *mode) : enable deinterlace filter which type is defined by mode
 - video.deinterlaceDisable()          : disable deinterlace filter

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
15 years agoFixed old naming standard splitted rar archive (close #2733).
Laurent Aimar [Wed, 3 Jun 2009 22:04:47 +0000 (00:04 +0200)]
Fixed old naming standard splitted rar archive (close #2733).

Patch by ozvald (see #2733)

15 years agolibvlc API: Add Deinterlace Filter to libvlc in video.c
Cyril Mathé [Fri, 29 May 2009 12:25:45 +0000 (14:25 +0200)]
libvlc API: Add Deinterlace Filter to libvlc in video.c

  - libvlc_video_enable_deinterlace(libvlc_media_player_t *p_mi, int b_enable, const char *psz_mode, libvlc_exception_t *p_e)
      - b_enable: boolean to enable or disable deinterlace filter
      - psz_mode: char to define the deinterlace mode (blend, linear...)

Signed-off-by: Laurent Aimar <fenrir@videolan.org>
15 years agoTemporary workaround for video filter wrapper in qt4.
Laurent Aimar [Wed, 3 Jun 2009 21:15:07 +0000 (23:15 +0200)]
Temporary workaround for video filter wrapper in qt4.

15 years agoPostproc: Set a description string for the postprocess variable.
Derk-Jan Hartman [Wed, 3 Jun 2009 21:33:24 +0000 (23:33 +0200)]
Postproc: Set a description string for the postprocess variable.

This string is already in use, so no problem with stringfreeze for
1.0 (According to xtophe).

15 years agomacos playlist: fix a deadlock when deleting items.
Derk-Jan Hartman [Wed, 3 Jun 2009 21:08:35 +0000 (23:08 +0200)]
macos playlist: fix a deadlock when deleting items.

In general, we should avoid PL_LOCK'ing around stuff that the Datasource does,
and restrict it to the lines that directly deal with the core playlist.

This should fix #2810

15 years agomacosx: Fix postprocessing menu item
Derk-Jan Hartman [Wed, 3 Jun 2009 21:03:22 +0000 (23:03 +0200)]
macosx: Fix postprocessing menu item

This closes #2814

15 years agoConvert magnify to "video filter2".
Laurent Aimar [Wed, 3 Jun 2009 20:07:10 +0000 (22:07 +0200)]
Convert magnify to "video filter2".

15 years agoAdded a wrapper for "video filter2" as a "video filter"
Laurent Aimar [Wed, 3 Jun 2009 20:06:31 +0000 (22:06 +0200)]
Added a wrapper for "video filter2" as a "video filter"

It allows to use mouse inside a simple "video filter2"
It is not meant to stay.

15 years agoAdded mouse support to filter_t and filter_chain_t.
Laurent Aimar [Tue, 2 Jun 2009 19:38:46 +0000 (21:38 +0200)]
Added mouse support to filter_t and filter_chain_t.

15 years agoFall back if this is not a git checkout
Rémi Denis-Courmont [Wed, 3 Jun 2009 20:31:27 +0000 (23:31 +0300)]
Fall back if this is not a git checkout

15 years agofetcher: shut thread down when not needed
Rémi Denis-Courmont [Wed, 3 Jun 2009 20:04:01 +0000 (23:04 +0300)]
fetcher: shut thread down when not needed

Unfortunately, the thread stack remains allocated as our threading
abstraction does not support detaching.

15 years agofetcher: don't recycle the main condition variable for other purpose
Rémi Denis-Courmont [Wed, 3 Jun 2009 20:15:52 +0000 (23:15 +0300)]
fetcher: don't recycle the main condition variable for other purpose

15 years agoRepair libvlc_get_changeset()
Rémi Denis-Courmont [Wed, 3 Jun 2009 19:25:37 +0000 (22:25 +0300)]
Repair libvlc_get_changeset()

15 years agoPrint the changeset with --version
Rémi Denis-Courmont [Wed, 3 Jun 2009 19:21:53 +0000 (22:21 +0300)]
Print the changeset with --version

15 years agoCreate revision.c
Rémi Denis-Courmont [Mon, 23 Feb 2009 17:11:03 +0000 (19:11 +0200)]
Create revision.c

15 years agoKill a few relocations
Rémi Denis-Courmont [Wed, 3 Jun 2009 16:38:34 +0000 (19:38 +0300)]
Kill a few relocations

15 years agoRemove useless timer parameter
Rémi Denis-Courmont [Wed, 3 Jun 2009 16:03:55 +0000 (19:03 +0300)]
Remove useless timer parameter

15 years agovlc_timer_getoverrun result must be used
Rémi Denis-Courmont [Wed, 3 Jun 2009 15:53:38 +0000 (18:53 +0300)]
vlc_timer_getoverrun result must be used

15 years agoCaptureOpenPanel: allow alternative layout
Francois Cartegnie [Thu, 28 May 2009 18:59:34 +0000 (20:59 +0200)]
CaptureOpenPanel: allow alternative layout

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
15 years agoUI open_file menus and layout fixes
Francois Cartegnie [Thu, 28 May 2009 15:14:44 +0000 (17:14 +0200)]
UI open_file menus and layout fixes

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
15 years agonew resource: playlist remove icon
Francois Cartegnie [Thu, 28 May 2009 15:14:43 +0000 (17:14 +0200)]
new resource: playlist remove icon

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
15 years agolibvlc: Use mutex_cleanup_push.
Pierre d'Herbemont [Wed, 3 Jun 2009 05:57:48 +0000 (22:57 -0700)]
libvlc: Use mutex_cleanup_push.

15 years agolibvlc: Missing unlock.
Pierre d'Herbemont [Wed, 3 Jun 2009 05:19:38 +0000 (22:19 -0700)]
libvlc: Missing unlock.

15 years agoCorrectly setup the clock state when creating a new program.
Laurent Aimar [Tue, 2 Jun 2009 21:03:44 +0000 (23:03 +0200)]
Correctly setup the clock state when creating a new program.

It avoid an assert if a program was created after the input was paused.

15 years agoAvoid an error (no ffmpeg-hw option) when not compiling with vaapi support.
Laurent Aimar [Mon, 1 Jun 2009 21:28:59 +0000 (23:28 +0200)]
Avoid an error (no ffmpeg-hw option) when not compiling with vaapi support.

Also updated a bit more against old ffmpeg version.

15 years agomacosx playlist: Move one of the lock to avoid a "lock in locked-state" issue.
Derk-Jan Hartman [Tue, 2 Jun 2009 21:16:01 +0000 (23:16 +0200)]
macosx playlist: Move one of the lock to avoid a "lock in locked-state" issue.

Add a few more lockings around other playlist data as well. We really need to redo all this stuff.

15 years agomacosx: volume needs to be stored in absolute numbers instead of percentages. If...
Felix Paul Kühne [Tue, 2 Jun 2009 21:06:20 +0000 (23:06 +0200)]
macosx: volume needs to be stored in absolute numbers instead of percentages. If you don't do this, the user will get a quite different noise experience...

Closes #2805

15 years agoTimer: fallback to realtime if monotonic clock is not implemented
Rémi Denis-Courmont [Tue, 2 Jun 2009 19:10:41 +0000 (22:10 +0300)]
Timer: fallback to realtime if monotonic clock is not implemented

15 years agodvdnav: fulfill the self-realizing prophecy^W^W^Wuse timer
Rémi Denis-Courmont [Tue, 2 Jun 2009 19:05:49 +0000 (22:05 +0300)]
dvdnav: fulfill the self-realizing prophecy^W^W^Wuse timer

15 years agoscreesaver: use timer and cleanup
Rémi Denis-Courmont [Tue, 2 Jun 2009 18:31:52 +0000 (21:31 +0300)]
screesaver: use timer and cleanup

15 years agoAsynchronous timer API
Rémi Denis-Courmont [Tue, 2 Jun 2009 17:19:19 +0000 (20:19 +0300)]
Asynchronous timer API

15 years agoinhibit: use callbacks, kill one timer thread
Rémi Denis-Courmont [Tue, 2 Jun 2009 18:11:49 +0000 (21:11 +0300)]
inhibit: use callbacks, kill one timer thread

15 years agoWin32: fix warnings
Rémi Denis-Courmont [Tue, 2 Jun 2009 17:18:36 +0000 (20:18 +0300)]
Win32: fix warnings

15 years agoPlay more than one media to improve coverage a bit
Rémi Denis-Courmont [Mon, 1 Jun 2009 15:31:28 +0000 (18:31 +0300)]
Play more than one media to improve coverage a bit
(cherry picked from commit c01710dd232695150ce10e7b1a8112781eacdd54)

15 years agoMake the test timeout more bearable
Rémi Denis-Courmont [Mon, 1 Jun 2009 15:31:14 +0000 (18:31 +0300)]
Make the test timeout more bearable
(cherry picked from commit 9f71b31e9082e57d05f793a6404867ecf616314c)

15 years agoCore: Closed Captions memleak
Derk-Jan Hartman [Tue, 2 Jun 2009 13:35:14 +0000 (15:35 +0200)]
Core: Closed Captions memleak

15 years agolibvlc: Fix media_list_player's test by using asynchronous event handler on media.
Pierre d'Herbemont [Tue, 2 Jun 2009 07:56:08 +0000 (00:56 -0700)]
libvlc: Fix media_list_player's test by using asynchronous event handler on media.

15 years agolibvlc: Allow event to be dispatched asynchronously.
Pierre d'Herbemont [Tue, 2 Jun 2009 07:24:42 +0000 (00:24 -0700)]
libvlc: Allow event to be dispatched asynchronously.

15 years agolibvlc: Make sure we unlock on error code path.
Pierre d'Herbemont [Tue, 2 Jun 2009 02:39:08 +0000 (19:39 -0700)]
libvlc: Make sure we unlock on error code path.

15 years agoRevert "libvlc_event_*: fix locking"
Pierre d'Herbemont [Tue, 2 Jun 2009 02:36:53 +0000 (19:36 -0700)]
Revert "libvlc_event_*: fix locking"

This reverts commit 13b7d257de1eced08708034186e290c0a5f5628a.

This is incorrect as it introduces locking the release when this should not be needed.

15 years ago.h file commit for [9d7513aea570d26822f26a7b0567133ab4fd6324]
Derk-Jan Hartman [Mon, 1 Jun 2009 23:43:22 +0000 (01:43 +0200)]
.h file commit for [9d7513aea570d26822f26a7b0567133ab4fd6324]

15 years agomacosx vout: another memleak
Derk-Jan Hartman [Mon, 1 Jun 2009 23:26:32 +0000 (01:26 +0200)]
macosx vout: another memleak

A memleak in the handling of NSAnimation

15 years agoUse UDBZ instead of UDZO as disk-image format, which should save us about almost...
Felix Paul Kühne [Mon, 1 Jun 2009 21:08:53 +0000 (23:08 +0200)]
Use UDBZ instead of UDZO as disk-image format, which should save us about almost 20% of its previous size

This format isn't 10.3 compatible, but VLC isn't either, so we shouldn't care. Pointed by zacwest on the forums.

15 years agoCompilation fix for old ffmpeg version.
Laurent Aimar [Mon, 1 Jun 2009 17:22:37 +0000 (19:22 +0200)]
Compilation fix for old ffmpeg version.

15 years agoContribs for Linux x64
Jean-Baptiste Kempf [Mon, 1 Jun 2009 14:23:37 +0000 (16:23 +0200)]
Contribs for Linux x64

Patch by Kaloyan Kovachev

15 years agocontribs: updated binary package for Darwin 9 (ppc & x86)
Felix Paul Kühne [Mon, 1 Jun 2009 12:30:34 +0000 (14:30 +0200)]
contribs: updated binary package for Darwin 9 (ppc & x86)

This automagically updates 1.0-bugfix, too. No need to backport.

15 years agomtime: grah, compile before thou commits.
Derk-Jan Hartman [Mon, 1 Jun 2009 11:40:27 +0000 (13:40 +0200)]
mtime: grah, compile before thou commits.

/me idiot.

15 years agomtime: ifdef vs if defined()
Derk-Jan Hartman [Mon, 1 Jun 2009 11:34:33 +0000 (13:34 +0200)]
mtime: ifdef vs if defined()

misc/mtime.c:59:18: warning: extra tokens at end of #ifdef directive
Grah, sorry about this, Apple parser doesn't see this as a problem, but other platforms do of course.

15 years agoAdded (but disabled at compilation time) VA-API support to our avcodec wrapper.
Laurent Aimar [Mon, 1 Jun 2009 09:49:05 +0000 (11:49 +0200)]
Added (but disabled at compilation time) VA-API support to our avcodec wrapper.

 I choosed to extract the decoded frame back to memory instead of developping
a new specific vaapi vout. It was easier, allows transcoding and does not break
our current OSD.

 Becarefull, you probably have to applied a pending patch on ffmpeg for h264
decoding.

 You still have to manually uncomment the HAVE_AVCODEC_VAAPI define in
avcodec.h and to fix the build system to test it.

15 years agoFlush picture buffers when closing the avcodec decoder.
Laurent Aimar [Mon, 1 Jun 2009 09:54:50 +0000 (11:54 +0200)]
Flush picture buffers when closing the avcodec decoder.

15 years agomac PPC: don't use mach absolute_time()
Derk-Jan Hartman [Mon, 1 Jun 2009 10:35:38 +0000 (12:35 +0200)]
mac PPC: don't use mach absolute_time()

Introduced in [5ead92ffd58088828ed802173d963b2571f0cd69], on PowerPC-based Macs this breaks the playback of a certain AVI and WMV files for reasons not fully understood. The commit was reverted for PPC macs in
* [49f3721c5baa88feece1d8793f08f08b2ed86a4d]
* [7786caa59f70d40794273cd741ea96f98d43621f]
but these commits were never applied to the master branch.

15 years agomkv: Restore the priority of the mkv module
Derk-Jan Hartman [Mon, 1 Jun 2009 10:26:57 +0000 (12:26 +0200)]
mkv: Restore the priority of the mkv module

Most of the time the module was still selected due to extension lookup.
It is also reported that avformat still is unstable when seeking mkv's

15 years agovobsub: strdup memleak (stream_Add copies the format)
Derk-Jan Hartman [Mon, 1 Jun 2009 09:58:30 +0000 (11:58 +0200)]
vobsub: strdup memleak (stream_Add copies the format)

15 years agocontribs: use GCC 4.2.1 for libgoom2k4, too.
Felix Paul Kühne [Mon, 1 Jun 2009 10:15:20 +0000 (12:15 +0200)]
contribs: use GCC 4.2.1 for libgoom2k4, too.

Updated binary packages are on the way.

15 years agoMissing vlc_picture_fifo/pool.h includes in src/Makefile.am
Laurent Aimar [Sun, 31 May 2009 19:55:37 +0000 (21:55 +0200)]
Missing vlc_picture_fifo/pool.h includes in src/Makefile.am

15 years agoFixed infinite loop in config_ChainDuplicate.
Laurent Aimar [Sun, 31 May 2009 19:52:35 +0000 (21:52 +0200)]
Fixed infinite loop in config_ChainDuplicate.

15 years agoSAP_Add: use a union to fix aliasing bug
Rémi Denis-Courmont [Sun, 31 May 2009 19:27:25 +0000 (22:27 +0300)]
SAP_Add: use a union to fix aliasing bug

15 years agoRevert "Merge branch 'master' of git@git.videolan.org:vlc"
Rémi Denis-Courmont [Sun, 31 May 2009 19:32:31 +0000 (22:32 +0300)]
Revert "Merge branch 'master' of git@git.videolan.org:vlc"

This reverts commit 3eeab0d3a064349bbd0f65b9a890a3cfc82f6283, reversing
changes made to 7079b91c24f7c8032025576407f1386350cae58f.

15 years agoMerge branch 'master' of git@git.videolan.org:vlc
Rémi Denis-Courmont [Sun, 31 May 2009 19:32:09 +0000 (22:32 +0300)]
Merge branch 'master' of git@git.videolan.org:vlc

15 years agoRevert "SAP_Add: use a union to fix aliasing bug"
Rémi Denis-Courmont [Sun, 31 May 2009 19:32:02 +0000 (22:32 +0300)]
Revert "SAP_Add: use a union to fix aliasing bug"

This reverts commit 8d812e0a8417d97334ad008185cd9ece30294ab3.

15 years agoMerge commit 'origin/base'
Rémi Denis-Courmont [Sun, 31 May 2009 19:30:31 +0000 (22:30 +0300)]
Merge commit 'origin/base'

15 years agoSAP_Add: use a union to fix aliasing bug
Rémi Denis-Courmont [Sun, 31 May 2009 19:27:25 +0000 (22:27 +0300)]
SAP_Add: use a union to fix aliasing bug

15 years agoAbort if array allocation fails
Rémi Denis-Courmont [Sun, 31 May 2009 19:25:54 +0000 (22:25 +0300)]
Abort if array allocation fails

15 years agoMade picture_Hold return the provided picture.
Laurent Aimar [Sun, 31 May 2009 15:31:17 +0000 (17:31 +0200)]
Made picture_Hold return the provided picture.

15 years agoAdded config_ChainDuplicate to duplicate config_chain_t list.
Laurent Aimar [Sun, 31 May 2009 15:28:20 +0000 (17:28 +0200)]
Added config_ChainDuplicate to duplicate config_chain_t list.

15 years agoQt: Fix button in speed of subtitles.
Jean-Baptiste Kempf [Sun, 31 May 2009 14:19:31 +0000 (16:19 +0200)]
Qt: Fix button in speed of subtitles.

"Adjustment and Effects, Synchronisation, Subtitles/Video, Speed of the subtitles, minus sign is not clickable" Spotted by Trax.

15 years agoDo not access vout_thread_t fields when it can be avoided.
Laurent Aimar [Sun, 31 May 2009 00:12:51 +0000 (02:12 +0200)]
Do not access vout_thread_t fields when it can be avoided.

15 years agoAdded vout_GetSpu to retreive the spu_t object from the vout.
Laurent Aimar [Sun, 31 May 2009 00:00:28 +0000 (02:00 +0200)]
Added vout_GetSpu to retreive the spu_t object from the vout.

It will allow hiding vout_thread_t fields.

15 years agoAdded picture_NewFromFormat/Ressource functions.
Laurent Aimar [Sat, 30 May 2009 23:23:46 +0000 (01:23 +0200)]
Added picture_NewFromFormat/Ressource functions.

It is prefered to use picture_NewFromFormat over picture_New (it may replace
it latter).

15 years agoAdded picture_pool_t and functions helpers.
Laurent Aimar [Sat, 30 May 2009 21:59:11 +0000 (23:59 +0200)]
Added picture_pool_t and functions helpers.

It is usefull to avoid reallocating pictures over and over.

 Becarefull, it is not yet thread safe as picture_t reference count
is not.
 I will change it when more work has been done on the vout.

15 years agoAdded a picture_fifo_t helper.
Laurent Aimar [Sat, 30 May 2009 21:31:25 +0000 (23:31 +0200)]
Added a picture_fifo_t helper.

15 years agoAdded a picture_Reset helper.
Laurent Aimar [Sat, 30 May 2009 21:23:38 +0000 (23:23 +0200)]
Added a picture_Reset helper.

15 years agoUsed subpicture_NewFromPicture in snapshot code.
Laurent Aimar [Sat, 30 May 2009 21:11:26 +0000 (23:11 +0200)]
Used subpicture_NewFromPicture in snapshot code.

15 years agoAdded a subpicture_NewFromPicture helper.
Laurent Aimar [Sat, 30 May 2009 21:07:10 +0000 (23:07 +0200)]
Added a subpicture_NewFromPicture helper.

15 years agoA few sprintf()+n in text/strings.c
JP Dinger [Sat, 30 May 2009 20:35:45 +0000 (22:35 +0200)]
A few sprintf()+n in text/strings.c

15 years agomozilla plugin: cosmetics.
JP Dinger [Sat, 30 May 2009 20:34:46 +0000 (22:34 +0200)]
mozilla plugin: cosmetics.

15 years agocontribs: enforce usage of gcc-4.2 instead of llvm-gcc-4.2 for libx264 to ensure...
Felix Paul Kühne [Sat, 30 May 2009 15:59:48 +0000 (17:59 +0200)]
contribs: enforce usage of gcc-4.2 instead of llvm-gcc-4.2 for libx264 to ensure proper linking on both PPC and x86 based Macs

Binary packages will need an update here.

15 years agoCosmetics: Remove need to (char*)"..." by making the target const, and replace a...
JP Dinger [Sat, 30 May 2009 07:42:59 +0000 (09:42 +0200)]
Cosmetics: Remove need to (char*)"..." by making the target const, and replace a call to var_Get(bool) with var_GetBool.

15 years agovcdx: 100% cosmetics; indentation reformatting.
JP Dinger [Sat, 30 May 2009 07:41:29 +0000 (09:41 +0200)]
vcdx: 100% cosmetics; indentation reformatting.

15 years agoCosmetics, and pull finding the playlist sorting function back to top level. The...
JP Dinger [Fri, 29 May 2009 23:52:49 +0000 (01:52 +0200)]
Cosmetics, and pull finding the playlist sorting function back to top level. The meta_* functions are still wildly inefficient, though.

15 years agovisual: no need to strdup the name of the effect as it's only use with strcmp.
Rémi Duraffort [Sat, 30 May 2009 09:15:13 +0000 (11:15 +0200)]
visual: no need to strdup the name of the effect as it's only use with strcmp.

15 years agomacosx remote: Fix a leak in the Apple Remote class.
Derk-Jan Hartman [Fri, 29 May 2009 18:42:37 +0000 (20:42 +0200)]
macosx remote: Fix a leak in the Apple Remote class.

A thank you to the Xbmc authors who had this fixed in their version of Martin Kahr's class.
(cherry picked from commit 7157ad33673305f7947fe84ca78374bdba5e64f8)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
15 years agomacosx: fixed another array which isn't released before recreation
Felix Paul Kühne [Fri, 29 May 2009 18:01:42 +0000 (20:01 +0200)]
macosx: fixed another array which isn't released before recreation
(cherry picked from commit ced7fc2dd8673d5b4eeb8c95f98f456928f6f39a)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
15 years agomacosx vout: fix fullscreen behaviour on eof.
Derk-Jan Hartman [Fri, 29 May 2009 11:53:13 +0000 (13:53 +0200)]
macosx vout: fix fullscreen behaviour on eof.

Fixes a bug introduced on [795fa06c631752687800bdff5ec44f742c0e72bd]
Closes #2794
(cherry picked from commit fc9987fa29409be3cae9743dbae265959477747c)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
15 years agoQuit correctly x264 codec when x264 failed.
Rémi Duraffort [Fri, 29 May 2009 06:56:23 +0000 (08:56 +0200)]
Quit correctly x264 codec when x264 failed.
(cherry picked from commit e4bbb16bb183b2cad499e088ccd99313d386df62)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
15 years agomacosx preferences: more memleaks
Derk-Jan Hartman [Fri, 29 May 2009 11:18:01 +0000 (13:18 +0200)]
macosx preferences: more memleaks

* initmethods returning nil. checks moved outside init.
* leaking module_config_get. Keep better track of those.
* spurious strdup
* leaked hotkeys NSMutableArray when resetting the preferences.
(cherry picked from commit 27d841889c9116d46be643fa482f9ca562d233f3)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
15 years agomacosx: remove a NSLog message.
Derk-Jan Hartman [Fri, 29 May 2009 11:15:34 +0000 (13:15 +0200)]
macosx: remove a NSLog message.
(cherry picked from commit 5cbb5848e90522556a838ccf04646727fed10cc9)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
15 years agomacosx intf: Fix bug in equalizer
Derk-Jan Hartman [Fri, 29 May 2009 11:10:23 +0000 (13:10 +0200)]
macosx intf: Fix bug in equalizer

Introduced by [ca17039cd8dbaff98d0d4f08b94d3f3efa92af98]
(cherry picked from commit c543a40de86224b961a089d0a17374867f835da4)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>