]>
git.sesse.net Git - vlc/log
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
JP Dinger [Thu, 4 Jun 2009 14:01:36 +0000 (16:01 +0200)]
Compile fix for win32 vlc_timer_t: update callback fn prototype.
Pierre d'Herbemont [Thu, 4 Jun 2009 06:23:27 +0000 (23:23 -0700)]
Disable non implemented code to get build bot back.
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.
Pierre d'Herbemont [Thu, 4 Jun 2009 06:00:26 +0000 (23:00 -0700)]
revision: No need for the -n in echo. Choke Darwin.
Pierre d'Herbemont [Thu, 4 Jun 2009 04:33:17 +0000 (21:33 -0700)]
libvlc: Get rid of the recursive lock.
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.
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
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>
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>
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>
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)
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>
Laurent Aimar [Wed, 3 Jun 2009 21:15:07 +0000 (23:15 +0200)]
Temporary workaround for video filter wrapper in qt4.
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).
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
Derk-Jan Hartman [Wed, 3 Jun 2009 21:03:22 +0000 (23:03 +0200)]
macosx: Fix postprocessing menu item
This closes #2814
Laurent Aimar [Wed, 3 Jun 2009 20:07:10 +0000 (22:07 +0200)]
Convert magnify to "video filter2".
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.
Laurent Aimar [Tue, 2 Jun 2009 19:38:46 +0000 (21:38 +0200)]
Added mouse support to filter_t and filter_chain_t.
Rémi Denis-Courmont [Wed, 3 Jun 2009 20:31:27 +0000 (23:31 +0300)]
Fall back if this is not a git checkout
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.
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
Rémi Denis-Courmont [Wed, 3 Jun 2009 19:25:37 +0000 (22:25 +0300)]
Repair libvlc_get_changeset()
Rémi Denis-Courmont [Wed, 3 Jun 2009 19:21:53 +0000 (22:21 +0300)]
Print the changeset with --version
Rémi Denis-Courmont [Mon, 23 Feb 2009 17:11:03 +0000 (19:11 +0200)]
Create revision.c
Rémi Denis-Courmont [Wed, 3 Jun 2009 16:38:34 +0000 (19:38 +0300)]
Kill a few relocations
Rémi Denis-Courmont [Wed, 3 Jun 2009 16:03:55 +0000 (19:03 +0300)]
Remove useless timer parameter
Rémi Denis-Courmont [Wed, 3 Jun 2009 15:53:38 +0000 (18:53 +0300)]
vlc_timer_getoverrun result must be used
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>
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>
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>
Pierre d'Herbemont [Wed, 3 Jun 2009 05:57:48 +0000 (22:57 -0700)]
libvlc: Use mutex_cleanup_push.
Pierre d'Herbemont [Wed, 3 Jun 2009 05:19:38 +0000 (22:19 -0700)]
libvlc: Missing unlock.
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.
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.
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.
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
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
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
Rémi Denis-Courmont [Tue, 2 Jun 2009 18:31:52 +0000 (21:31 +0300)]
screesaver: use timer and cleanup
Rémi Denis-Courmont [Tue, 2 Jun 2009 17:19:19 +0000 (20:19 +0300)]
Asynchronous timer API
Rémi Denis-Courmont [Tue, 2 Jun 2009 18:11:49 +0000 (21:11 +0300)]
inhibit: use callbacks, kill one timer thread
Rémi Denis-Courmont [Tue, 2 Jun 2009 17:18:36 +0000 (20:18 +0300)]
Win32: fix warnings
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 )
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 )
Derk-Jan Hartman [Tue, 2 Jun 2009 13:35:14 +0000 (15:35 +0200)]
Core: Closed Captions memleak
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.
Pierre d'Herbemont [Tue, 2 Jun 2009 07:24:42 +0000 (00:24 -0700)]
libvlc: Allow event to be dispatched asynchronously.
Pierre d'Herbemont [Tue, 2 Jun 2009 02:39:08 +0000 (19:39 -0700)]
libvlc: Make sure we unlock on error code path.
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.
Derk-Jan Hartman [Mon, 1 Jun 2009 23:43:22 +0000 (01:43 +0200)]
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
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.
Laurent Aimar [Mon, 1 Jun 2009 17:22:37 +0000 (19:22 +0200)]
Compilation fix for old ffmpeg version.
Jean-Baptiste Kempf [Mon, 1 Jun 2009 14:23:37 +0000 (16:23 +0200)]
Contribs for Linux x64
Patch by Kaloyan Kovachev
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.
Derk-Jan Hartman [Mon, 1 Jun 2009 11:40:27 +0000 (13:40 +0200)]
mtime: grah, compile before thou commits.
/me idiot.
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.
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.
Laurent Aimar [Mon, 1 Jun 2009 09:54:50 +0000 (11:54 +0200)]
Flush picture buffers when closing the avcodec decoder.
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.
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
Derk-Jan Hartman [Mon, 1 Jun 2009 09:58:30 +0000 (11:58 +0200)]
vobsub: strdup memleak (stream_Add copies the format)
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.
Laurent Aimar [Sun, 31 May 2009 19:55:37 +0000 (21:55 +0200)]
Missing vlc_picture_fifo/pool.h includes in src/Makefile.am
Laurent Aimar [Sun, 31 May 2009 19:52:35 +0000 (21:52 +0200)]
Fixed infinite loop in config_ChainDuplicate.
Rémi Denis-Courmont [Sun, 31 May 2009 19:27:25 +0000 (22:27 +0300)]
SAP_Add: use a union to fix aliasing bug
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 .
Rémi Denis-Courmont [Sun, 31 May 2009 19:32:09 +0000 (22:32 +0300)]
Merge branch 'master' of git@git.videolan.org:vlc
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 .
Rémi Denis-Courmont [Sun, 31 May 2009 19:30:31 +0000 (22:30 +0300)]
Merge commit 'origin/base'
Rémi Denis-Courmont [Sun, 31 May 2009 19:27:25 +0000 (22:27 +0300)]
SAP_Add: use a union to fix aliasing bug
Rémi Denis-Courmont [Sun, 31 May 2009 19:25:54 +0000 (22:25 +0300)]
Abort if array allocation fails
Laurent Aimar [Sun, 31 May 2009 15:31:17 +0000 (17:31 +0200)]
Made picture_Hold return the provided picture.
Laurent Aimar [Sun, 31 May 2009 15:28:20 +0000 (17:28 +0200)]
Added config_ChainDuplicate to duplicate config_chain_t list.
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.
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.
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.
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).
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.
Laurent Aimar [Sat, 30 May 2009 21:31:25 +0000 (23:31 +0200)]
Added a picture_fifo_t helper.
Laurent Aimar [Sat, 30 May 2009 21:23:38 +0000 (23:23 +0200)]
Added a picture_Reset helper.
Laurent Aimar [Sat, 30 May 2009 21:11:26 +0000 (23:11 +0200)]
Used subpicture_NewFromPicture in snapshot code.
Laurent Aimar [Sat, 30 May 2009 21:07:10 +0000 (23:07 +0200)]
Added a subpicture_NewFromPicture helper.
JP Dinger [Sat, 30 May 2009 20:35:45 +0000 (22:35 +0200)]
A few sprintf()+n in text/strings.c
JP Dinger [Sat, 30 May 2009 20:34:46 +0000 (22:34 +0200)]
mozilla plugin: cosmetics.
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.
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.
JP Dinger [Sat, 30 May 2009 07:41:29 +0000 (09:41 +0200)]
vcdx: 100% cosmetics; indentation reformatting.
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.
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.
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>
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>
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>
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>
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>
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>
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>
Adrien Maglo [Thu, 28 May 2009 18:05:23 +0000 (20:05 +0200)]
Fix a segfault : check the return value of x264_encoder_open().
According to x264 code, if it fails, it return NULL.
And with a first NULL parameter x264_encoder_headers() segfaults.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit
77dea4efed8f1ce11edf551ac33b53ead9fb16a8 )
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>