vlc.git
12 years agolibvlc: Simplify get/set/toggle_fullscreen.
Pierre d'Herbemont [Fri, 13 Jun 2008 12:59:48 +0000 (14:59 +0200)]
libvlc: Simplify get/set/toggle_fullscreen.

12 years agolibvlc: Properly release vout. Pointed out by Lukas.
Pierre d'Herbemont [Fri, 13 Jun 2008 12:56:18 +0000 (14:56 +0200)]
libvlc: Properly release vout. Pointed out by Lukas.

12 years agolibvlc: Don't attempt to search an input's vout everywhere. Only search it in input...
Pierre d'Herbemont [Fri, 13 Jun 2008 12:55:03 +0000 (14:55 +0200)]
libvlc: Don't attempt to search an input's vout everywhere. Only search it in input's children.

12 years agolibvlc: Fix GetVout's comment. Pointed out by Lukas.
Pierre d'Herbemont [Fri, 13 Jun 2008 12:54:07 +0000 (14:54 +0200)]
libvlc: Fix GetVout's comment. Pointed out by Lukas.

12 years agoReplaced a certain amount of vlc_object_find by pl_Yield
Felix Paul Kühne [Fri, 13 Jun 2008 07:48:13 +0000 (09:48 +0200)]
Replaced a certain amount of vlc_object_find by pl_Yield

Great news: there is no need to check for the existance of the playlist!

12 years agoBootstrap when you modify configure.in
Jean-Baptiste Kempf [Fri, 13 Jun 2008 07:04:15 +0000 (09:04 +0200)]
Bootstrap when you modify configure.in

12 years agoWe can't use this plugin for audio decoding on Leopard due to the removal of the...
Felix Paul Kühne [Fri, 13 Jun 2008 06:45:04 +0000 (08:45 +0200)]
We can't use this plugin for audio decoding on Leopard due to the removal of the old pre-carbon SoundManager API.

As this plugin is heavily based on QuickDraw and Sound Manager, we definitively want a re-write using sane and supported APIs meaning either QTKit or a combination of CoreAudio and the 32bit C QuickTime API

12 years agoLibdvdread fix on Win$uck$
Jean-Baptiste Kempf [Fri, 13 Jun 2008 06:26:18 +0000 (08:26 +0200)]
Libdvdread fix on Win$uck$

12 years agoAdded complete l10n to the Capture interface and a useful error messages to the input...
Felix Paul Kühne [Fri, 13 Jun 2008 00:16:11 +0000 (02:16 +0200)]
Added complete l10n to the Capture interface and a useful error messages to the input module

12 years agoAssigned cmd-R to 'Open Capture Device'
Felix Paul Kühne [Thu, 12 Jun 2008 23:57:11 +0000 (01:57 +0200)]
Assigned cmd-R to 'Open Capture Device'

12 years agoDon't double free objects on error. Pointed by Pierre
Felix Paul Kühne [Thu, 12 Jun 2008 23:47:34 +0000 (01:47 +0200)]
Don't double free objects on error. Pointed by Pierre

12 years agoFixes and cleanup
Rémi Denis-Courmont [Thu, 12 Jun 2008 20:54:13 +0000 (23:54 +0300)]
Fixes and cleanup

12 years agoWx: remove translations
Rémi Denis-Courmont [Thu, 12 Jun 2008 20:33:37 +0000 (23:33 +0300)]
Wx: remove translations

12 years agoWxWidgets: good bye, I will not miss you.
Rémi Denis-Courmont [Thu, 12 Jun 2008 20:32:14 +0000 (23:32 +0300)]
WxWidgets: good bye, I will not miss you.

If you wanted to keep it, you've had two years to take maintainership
and start fixing this mess. It's a bit late.

12 years agoRefer to Qt4 rather than WxWidgets for interactions
Rémi Denis-Courmont [Thu, 12 Jun 2008 20:29:15 +0000 (23:29 +0300)]
Refer to Qt4 rather than WxWidgets for interactions

12 years agoDisable vout_RequestWindow. It has never worked properly
Rémi Denis-Courmont [Thu, 12 Jun 2008 20:19:58 +0000 (23:19 +0300)]
Disable vout_RequestWindow. It has never worked properly

Some people should have read some documentation about threading before
they did 1000+ commits. Yes, I am obviously annoyed. I have been fixing
VLC for 18 months because of these "great former developers".

12 years agoRemove services discovery tasks before the playlist
Rémi Denis-Courmont [Thu, 12 Jun 2008 19:01:16 +0000 (22:01 +0300)]
Remove services discovery tasks before the playlist

I assume nothing can ever try to add a new one once the interfaces have
been destroyed. If not there is a race condition.

12 years agoFix previous commit
Rémi Denis-Courmont [Thu, 12 Jun 2008 18:53:33 +0000 (21:53 +0300)]
Fix previous commit

12 years agoNULLify p_playlist when the playlist is gone
Rémi Denis-Courmont [Thu, 12 Jun 2008 18:37:23 +0000 (21:37 +0300)]
NULLify p_playlist when the playlist is gone

12 years agolive: add --rtsp-mcast to force multicast
Rémi Denis-Courmont [Thu, 12 Jun 2008 18:12:21 +0000 (21:12 +0300)]
live: add --rtsp-mcast to force multicast

12 years agoboolean cosmetics
Rémi Denis-Courmont [Thu, 12 Jun 2008 18:11:49 +0000 (21:11 +0300)]
boolean cosmetics

12 years agoVLCKit: Use --ignore-config.
Pierre d'Herbemont [Thu, 12 Jun 2008 17:50:01 +0000 (19:50 +0200)]
VLCKit: Use --ignore-config.

12 years agoopengllayer: Don't protect a module by #ifdef you'll end up in warnings. Disable...
Pierre d'Herbemont [Thu, 12 Jun 2008 17:47:11 +0000 (19:47 +0200)]
opengllayer: Don't protect a module by #ifdef you'll end up in warnings. Disable it at configure time if needed.

12 years agoRedesign the Capture Device panel
Felix Paul Kühne [Thu, 12 Jun 2008 17:38:39 +0000 (19:38 +0200)]
Redesign the Capture Device panel

Complete l10n to be done later on

12 years agoDon't block all signals.
Rémi Denis-Courmont [Thu, 12 Jun 2008 17:40:23 +0000 (20:40 +0300)]
Don't block all signals.

Some (buggy?) thread implementations use RT signals internally...
The handling of SIGPIPE remains somewhat problematic. We should probably
use MSG_NOSIGNAL when writing to sockets, but this does not work when
dealing with pipes/FIFOs or writing to sockets using write(). In
particular, net_Write uses write() so that it can be used on non-socket
descriptors too (I believe this is used by the RC interface).

12 years agoaccept: ignore interrupts
Rémi Denis-Courmont [Thu, 12 Jun 2008 17:22:03 +0000 (20:22 +0300)]
accept: ignore interrupts

12 years agoconnect: handle EINTR
Rémi Denis-Courmont [Thu, 12 Jun 2008 17:16:55 +0000 (20:16 +0300)]
connect: handle EINTR

Though this should not happen as we are using non-blocking mode

12 years agoFile: devices are not seekable
Rémi Denis-Courmont [Thu, 12 Jun 2008 17:10:55 +0000 (20:10 +0300)]
File: devices are not seekable

Character device may be seekable (depending on the device) and block
device are seekable, but only on certain boundaries which we don't
handle.

12 years agoNetwork: handle interrupts when reading and some comments
Rémi Denis-Courmont [Thu, 12 Jun 2008 17:09:53 +0000 (20:09 +0300)]
Network: handle interrupts when reading and some comments

12 years agoaccess_out_file: fix non-atomic write and error handling
Rémi Denis-Courmont [Thu, 12 Jun 2008 16:54:10 +0000 (19:54 +0300)]
access_out_file: fix non-atomic write and error handling

12 years agoFactorize interrupt handling
Rémi Denis-Courmont [Thu, 12 Jun 2008 16:52:12 +0000 (19:52 +0300)]
Factorize interrupt handling

12 years agoWarning killing.
Jean-Baptiste Kempf [Thu, 12 Jun 2008 07:47:59 +0000 (00:47 -0700)]
Warning killing.

12 years agoAlso fix the video output window thanks to IB2.5
Felix Paul Kühne [Thu, 12 Jun 2008 06:48:41 +0000 (08:48 +0200)]
Also fix the video output window thanks to IB2.5

12 years agoFix the controller resizing
Felix Paul Kühne [Thu, 12 Jun 2008 05:44:51 +0000 (07:44 +0200)]
Fix the controller resizing

Note to self: don't ever trust IB3

12 years agoWe don't need the .dvdread target anymore in here
Felix Paul Kühne [Thu, 12 Jun 2008 04:15:21 +0000 (06:15 +0200)]
We don't need the .dvdread target anymore in here

12 years agoPrepare for future darwin releases
Felix Paul Kühne [Thu, 12 Jun 2008 04:11:20 +0000 (06:11 +0200)]
Prepare for future darwin releases

12 years agoMake sure we download all sources first
Felix Paul Kühne [Thu, 12 Jun 2008 04:08:28 +0000 (06:08 +0200)]
Make sure we download all sources first

(only on supported platforms, being just Darwin right now)

12 years agoUpdate the FFmpeg patch... Do we still need that ?
Jean-Baptiste Kempf [Thu, 12 Jun 2008 03:55:58 +0000 (20:55 -0700)]
Update the FFmpeg patch... Do we still need that ?

12 years agoClean up the code a bit, turning to be half as laggy as the previous code, but it...
Felix Paul Kühne [Thu, 12 Jun 2008 02:35:58 +0000 (04:35 +0200)]
Clean up the code a bit, turning to be half as laggy as the previous code, but it will need to be properly fixed.

Additionally, we are a good citizen now, since we actually quit our session instead of just releasing it. This takes a couple of secs though.

12 years agoFix the Default and Deployment modes for the native target
Felix Paul Kühne [Thu, 12 Jun 2008 01:42:22 +0000 (03:42 +0200)]
Fix the Default and Deployment modes for the native target

12 years agoClean more correctly
Felix Paul Kühne [Thu, 12 Jun 2008 01:25:09 +0000 (03:25 +0200)]
Clean more correctly

Use a ffmpeg revision which suits our state of patches

12 years agoTrying to use non-existant patches isn't exactly the idea of the century.
Felix Paul Kühne [Thu, 12 Jun 2008 01:16:40 +0000 (03:16 +0200)]
Trying to use non-existant patches isn't exactly the idea of the century.

Please leave the FFmpeg revision fixed and only update it if you sure that your newer one is stable, nice and cool.

12 years agoUse the native target instead of the jam-based target.
Felix Paul Kühne [Thu, 12 Jun 2008 01:07:08 +0000 (03:07 +0200)]
Use the native target instead of the jam-based target.

The jam-based target is removed by this commmit.

12 years agoFinally upgrade the build target to a native one (in favour of a jam-based one, whose...
Felix Paul Kühne [Thu, 12 Jun 2008 01:01:30 +0000 (03:01 +0200)]
Finally upgrade the build target to a native one (in favour of a jam-based one, whose support is to be reomoved by Xcode's next release)

Regrettably, this adds yet another file where to change the VLC version

12 years agoFix libdvdnav in a reliable and quite clean way.
Felix Paul Kühne [Thu, 12 Jun 2008 00:37:19 +0000 (02:37 +0200)]
Fix libdvdnav in a reliable and quite clean way.

Unsure about my sanity now though.

12 years agoFix translation
Rémi Denis-Courmont [Wed, 11 Jun 2008 20:06:43 +0000 (23:06 +0300)]
Fix translation

12 years agoUse block_Alloc directly
Rémi Denis-Courmont [Wed, 11 Jun 2008 18:54:58 +0000 (21:54 +0300)]
Use block_Alloc directly

12 years agoRemove useless stream parameter
Rémi Denis-Courmont [Wed, 11 Jun 2008 18:52:01 +0000 (21:52 +0300)]
Remove useless stream parameter

12 years agoRTP sout: use block_Alloc
Rémi Denis-Courmont [Wed, 11 Jun 2008 18:48:44 +0000 (21:48 +0300)]
RTP sout: use block_Alloc

12 years agoAnother ptime fix
Rémi Denis-Courmont [Wed, 11 Jun 2008 18:45:27 +0000 (21:45 +0300)]
Another ptime fix

12 years agoOf course, L16 has two bytes per sample...
Rémi Denis-Courmont [Wed, 11 Jun 2008 18:44:05 +0000 (21:44 +0300)]
Of course, L16 has two bytes per sample...

12 years agoRTP sout: rework sample-based audio codecs to not exceed the MTU
Rémi Denis-Courmont [Wed, 11 Jun 2008 18:39:41 +0000 (21:39 +0300)]
RTP sout: rework sample-based audio codecs to not exceed the MTU

Send as much data as the packetization AND the MTU allow

12 years agoFix logic error pointed by Meuuh
Felix Paul Kühne [Wed, 11 Jun 2008 16:28:19 +0000 (18:28 +0200)]
Fix logic error pointed by Meuuh

12 years agovlc_object_attach: do not kill an object within the structure lock
Rémi Denis-Courmont [Wed, 11 Jun 2008 16:24:39 +0000 (19:24 +0300)]
vlc_object_attach: do not kill an object within the structure lock

Killing a the parent within vlc_object_attach looks like an awful hack
anyway. And there was a documented race condition, in addition to the
dead lock.

This reverts all the pluses from 99e8bcdd. vlc_object_kill() takes the
structure lock internally (through vlc_list_child()), so this would
always deadlock. Besides, we cannot take any lock within the structure
lock, lest we forbid any thread from ever manipulating the objects
structure while holding a lock on any object.
AFAIK, only object reference spins and the messages bank can be locked
within the structure lock.

12 years agoBlind attempt at fixing the libintl/g++-4.2 problem
Rémi Denis-Courmont [Wed, 11 Jun 2008 15:57:54 +0000 (18:57 +0300)]
Blind attempt at fixing the libintl/g++-4.2 problem

12 years agoFix of showing FS controller when it is slowly hidding
Lukas Durfina [Wed, 11 Jun 2008 10:29:10 +0000 (12:29 +0200)]
Fix of showing FS controller when it is slowly hidding

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years agoFFmpeg encoder : be sure to use the minimum required buffer size
Rafaël Carré [Wed, 11 Jun 2008 14:57:23 +0000 (16:57 +0200)]
FFmpeg encoder : be sure to use the minimum required buffer size

Use the correct type for the buffer

12 years agoAdd support for Cinepak, Indeo Video IV, DVC Pro 100, DVC Pro HD and Pixlet (the...
Felix Paul Kühne [Wed, 11 Jun 2008 08:19:30 +0000 (10:19 +0200)]
Add support for Cinepak, Indeo Video IV, DVC Pro 100, DVC Pro HD and Pixlet (the last one being Mac-only)

12 years agoWe also want to activate AMR-WB. More to come within the next few days.
Felix Paul Kühne [Wed, 11 Jun 2008 07:44:53 +0000 (09:44 +0200)]
We also want to activate AMR-WB. More to come within the next few days.

12 years agoActivated iLBC support on Macs running QuickTime 7.5 or later
Felix Paul Kühne [Wed, 11 Jun 2008 07:40:40 +0000 (09:40 +0200)]
Activated iLBC support on Macs running QuickTime 7.5 or later

12 years agoTry to fix the win32 compile.
Jean-Baptiste Kempf [Tue, 10 Jun 2008 23:07:53 +0000 (16:07 -0700)]
Try to fix the win32 compile.

12 years agoFFmpeg update.
Jean-Baptiste Kempf [Tue, 10 Jun 2008 22:51:12 +0000 (00:51 +0200)]
FFmpeg update.

12 years agoTypo
Rémi Denis-Courmont [Tue, 10 Jun 2008 19:38:31 +0000 (22:38 +0300)]
Typo

12 years agoFix make check too
Rémi Denis-Courmont [Tue, 10 Jun 2008 19:37:17 +0000 (22:37 +0300)]
Fix make check too

12 years agoFix make check (sic)
Rémi Denis-Courmont [Tue, 10 Jun 2008 19:34:44 +0000 (22:34 +0300)]
Fix make check (sic)

12 years agoBunch of always on demu/x plugins
Rémi Denis-Courmont [Tue, 10 Jun 2008 19:10:34 +0000 (22:10 +0300)]
Bunch of always on demu/x plugins

12 years agoFix postproc compiling.
Jean-Baptiste Kempf [Tue, 10 Jun 2008 18:11:12 +0000 (11:11 -0700)]
Fix postproc compiling.

12 years agoFix permissions
Rémi Denis-Courmont [Tue, 10 Jun 2008 18:02:36 +0000 (21:02 +0300)]
Fix permissions

12 years agoRTP Vorbis payload format (incomplete)
Rémi Denis-Courmont [Tue, 10 Jun 2008 16:54:33 +0000 (19:54 +0300)]
RTP Vorbis payload format (incomplete)

(as per RFC queue'd draft-ietf-avt-rtp-vorbis-09).
Not tested against other implementations, and some pretty bad PTS
issues. RTP only provides us with a valid PTS for the first frame in a
packet, and we don't know the length of each frame, so, hmm... I wonder
how to compute the PTS for non-first frames...

Also, we would need either an SDP parser to use Vorbis (properly) as a
dynamic payload type, or to use a proprietary static payload type and a
proprietary static RTP clock frequency.

12 years agortp: don't build unused directory
Rémi Denis-Courmont [Tue, 10 Jun 2008 17:02:32 +0000 (20:02 +0300)]
rtp: don't build unused directory

12 years agoDecode H.264 with QuickTime on the Mac.
Jean-Baptiste Kempf [Tue, 10 Jun 2008 16:18:51 +0000 (09:18 -0700)]
Decode H.264 with QuickTime on the Mac.

12 years agoUnregister a "sub filter"'s private SPU channel when destroying the
Antoine Cellerier [Tue, 10 Jun 2008 14:59:13 +0000 (16:59 +0200)]
Unregister a "sub filter"'s private SPU channel when destroying the
filter. Since filter destruction is always requested by the subpicture
core itself, we already have the subpicture lock so no need to lock.

12 years agoPartially fix sub picture filter chain handling. Still needs a bit of
Antoine Cellerier [Tue, 10 Jun 2008 14:31:30 +0000 (16:31 +0200)]
Partially fix sub picture filter chain handling. Still needs a bit of
work.

12 years agoFix zoom gauge in magnify.
Antoine Cellerier [Tue, 10 Jun 2008 14:16:31 +0000 (16:16 +0200)]
Fix zoom gauge in magnify.

12 years agoAdd missing include (OpenDemux uses the CloseDemux function, so the
Antoine Cellerier [Tue, 10 Jun 2008 10:32:08 +0000 (12:32 +0200)]
Add missing include (OpenDemux uses the CloseDemux function, so the
compiler needs the prototype).

12 years agoFixes for fullscreen controller
Lukas Durfina [Tue, 10 Jun 2008 10:02:39 +0000 (12:02 +0200)]
Fixes for fullscreen controller

Signed-off-by: Rafaël Carré <funman@videolan.org>
12 years agoRemoteosd: initialise gcrypt
Rafaël Carré [Tue, 10 Jun 2008 08:09:31 +0000 (10:09 +0200)]
Remoteosd: initialise gcrypt

12 years agoRemove outdated comment
Rafaël Carré [Tue, 10 Jun 2008 08:08:09 +0000 (10:08 +0200)]
Remove outdated comment

12 years agoFullscreen controller
Lukas Durfina [Sat, 7 Jun 2008 16:30:19 +0000 (18:30 +0200)]
Fullscreen controller

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years agos/H264/h264 in http interface.
Jean-Baptiste Kempf [Tue, 10 Jun 2008 06:41:54 +0000 (23:41 -0700)]
s/H264/h264 in http interface.

12 years agoUse less CPU : reduction of the number of iteration when it draws the frame. Some...
Adrien Maglo [Thu, 5 Jun 2008 12:24:56 +0000 (14:24 +0200)]
Use less CPU : reduction of the number of iteration when it draws the frame. Some non-code corrections of the previous patch.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years agoFix libdvdnav compilation
Felix Paul Kühne [Tue, 10 Jun 2008 00:08:15 +0000 (02:08 +0200)]
Fix libdvdnav compilation

12 years agoUpdate and activate portuguese l10n. Thanks to Bruno Queirós
Christophe Mutricy [Mon, 9 Jun 2008 21:34:52 +0000 (22:34 +0100)]
Update and activate portuguese l10n. Thanks to Bruno Queirós

12 years agoTypo (pointed by Bruno Queirós)
Christophe Mutricy [Mon, 9 Jun 2008 21:13:20 +0000 (22:13 +0100)]
Typo (pointed by Bruno Queirós)

12 years agoSupport for sudo
Rémi Denis-Courmont [Mon, 9 Jun 2008 18:49:29 +0000 (21:49 +0300)]
Support for sudo

12 years agoUpdate files list
Rémi Denis-Courmont [Mon, 9 Jun 2008 18:50:01 +0000 (21:50 +0300)]
Update files list

12 years agochroma.h has moved
Rémi Denis-Courmont [Mon, 9 Jun 2008 16:08:27 +0000 (19:08 +0300)]
chroma.h has moved

12 years agoThese days, the Quit method of mpris is made on the root object
Rafaël Carré [Mon, 9 Jun 2008 15:08:15 +0000 (17:08 +0200)]
These days, the Quit method of mpris is made on the root object

12 years agodemux/avformat: add Modules.am (otherwise bootstrap is b0rken).
Pavlov Konstantin [Mon, 9 Jun 2008 12:22:19 +0000 (16:22 +0400)]
demux/avformat: add Modules.am (otherwise bootstrap is b0rken).
thanks Vladimir Belousov for noticing.

12 years agoHACKING: fix some wording / changed macros / changed dirs.
Pavlov Konstantin [Sat, 7 Jun 2008 13:23:04 +0000 (17:23 +0400)]
HACKING: fix some wording / changed macros / changed dirs.

12 years agotoolbox: dont remove config.rpath.
Pavlov Konstantin [Fri, 6 Jun 2008 12:01:17 +0000 (16:01 +0400)]
toolbox: dont remove config.rpath.

12 years agoRemove executable permission from source files. (btw, why isn't the .h
Antoine Cellerier [Mon, 9 Jun 2008 07:44:40 +0000 (09:44 +0200)]
Remove executable permission from source files. (btw, why isn't the .h
file just named remoteosd.h?)

12 years agoRemove old post processing code remains from avcodec/video.c.
Antoine Cellerier [Sat, 7 Jun 2008 23:03:52 +0000 (01:03 +0200)]
Remove old post processing code remains from avcodec/video.c.

12 years agoMove avcodec module files to modules/codec/avcodec. (The 3 shared
Antoine Cellerier [Sat, 7 Jun 2008 22:59:51 +0000 (00:59 +0200)]
Move avcodec module files to modules/codec/avcodec. (The 3 shared
headers, avutil.h, chroma.h and fourcc.h are also located in that
directory.) This should be the last commit in the "Move all the old
ffmpeg modules source code files around to make it seem like you're
working while you're not".

12 years agoMove imgresample.c to the video_filter directory.
Antoine Cellerier [Sat, 7 Jun 2008 22:52:34 +0000 (00:52 +0200)]
Move imgresample.c to the video_filter directory.

12 years agoRemove crop/padd code from imgresample module. Imgresample is now only
Antoine Cellerier [Sat, 7 Jun 2008 22:47:20 +0000 (00:47 +0200)]
Remove crop/padd code from imgresample module. Imgresample is now only
1 submodule (well, 1 main module) which can take care of resizing and
chroma conversion (basically it's the old chroma.c code). All the files
have been merged in imgresample.c. In the long run I might split
resizing and chroma conversion to 2 submodules (performance impact would
be nil). (This is untested.)

12 years agoAdd a FIXME and fix a capability declaration.
Antoine Cellerier [Sat, 7 Jun 2008 22:23:42 +0000 (00:23 +0200)]
Add a FIXME and fix a capability declaration.

12 years agoavformat is demux/mux. Move it to modules/demux/avformat.
Antoine Cellerier [Sat, 7 Jun 2008 22:31:54 +0000 (00:31 +0200)]
avformat is demux/mux. Move it to modules/demux/avformat.

12 years agoMove swscale.c to the video_filter directory.
Antoine Cellerier [Sat, 7 Jun 2008 22:17:52 +0000 (00:17 +0200)]
Move swscale.c to the video_filter directory.

12 years agoMerge all swscale plugin related source files (except chroma.h).
Antoine Cellerier [Sat, 7 Jun 2008 22:15:39 +0000 (00:15 +0200)]
Merge all swscale plugin related source files (except chroma.h).