vlc.git
12 years agoRemove experimental flag to XCB window
Rémi Denis-Courmont [Sat, 15 Aug 2009 19:48:02 +0000 (22:48 +0300)]
Remove experimental flag to XCB window

12 years agoAdd drawable support into XCB window
Rémi Denis-Courmont [Sat, 15 Aug 2009 19:47:47 +0000 (22:47 +0300)]
Add drawable support into XCB window

12 years agoFactor some code
Rémi Denis-Courmont [Sat, 15 Aug 2009 19:46:52 +0000 (22:46 +0300)]
Factor some code

12 years agoUnused variable
Rémi Denis-Courmont [Sat, 15 Aug 2009 19:47:19 +0000 (22:47 +0300)]
Unused variable

12 years agoRemove dummy utf8_open() mode parameter in absence of O_CREAT flag
Rémi Denis-Courmont [Sat, 15 Aug 2009 18:25:21 +0000 (21:25 +0300)]
Remove dummy utf8_open() mode parameter in absence of O_CREAT flag

12 years agoutf8_open: make third parameter optional
Rémi Denis-Courmont [Sat, 15 Aug 2009 18:21:44 +0000 (21:21 +0300)]
utf8_open: make third parameter optional

12 years agoXCB window: no need to unmap & destroy our window
Rémi Denis-Courmont [Sat, 15 Aug 2009 16:34:49 +0000 (19:34 +0300)]
XCB window: no need to unmap & destroy our window

X does it automatically when the connection is closed

12 years agoXCB: ignore change of keyboard mapping
Rémi Denis-Courmont [Sat, 15 Aug 2009 16:33:48 +0000 (19:33 +0300)]
XCB: ignore change of keyboard mapping

12 years agoXCB window: handle change of keymaps
Rémi Denis-Courmont [Sat, 15 Aug 2009 16:32:57 +0000 (19:32 +0300)]
XCB window: handle change of keymaps

12 years agoinput: don't be too clever with start-time - fixes #3042
Rémi Denis-Courmont [Sat, 15 Aug 2009 14:35:09 +0000 (17:35 +0300)]
input: don't be too clever with start-time - fixes #3042

Deeper code can cope with too overly large values.
We need to accept seemingly too far start times because the length is
typically not known at startup (and hence set to zero).

12 years agoget vout: use size_t for the counter
Rémi Denis-Courmont [Sat, 15 Aug 2009 14:08:41 +0000 (17:08 +0300)]
get vout: use size_t for the counter

Internal counter is still int due to tab macros.

12 years agoReference the glibc bug numbers
Rémi Denis-Courmont [Sat, 15 Aug 2009 12:57:47 +0000 (15:57 +0300)]
Reference the glibc bug numbers

12 years agoMissing config.h -> no _GNU_SOURCE -> no prototype for asprintf
Rémi Denis-Courmont [Sat, 15 Aug 2009 12:57:23 +0000 (15:57 +0300)]
Missing config.h -> no _GNU_SOURCE -> no prototype for asprintf

12 years agoRefactored/re-enabled libvlc_vlm_show_media
Alexander Bethke [Mon, 10 Aug 2009 08:10:23 +0000 (11:10 +0300)]
Refactored/re-enabled libvlc_vlm_show_media

...to return a string representation of one specific or all vlm media, in a standardized JSON format.
The patch has been updated according to Rémi Denis-Courmont's and fenrir's comments.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
12 years agocontribs: package 16 with libtwolame and updated ffmpeg
Felix Paul Kühne [Sat, 15 Aug 2009 11:52:48 +0000 (13:52 +0200)]
contribs: package 16 with libtwolame and updated ffmpeg

12 years agocontribs: fixed eac3 compilation in ffmpeg, needs checking
Felix Paul Kühne [Fri, 14 Aug 2009 22:51:51 +0000 (00:51 +0200)]
contribs: fixed eac3 compilation in ffmpeg, needs checking

12 years agocontribs: fixed theora compilation
Felix Paul Kühne [Fri, 14 Aug 2009 22:27:16 +0000 (00:27 +0200)]
contribs: fixed theora compilation

12 years agocontribs: update qt4 for Mac
Felix Paul Kühne [Thu, 6 Aug 2009 08:15:17 +0000 (10:15 +0200)]
contribs: update qt4 for Mac

12 years agoRevert "Qt4: remove b_current on PLItem, and store currentIndex when it changes"
Ilkka Ollakka [Fri, 14 Aug 2009 16:27:27 +0000 (19:27 +0300)]
Revert "Qt4: remove b_current on PLItem, and store currentIndex when it changes"

This reverts commit 753731a2c9d0fd724cc7c2fd6ad573483876bc7a.

Didn't afterall worked correctly even thought I thought I tested it.

12 years agoQt4: correct 3cddf245543afb17406a2017764d73167fa6bd86
Ilkka Ollakka [Fri, 14 Aug 2009 16:25:55 +0000 (19:25 +0300)]
Qt4: correct 3cddf245543afb17406a2017764d73167fa6bd86

restore setWindowState and setParent order

12 years agoQt4: remove b_current on PLItem, and store currentIndex when it changes
Ilkka Ollakka [Fri, 14 Aug 2009 16:00:52 +0000 (19:00 +0300)]
Qt4: remove b_current on PLItem, and store currentIndex when it changes

12 years agoQt4: remove i_input_id from PLItem
Ilkka Ollakka [Fri, 14 Aug 2009 10:56:58 +0000 (13:56 +0300)]
Qt4: remove i_input_id from PLItem

12 years agoqt4: CoverArtLabel and BackgroundWidget improvments
Erwan Tulou [Thu, 13 Aug 2009 15:09:42 +0000 (17:09 +0200)]
qt4: CoverArtLabel and BackgroundWidget improvments

    - preserve apect ratio
    - alignment set to Center
    - signal-slot connection moved to a better place
    - Art updated in info Panel when artUrl is file://

12 years agoQt: Fix the bug where the volume was losing 1% at each start
Ludovic Fauvet [Mon, 10 Aug 2009 23:29:17 +0000 (01:29 +0200)]
Qt: Fix the bug where the volume was losing 1% at each start

The bug originates from an implicit conversion to int. This commit
explicitly convert the value to qreal then use qRound to take the nearest
integer.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years agoAdding a libvlc_media_player_next_frame
Hugo Beauzee-Luyssen [Thu, 13 Aug 2009 12:17:07 +0000 (14:17 +0200)]
Adding a libvlc_media_player_next_frame

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years agoCopyright updates
Jean-Baptiste Kempf [Thu, 13 Aug 2009 21:54:28 +0000 (23:54 +0200)]
Copyright updates

12 years ago*.aob files are now readable
Jean-Baptiste Kempf [Thu, 13 Aug 2009 21:49:13 +0000 (23:49 +0200)]
*.aob files are now readable

12 years agoChange freetype libs order to fix win32 compile
Jean-Baptiste Kempf [Thu, 13 Aug 2009 20:56:17 +0000 (22:56 +0200)]
Change freetype libs order to fix win32 compile

12 years agoMissing inline
Rémi Denis-Courmont [Thu, 13 Aug 2009 20:30:07 +0000 (23:30 +0300)]
Missing inline

12 years agoInit order
Rémi Denis-Courmont [Thu, 13 Aug 2009 20:29:58 +0000 (23:29 +0300)]
Init order

12 years agoMissing const
Rémi Denis-Courmont [Thu, 13 Aug 2009 20:09:51 +0000 (23:09 +0300)]
Missing const

12 years agoSuggested parenthesis
Rémi Denis-Courmont [Thu, 13 Aug 2009 20:09:42 +0000 (23:09 +0300)]
Suggested parenthesis

12 years agoInit order
Rémi Denis-Courmont [Thu, 13 Aug 2009 20:09:23 +0000 (23:09 +0300)]
Init order

12 years agoAssert against use of unitialized variable
Rémi Denis-Courmont [Thu, 13 Aug 2009 20:05:05 +0000 (23:05 +0300)]
Assert against use of unitialized variable

12 years agoUnused variable
Rémi Denis-Courmont [Thu, 13 Aug 2009 20:04:57 +0000 (23:04 +0300)]
Unused variable

12 years agoUnused variable
Rémi Denis-Courmont [Thu, 13 Aug 2009 20:04:24 +0000 (23:04 +0300)]
Unused variable

12 years agoQt4: move fullscreen window on current viewport
Ilkka Ollakka [Thu, 13 Aug 2009 19:47:07 +0000 (22:47 +0300)]
Qt4: move fullscreen window on current viewport

This restores functionality, that video goes fullscreen on same screen
that vlc player is. For somereason it didn't work correctly when
reparented to QDesktop-screen( num ) widget.

12 years agoRemoved audio_date_t in favor to date_t.
Laurent Aimar [Thu, 13 Aug 2009 19:29:55 +0000 (21:29 +0200)]
Removed audio_date_t in favor to date_t.

12 years agoUsed date_t instead of audio_date_t in visualizations.
Laurent Aimar [Thu, 13 Aug 2009 19:24:50 +0000 (21:24 +0200)]
Used date_t instead of audio_date_t in visualizations.

12 years agoUsed date_t instead of audio_date_t in audio filters.
Laurent Aimar [Thu, 13 Aug 2009 19:24:28 +0000 (21:24 +0200)]
Used date_t instead of audio_date_t in audio filters.

12 years agoUsed date_t instead of audio_date_t in packetizers.
Laurent Aimar [Thu, 13 Aug 2009 19:23:04 +0000 (21:23 +0200)]
Used date_t instead of audio_date_t in packetizers.

12 years agoUsed date_t instead of audio_date_t in codecs.
Laurent Aimar [Thu, 13 Aug 2009 19:19:55 +0000 (21:19 +0200)]
Used date_t instead of audio_date_t in codecs.

12 years agoRemoved unused aout_VolumeInfos.
Laurent Aimar [Thu, 13 Aug 2009 16:26:19 +0000 (18:26 +0200)]
Removed unused aout_VolumeInfos.

12 years agowince: fix build of vouts
Geoffroy Couprie [Thu, 13 Aug 2009 16:28:12 +0000 (18:28 +0200)]
wince: fix build of vouts

12 years agoDon't use space in Sparkle file name.
Pavlov Konstantin [Thu, 13 Aug 2009 16:07:29 +0000 (20:07 +0400)]
Don't use space in Sparkle file name.

Seems like wget and curl behaves differently: the latter one doesnt
convert %20 to space.

12 years agoAdd Sparkle as a BUILDDIR.
Pavlov Konstantin [Thu, 13 Aug 2009 16:03:07 +0000 (20:03 +0400)]
Add Sparkle as a BUILDDIR.

12 years agoMention Dennis Perov's hardware donation in THANKS file.
Pavlov Konstantin [Sun, 31 May 2009 21:43:26 +0000 (01:43 +0400)]
Mention Dennis Perov's hardware donation in THANKS file.

12 years agowince: fix build of ts module
Geoffroy Couprie [Thu, 13 Aug 2009 16:12:35 +0000 (18:12 +0200)]
wince: fix build of ts module

12 years agopaintEvent is not useful anymore
Rémi Denis-Courmont [Thu, 13 Aug 2009 16:07:23 +0000 (19:07 +0300)]
paintEvent is not useful anymore

12 years agoQt4: only the actual video "needs" to turn off compositing
Rémi Denis-Courmont [Thu, 13 Aug 2009 16:05:30 +0000 (19:05 +0300)]
Qt4: only the actual video "needs" to turn off compositing

12 years agoQt4: synchronize X display
Rémi Denis-Courmont [Thu, 13 Aug 2009 16:04:04 +0000 (19:04 +0300)]
Qt4: synchronize X display

This should fix spurious BadWindow errors from the video displays.

12 years agoQt4: PLItem cleanup
Ilkka Ollakka [Thu, 13 Aug 2009 16:02:36 +0000 (19:02 +0300)]
Qt4: PLItem cleanup

12 years agoFix the contrib for files and dirs with spaces
Ruud Althuizen [Thu, 13 Aug 2009 12:03:54 +0000 (14:03 +0200)]
Fix the contrib for files and dirs with spaces

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
12 years agoplaylist: do not move both tree and non-tree items + restrict move action
Jakob Leben [Sun, 9 Aug 2009 22:04:59 +0000 (00:04 +0200)]
playlist: do not move both tree and non-tree items + restrict move action

Items are stored twice, once in a tree structure and once in a one-level list.
This patch removes attempt of the playlist_TreeMove() function to move both tree and
one-level instances of an item.

Firstly the reason is that function was not effective in this attempt.
And secondly, the attempt itself doesn't make sense in some cases: you can always
map moves within the tree to moves within one-level, but you can't always do it
the other way around, it is in most cases ambiguous.

Moreover, this patch restricts moves in the tree to within the present parent of the
item being moved. Again, in most cases, moving an item out of its parent or into another
parent is meaningless.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
12 years agoQt4 playlist: take 2: fix segfault and other enhancements
Jakob Leben [Wed, 12 Aug 2009 12:19:49 +0000 (14:19 +0200)]
Qt4 playlist: take 2: fix segfault and other enhancements

Fix segfault when dropping more then one item onto an item in the left side selector.

Also copy instead of move items when dragging from media library to playlist and the opposite.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
12 years agoWinCE: implement timer API
Pierre Ynard [Thu, 13 Aug 2009 14:54:10 +0000 (16:54 +0200)]
WinCE: implement timer API

The Timer Queue Windows API is not available on WinCE, so this is a
rewrite based on timeSetEvent() and friends. It's not safe yet with
regard to timer deletion.

12 years agoQt4: playlist_item, forgotten dec_ref
Ilkka Ollakka [Thu, 13 Aug 2009 14:18:12 +0000 (17:18 +0300)]
Qt4: playlist_item, forgotten dec_ref

12 years agoContribs: Don't patch libass, but patch fontconfig for xml
Jean-Baptiste Kempf [Thu, 13 Aug 2009 14:10:31 +0000 (16:10 +0200)]
Contribs: Don't patch libass, but patch fontconfig for xml

12 years agoQt4: typo in playlist_item
Ilkka Ollakka [Thu, 13 Aug 2009 13:51:42 +0000 (16:51 +0300)]
Qt4: typo in playlist_item

12 years agoQt4: add mutex-lockin when accessing selector-names
Ilkka Ollakka [Thu, 13 Aug 2009 13:10:12 +0000 (16:10 +0300)]
Qt4: add mutex-lockin when accessing selector-names

12 years agoQt4: store input_item_t* in plitem and handle metadata in model
Ilkka Ollakka [Thu, 13 Aug 2009 12:42:23 +0000 (15:42 +0300)]
Qt4: store input_item_t* in plitem and handle metadata in model

No need to store/recreate metadata on plitem anymore, as we can get
it now on the fly, also separate headerData and Data. Hopefully
that vlc_gc_incref/vlc_gc_decref is sufficient for that input_item_t
pointer protection.

Feel free to fix/revert/comment if that pointer shouldn't really be
there, or if it's not safe it to be there thisway.

12 years agoQt4: change metaChanged signal from id to input_item_t*
Ilkka Ollakka [Thu, 13 Aug 2009 11:25:52 +0000 (14:25 +0300)]
Qt4: change metaChanged signal from id to input_item_t*

12 years agoWinCE: switch back vlc_thread_t to an allocated struct
Pierre Ynard [Thu, 13 Aug 2009 11:21:09 +0000 (13:21 +0200)]
WinCE: switch back vlc_thread_t to an allocated struct

WinCE needs the cancellation event handle along with the thread handle,
so we have to switch back to a struct on WinCE. Which causes great
ugliness. Fix the build with the recent changes, and simplify some
related Win32 code.

12 years agothreads: fix leaks on error path
Pierre Ynard [Thu, 13 Aug 2009 11:12:34 +0000 (13:12 +0200)]
threads: fix leaks on error path

Fix memleak + event leak on wince if thread creation fails

12 years agoRemove skins2 dependency on libxml2 for Win32
Jean-Baptiste Kempf [Thu, 13 Aug 2009 10:02:41 +0000 (12:02 +0200)]
Remove skins2 dependency on libxml2 for Win32

Skins2 dll gets a bit smaller.

12 years agoForce -lz on fretype.
Jean-Baptiste Kempf [Thu, 13 Aug 2009 09:53:42 +0000 (11:53 +0200)]
Force -lz on fretype.

12 years agoPatch libass on Win32 to avoid Using FcParseAndLoad
Jean-Baptiste Kempf [Thu, 13 Aug 2009 08:39:58 +0000 (10:39 +0200)]
Patch libass on Win32 to avoid Using FcParseAndLoad

12 years agoUpdate ffmpeg patch for darwin
Jean-Baptiste Kempf [Thu, 13 Aug 2009 08:39:48 +0000 (10:39 +0200)]
Update ffmpeg patch for darwin

12 years agoDo not pre-buffer too much, it has side effects with the current es_out code.
Laurent Aimar [Wed, 12 Aug 2009 21:13:24 +0000 (23:13 +0200)]
Do not pre-buffer too much, it has side effects with the current es_out code.

At least, ES track switching became really slow (the data for the associated
ES are not buffered as the decoder is not present).

12 years agoUpdated current EIT event only on Current/Following EIT tables.
Laurent Aimar [Wed, 12 Aug 2009 21:12:31 +0000 (23:12 +0200)]
Updated current EIT event only on Current/Following EIT tables.

12 years agoForced "on top" to the video widget in Qt4 while in fullscreen.
Laurent Aimar [Wed, 12 Aug 2009 20:12:42 +0000 (22:12 +0200)]
Forced "on top" to the video widget in Qt4 while in fullscreen.

There is still a problem when the Gui itself has "on top" set.

12 years agoQt4: avoid transient window glitch when leaving full-screen
Rémi Denis-Courmont [Wed, 12 Aug 2009 20:36:32 +0000 (23:36 +0300)]
Qt4: avoid transient window glitch when leaving full-screen

Pointed-out-by: Jean-Baptiste Kempf
12 years agoXlib: remove redumdant window management code
Rémi Denis-Courmont [Wed, 12 Aug 2009 19:35:43 +0000 (22:35 +0300)]
Xlib: remove redumdant window management code

12 years agoRemove dead xinerama and VidMod checks
Rémi Denis-Courmont [Wed, 12 Aug 2009 19:33:12 +0000 (22:33 +0300)]
Remove dead xinerama and VidMod checks

12 years agoDummy debug
Rémi Denis-Courmont [Wed, 12 Aug 2009 18:39:20 +0000 (21:39 +0300)]
Dummy debug

12 years agoXlib: rely on window provider for full-screen and always-on-top
Rémi Denis-Courmont [Tue, 11 Aug 2009 18:36:08 +0000 (21:36 +0300)]
Xlib: rely on window provider for full-screen and always-on-top

This fixes always-on-top going away when toggling full-screen and back.

12 years agoQt4 window: full-screen support
Rémi Denis-Courmont [Wed, 12 Aug 2009 18:35:02 +0000 (21:35 +0300)]
Qt4 window: full-screen support

12 years agoFixed RC deadlocks on input events.
Laurent Aimar [Wed, 12 Aug 2009 17:22:47 +0000 (19:22 +0200)]
Fixed RC deadlocks on input events.

12 years agoMore logical non YUV fallback for xcb.
Laurent Aimar [Sun, 9 Aug 2009 15:02:33 +0000 (17:02 +0200)]
More logical non YUV fallback for xcb.

12 years agoRemoved duplicated code in audio intf.c
Laurent Aimar [Sun, 9 Aug 2009 14:33:46 +0000 (16:33 +0200)]
Removed duplicated code in audio intf.c

12 years agoSet 'saved-volume" in aout_VolumeSet.
Laurent Aimar [Sun, 9 Aug 2009 14:32:43 +0000 (16:32 +0200)]
Set 'saved-volume" in aout_VolumeSet.

12 years agoRemoved duplicated code in audio intf.c
Laurent Aimar [Sun, 9 Aug 2009 14:14:08 +0000 (16:14 +0200)]
Removed duplicated code in audio intf.c

12 years agoQt4: fix race in requestVideo and simplify
Rémi Denis-Courmont [Wed, 12 Aug 2009 16:40:50 +0000 (19:40 +0300)]
Qt4: fix race in requestVideo and simplify

We were accessing some main interface variables from random threads
without serialization. This simply moves the blocking connection signal
from sole size setting to the whole video widget request call. In the
process, we can remove two signals. We still need a blocking connection
signal. It does not add any new deadlock case, since there was already
blocking connection signal in the same call and in the same direction.

12 years agoXlib: no need to restore windowed mode when exiting
Rémi Denis-Courmont [Tue, 11 Aug 2009 18:02:10 +0000 (21:02 +0300)]
Xlib: no need to restore windowed mode when exiting

(Otherwise we would be in trouble whenever VLC crashes)

12 years agothreads: simplify
Pierre Ynard [Wed, 12 Aug 2009 14:44:51 +0000 (16:44 +0200)]
threads: simplify

Remove repeated code

12 years agoWinCE: remove broken thread times debug
Pierre Ynard [Wed, 12 Aug 2009 14:33:10 +0000 (16:33 +0200)]
WinCE: remove broken thread times debug

The call was broken, but still worked, but only half-way...

12 years agoRemove the ShowIntf module. It doesn't make sense when MacOS and Qt gui have a fullsc...
Jean-Baptiste Kempf [Wed, 12 Aug 2009 13:59:15 +0000 (15:59 +0200)]
Remove the ShowIntf module. It doesn't make sense when MacOS and Qt gui have a fullscreen controller.

12 years agoQt4: fix typo
Pierre Ynard [Wed, 12 Aug 2009 01:26:35 +0000 (03:26 +0200)]
Qt4: fix typo

Fix build on Win32

12 years agoQt4 playlist: fix crash when deleting nodes and their children
Jakob Leben [Sun, 9 Aug 2009 23:09:27 +0000 (01:09 +0200)]
Qt4 playlist: fix crash when deleting nodes and their children

This patch fixes the crash when a node is selected together with it's children and then deleted

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years agoTHANKS to François
Jean-Baptiste Kempf [Tue, 11 Aug 2009 23:05:54 +0000 (01:05 +0200)]
THANKS to François

12 years agoMore debug by default.
Jean-Baptiste Kempf [Tue, 11 Aug 2009 23:03:27 +0000 (01:03 +0200)]
More debug by default.

12 years agoContribs: Believe it or not, new version of libjpeg!
Jean-Baptiste Kempf [Tue, 11 Aug 2009 23:02:26 +0000 (01:02 +0200)]
Contribs: Believe it or not, new version of libjpeg!

12 years agoGUI: sprefs_audio hide lastfm when not checked
Francois Cartegnie [Tue, 11 Aug 2009 22:40:24 +0000 (00:40 +0200)]
GUI: sprefs_audio hide lastfm when not checked

12 years agoShow stylesCombo only on Linux and Win32-debug
Jean-Baptiste Kempf [Tue, 11 Aug 2009 22:12:53 +0000 (00:12 +0200)]
Show stylesCombo only on Linux and Win32-debug

12 years agoAllow to select the style of Qt in Simple preferences.
Jean-Baptiste Kempf [Tue, 11 Aug 2009 22:06:37 +0000 (00:06 +0200)]
Allow to select the style of Qt in Simple preferences.

12 years agoXCB-XVideo: implement full-screen mode
Rémi Denis-Courmont [Tue, 11 Aug 2009 17:13:11 +0000 (20:13 +0300)]
XCB-XVideo: implement full-screen mode

12 years agoXCB-X11: implement full-screen mode
Rémi Denis-Courmont [Tue, 11 Aug 2009 17:12:54 +0000 (20:12 +0300)]
XCB-X11: implement full-screen mode

12 years agoxcb_window: implement fullscreen mode
Rémi Denis-Courmont [Tue, 11 Aug 2009 17:03:51 +0000 (20:03 +0300)]
xcb_window: implement fullscreen mode

12 years agoPre-factor WM_STATE change
Rémi Denis-Courmont [Tue, 11 Aug 2009 16:59:05 +0000 (19:59 +0300)]
Pre-factor WM_STATE change

12 years agoAdd some comments
Rémi Denis-Courmont [Tue, 11 Aug 2009 16:58:51 +0000 (19:58 +0300)]
Add some comments