vlc.git
12 years agoMark *-altfullscreen as obsolete for now
Rémi Denis-Courmont [Sun, 16 Aug 2009 19:37:20 +0000 (22:37 +0300)]
Mark *-altfullscreen as obsolete for now

12 years agoRemove unused property
Rémi Denis-Courmont [Sun, 16 Aug 2009 19:36:36 +0000 (22:36 +0300)]
Remove unused property

12 years agoEnable XCB XVideo
Rémi Denis-Courmont [Sun, 16 Aug 2009 19:30:28 +0000 (22:30 +0300)]
Enable XCB XVideo

12 years agoEnable XCB X11 output
Rémi Denis-Courmont [Sun, 16 Aug 2009 19:29:36 +0000 (22:29 +0300)]
Enable XCB X11 output

Known issue: mouse hiding is not implemented (yet)

12 years agoX11: remove old key press handling (fixes: #47, #1646, #2573)
Rémi Denis-Courmont [Sun, 16 Aug 2009 18:25:48 +0000 (21:25 +0300)]
X11: remove old key press handling (fixes: #47, #1646, #2573)

12 years agoUseless #includes
Rémi Denis-Courmont [Sun, 16 Aug 2009 18:25:37 +0000 (21:25 +0300)]
Useless #includes

12 years agoQt4: hide button release from video widget too
Rémi Denis-Courmont [Sun, 16 Aug 2009 18:17:07 +0000 (21:17 +0300)]
Qt4: hide button release from video widget too

It does not seem to matter, but better safe than sorry...

12 years agoQt4: make video widget not eat mouse click events
Rémi Denis-Courmont [Sun, 16 Aug 2009 17:43:21 +0000 (20:43 +0300)]
Qt4: make video widget not eat mouse click events

12 years agoQt4: process FSC key event in the main interface (factor code)
Rémi Denis-Courmont [Sun, 16 Aug 2009 17:26:45 +0000 (20:26 +0300)]
Qt4: process FSC key event in the main interface (factor code)

12 years agoQt4: forward video key presses to main interface for processing
Rémi Denis-Courmont [Sun, 16 Aug 2009 17:22:58 +0000 (20:22 +0300)]
Qt4: forward video key presses to main interface for processing

12 years agoqt4: try to minimise time code keeps playlist global lock in playlist_model
Ilkka Ollakka [Sun, 16 Aug 2009 16:55:54 +0000 (19:55 +0300)]
qt4: try to minimise time code keeps playlist global lock in playlist_model

12 years agoqt4: remove basicly empty PLItem::update and refactor playlist_model UpdateTreeItem...
Ilkka Ollakka [Sun, 16 Aug 2009 14:47:10 +0000 (17:47 +0300)]
qt4: remove basicly empty PLItem::update and refactor playlist_model UpdateTreeItem-methods

12 years agoXCB: try to catch mouse clicks from the owner window
Rémi Denis-Courmont [Sun, 16 Aug 2009 14:47:31 +0000 (17:47 +0300)]
XCB: try to catch mouse clicks from the owner window

This allows popup menu and fullscreen toggle to work outside of the
video rendering area.

12 years agoqt4: add myself to authors of playlist_model
Ilkka Ollakka [Sun, 16 Aug 2009 13:29:26 +0000 (16:29 +0300)]
qt4: add myself to authors of playlist_model

12 years agoqt4: remove model from PLItem, and do emitting signals from model
Ilkka Ollakka [Sun, 16 Aug 2009 13:23:56 +0000 (16:23 +0300)]
qt4: remove model from PLItem, and do emitting signals from model

Also emit layoutAboutToBeChanged/layoutChanged() more. Speeds up
playlist-view atleast for me

12 years agoFactor again
Rémi Denis-Courmont [Sun, 16 Aug 2009 12:49:43 +0000 (15:49 +0300)]
Factor again

12 years agoCompile-time detection for FPU on ARM EABI
Rémi Denis-Courmont [Sun, 16 Aug 2009 12:47:18 +0000 (15:47 +0300)]
Compile-time detection for FPU on ARM EABI

12 years agoFactor CPU detection a little
Rémi Denis-Courmont [Sun, 16 Aug 2009 12:44:24 +0000 (15:44 +0300)]
Factor CPU detection a little

12 years agoXCB: fail if getting geometry fails, re-order a bit
Rémi Denis-Courmont [Sun, 16 Aug 2009 09:48:51 +0000 (12:48 +0300)]
XCB: fail if getting geometry fails, re-order a bit

12 years agoDisplay size cannot be negative
Rémi Denis-Courmont [Sun, 16 Aug 2009 09:28:33 +0000 (12:28 +0300)]
Display size cannot be negative

12 years agoError handling fix
Rémi Denis-Courmont [Sun, 16 Aug 2009 09:17:26 +0000 (12:17 +0300)]
Error handling fix

12 years agomacosx: fix release bundle size by reverting [71c633a876550b6bb3178ee5e7ae5d737359d3f3]
Felix Paul Kühne [Sun, 16 Aug 2009 12:35:23 +0000 (14:35 +0200)]
macosx: fix release bundle size by reverting [71c633a876550b6bb3178ee5e7ae5d737359d3f3]

12 years agoqt4: no need to store input-type, as we can get it from p_input in playlist_model
Ilkka Ollakka [Sun, 16 Aug 2009 12:36:58 +0000 (15:36 +0300)]
qt4: no need to store input-type, as we can get it from p_input in playlist_model

12 years agoqt4: store showflags in playlist_model instead every PLItem
Ilkka Ollakka [Sun, 16 Aug 2009 12:31:15 +0000 (15:31 +0300)]
qt4: store showflags in playlist_model instead every PLItem

we don't use per-item showflags anyway, as currently they are all same
on model-wide. And I didn't comeup any use-case currently that would
need per-item showflags.

12 years agoqt4: remove b_is_node and use childCount() > 0 instead in playlist_model
Ilkka Ollakka [Sun, 16 Aug 2009 12:21:18 +0000 (15:21 +0300)]
qt4: remove b_is_node and use childCount() > 0 instead in playlist_model

12 years agoqt4: add forgotten check so we don't try to get stuff from NULL-pointer
Ilkka Ollakka [Sun, 16 Aug 2009 12:20:18 +0000 (15:20 +0300)]
qt4: add forgotten check so we don't try to get stuff from NULL-pointer

12 years agomacosx: VLC (should) support RTMP streams now
Felix Paul Kühne [Sun, 16 Aug 2009 12:17:35 +0000 (14:17 +0200)]
macosx: VLC (should) support RTMP streams now

12 years agomacosx: unify my mail address
Felix Paul Kühne [Sun, 16 Aug 2009 12:02:55 +0000 (14:02 +0200)]
macosx: unify my mail address

12 years agoqt4: add reseting currentItem to NULL in rebuild() in playlist_model
Ilkka Ollakka [Sun, 16 Aug 2009 11:54:01 +0000 (14:54 +0300)]
qt4: add reseting currentItem to NULL in rebuild() in playlist_model

Set currentItem to NULL if there aren't anything playing on rebuild()

12 years agoqt4: playlist_model, set current to NULL if currentitem is removed or input changed...
Ilkka Ollakka [Sun, 16 Aug 2009 11:43:32 +0000 (14:43 +0300)]
qt4: playlist_model, set current to NULL if currentitem is removed or input changed to NULL

12 years agoQt4: remove b_current and store current PLItem in playlist_model
Ilkka Ollakka [Sat, 15 Aug 2009 05:53:51 +0000 (08:53 +0300)]
Qt4: remove b_current and store current PLItem in playlist_model

Maybe this would actually works better if we store index, but maybe I'll
look it sometime later why it didn't work as I expected.

12 years agoMark drawable as Win32-specific
Rémi Denis-Courmont [Sat, 15 Aug 2009 19:52:20 +0000 (22:52 +0300)]
Mark drawable as Win32-specific

12 years agodrawable: fix capability
Rémi Denis-Courmont [Sat, 15 Aug 2009 19:56:22 +0000 (22:56 +0300)]
drawable: fix capability

12 years agodrawable: remove X11 stuff
Rémi Denis-Courmont [Sat, 15 Aug 2009 19:56:11 +0000 (22:56 +0300)]
drawable: remove X11 stuff

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.