vlc.git
11 years agoActual patch from previous commit
Jean-Baptiste Kempf [Tue, 18 Aug 2009 09:41:18 +0000 (11:41 +0200)]
Actual patch from previous commit

11 years agoContrib: fix liboil for Win64
Jean-Baptiste Kempf [Tue, 18 Aug 2009 09:40:36 +0000 (11:40 +0200)]
Contrib: fix liboil for Win64

11 years agoContrib: Fix liboil cpu detection
Jean-Baptiste Kempf [Tue, 18 Aug 2009 09:01:07 +0000 (11:01 +0200)]
Contrib: Fix liboil cpu detection

Fix provided by NightStrike from mingw-w64 project

11 years agoQt: use a QGridLayout for the core of central Widget of the main Interface.
Jean-Baptiste Kempf [Fri, 14 Aug 2009 16:40:00 +0000 (18:40 +0200)]
Qt: use a QGridLayout for the core of central Widget of the main Interface.

This will let us have a few extras widgets in the main dialog

11 years agoQt4: correct the check whether item is node
Jakob Leben [Mon, 17 Aug 2009 23:01:40 +0000 (01:01 +0200)]
Qt4: correct the check whether item is node

( PLModel::childrenCount() > 0 ) is not equivalent to (
playlist_item_t*->i_children > -1 ). This patch swaps former for latter
which is a correct strict check wether an item is node.

Signed-off-by: Ilkka Ollakka <ileoo@videolan.org>
11 years agoqt4: cleanup plitem
Ilkka Ollakka [Sun, 16 Aug 2009 19:24:13 +0000 (22:24 +0300)]
qt4: cleanup plitem

11 years agoRemove unused libvlc_lock_state
Rémi Denis-Courmont [Mon, 17 Aug 2009 19:27:40 +0000 (22:27 +0300)]
Remove unused libvlc_lock_state

11 years agoRemove unused b_playlist_locked
Rémi Denis-Courmont [Mon, 17 Aug 2009 19:26:27 +0000 (22:26 +0300)]
Remove unused b_playlist_locked

11 years agoRemove trailing spaces.
Rémi Duraffort [Mon, 17 Aug 2009 14:23:57 +0000 (16:23 +0200)]
Remove trailing spaces.

11 years agoliblc_video: use var_ToggleBool when applicable.
Rémi Duraffort [Mon, 17 Aug 2009 13:57:29 +0000 (15:57 +0200)]
liblc_video: use var_ToggleBool when applicable.

11 years agolibvlc_video*: constify.
Rémi Duraffort [Mon, 17 Aug 2009 13:53:20 +0000 (15:53 +0200)]
libvlc_video*: constify.

11 years agolibvlc_mediacontrol: fix object leaks.
Rémi Duraffort [Mon, 17 Aug 2009 13:42:25 +0000 (15:42 +0200)]
libvlc_mediacontrol: fix object leaks.

11 years agolibvlc_media_player: use var_Get(Bool|Float|Integer) when applicable.
Rémi Duraffort [Mon, 17 Aug 2009 13:21:44 +0000 (15:21 +0200)]
libvlc_media_player: use var_Get(Bool|Float|Integer) when applicable.

11 years agolibvlc_media_player: fix object leak (input thread).
Rémi Duraffort [Mon, 17 Aug 2009 12:52:33 +0000 (14:52 +0200)]
libvlc_media_player: fix object leak (input thread).

11 years agoqt4: fix a typo.
Rémi Duraffort [Mon, 17 Aug 2009 12:28:58 +0000 (14:28 +0200)]
qt4: fix a typo.

11 years agodemux_qtl: fix potential object leak and remove dummy private structure.
Rémi Duraffort [Sun, 16 Aug 2009 16:07:25 +0000 (18:07 +0200)]
demux_qtl: fix potential object leak and remove dummy private structure.

11 years agodemux_xspf: fix double free (introduced by myself).
Rémi Duraffort [Mon, 17 Aug 2009 12:21:30 +0000 (14:21 +0200)]
demux_xspf: fix double free (introduced by myself).

11 years agodemux_qtl: factorize.
Rémi Duraffort [Sun, 16 Aug 2009 15:57:36 +0000 (17:57 +0200)]
demux_qtl: factorize.

11 years agodemux_shoutcast: cleaning.
Rémi Duraffort [Sun, 16 Aug 2009 15:50:43 +0000 (17:50 +0200)]
demux_shoutcast: cleaning.

11 years agoplaylist demux: no need to strdup the string here.
Rémi Duraffort [Sun, 16 Aug 2009 15:32:46 +0000 (17:32 +0200)]
playlist demux: no need to strdup the string here.

11 years agodemux_podcast: fix potential segfault (introduced by previous cleanups).
Rémi Duraffort [Thu, 6 Aug 2009 09:10:38 +0000 (11:10 +0200)]
demux_podcast: fix potential segfault (introduced by previous cleanups).

11 years agodemux_shoutcast: remove dummy private structure.
Rémi Duraffort [Thu, 6 Aug 2009 09:05:29 +0000 (11:05 +0200)]
demux_shoutcast: remove dummy private structure.

11 years agodemux_shoutcast: small cleanup.
Rémi Duraffort [Thu, 6 Aug 2009 08:53:08 +0000 (10:53 +0200)]
demux_shoutcast: small cleanup.

11 years agodelux_shoutcast: no need to strdup the string.
Rémi Duraffort [Thu, 6 Aug 2009 08:43:36 +0000 (10:43 +0200)]
delux_shoutcast: no need to strdup the string.

11 years agodemux_shoutcast: fix object leak in case of error.
Rémi Duraffort [Thu, 6 Aug 2009 08:35:52 +0000 (10:35 +0200)]
demux_shoutcast: fix object leak in case of error.

11 years agomozilla plugin: fix a potential memleak.
Rémi Duraffort [Mon, 3 Aug 2009 16:15:05 +0000 (18:15 +0200)]
mozilla plugin: fix a potential memleak.

11 years agoRemove useless #include
Rémi Denis-Courmont [Sun, 16 Aug 2009 20:20:22 +0000 (23:20 +0300)]
Remove useless #include

11 years agoGLX: remove some useless stuff (that should never have been in GLX)
Rémi Denis-Courmont [Sun, 16 Aug 2009 20:03:01 +0000 (23:03 +0300)]
GLX: remove some useless stuff (that should never have been in GLX)

11 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

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

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

11 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)

11 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)

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

11 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...

11 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

11 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)

11 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

11 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

11 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

11 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.

11 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

11 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

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

11 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

11 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

11 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

11 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

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

11 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]

11 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

11 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.

11 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

11 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

11 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

11 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

11 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()

11 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

11 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.

11 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

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

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

11 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

11 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

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

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

11 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

11 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

11 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

11 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

11 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

11 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).

11 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.

11 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

11 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

11 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>
11 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

11 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

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

11 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

11 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.

11 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

11 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

11 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

11 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://

11 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>
11 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>
11 years agoCopyright updates
Jean-Baptiste Kempf [Thu, 13 Aug 2009 21:54:28 +0000 (23:54 +0200)]
Copyright updates

11 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

11 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

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

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

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

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

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

11 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

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

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

11 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.

11 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.