vlc.git
13 years agoPartly revert [20969]. fix #1311
Rafaël Carré [Tue, 9 Oct 2007 14:05:57 +0000 (14:05 +0000)]
Partly revert [20969]. fix #1311

13 years agohttp output: fix bonjour advertising
Rafaël Carré [Tue, 9 Oct 2007 12:45:33 +0000 (12:45 +0000)]
http output: fix bonjour advertising

13 years agofreetype: make sure the FontBuilder is finished when we destroy the module.
Rafaël Carré [Tue, 9 Oct 2007 11:48:29 +0000 (11:48 +0000)]
freetype: make sure the FontBuilder is finished when we destroy the module.

13 years agobonjour: checks asprintf() return value, checks name before using it
Rafaël Carré [Tue, 9 Oct 2007 06:48:49 +0000 (06:48 +0000)]
bonjour: checks asprintf() return value, checks name before using it

13 years agoQt4 - use enums instead of defines when you can.
Jean-Baptiste Kempf [Tue, 9 Oct 2007 02:35:17 +0000 (02:35 +0000)]
Qt4 - use enums instead of defines when you can.

13 years agoQt4 - header corrections.
Jean-Baptiste Kempf [Tue, 9 Oct 2007 02:28:01 +0000 (02:28 +0000)]
Qt4 - header corrections.

13 years agoQt4 - fix compilation.
Jean-Baptiste Kempf [Tue, 9 Oct 2007 02:22:28 +0000 (02:22 +0000)]
Qt4 - fix compilation.

13 years agoQt4 - Open: start to use a completer, use an enum and no stupid #define.
Jean-Baptiste Kempf [Tue, 9 Oct 2007 02:20:07 +0000 (02:20 +0000)]
Qt4 - Open: start to use a completer, use an enum and no stupid #define.

13 years agoQt4 - no more timeElapsed/timeReamining menu for a boolean option. Right and left...
Jean-Baptiste Kempf [Tue, 9 Oct 2007 02:16:30 +0000 (02:16 +0000)]
Qt4 - no more timeElapsed/timeReamining menu for a boolean option. Right and left click toggle it, while double click opens the goto one. kudos to the KDE team.

13 years agoQt4 - playlist: invert random/repeat buttons to match OSX intf and iTunes.
Jean-Baptiste Kempf [Tue, 9 Oct 2007 02:11:18 +0000 (02:11 +0000)]
Qt4 - playlist: invert random/repeat buttons to match OSX intf and iTunes.

13 years agoQt4 - double clicking the time can open the gotoTimeDialog ! Feature request to match...
Jean-Baptiste Kempf [Tue, 9 Oct 2007 02:10:33 +0000 (02:10 +0000)]
Qt4 - double clicking the time can open the gotoTimeDialog ! Feature request to match OSX behaviour.

13 years agoQt4 - Don't use things that can change from one version to another one of Qt.
Jean-Baptiste Kempf [Tue, 9 Oct 2007 02:09:22 +0000 (02:09 +0000)]
Qt4 - Don't use things that can change from one version to another one of Qt.

13 years agoQt4 - pixmaps: fix compilation with new pixmaps.
Jean-Baptiste Kempf [Tue, 9 Oct 2007 01:55:01 +0000 (01:55 +0000)]
Qt4 - pixmaps: fix compilation with new pixmaps.

13 years agoQt-4 - res update for pixmaps.
Jean-Baptiste Kempf [Tue, 9 Oct 2007 01:38:56 +0000 (01:38 +0000)]
Qt-4 - res update for pixmaps.

13 years agoQt4 - pixmaps again. Removing bigger images, useless ones, and cleaning.
Jean-Baptiste Kempf [Tue, 9 Oct 2007 01:29:15 +0000 (01:29 +0000)]
Qt4 - pixmaps again. Removing bigger images, useless ones, and cleaning.

13 years agoQt - pixmaps cleaning. First.
Jean-Baptiste Kempf [Tue, 9 Oct 2007 01:03:03 +0000 (01:03 +0000)]
Qt - pixmaps cleaning. First.

13 years agoContribs - bumps png version to avoid multiple crashes.
Jean-Baptiste Kempf [Tue, 9 Oct 2007 00:17:41 +0000 (00:17 +0000)]
Contribs - bumps png version to avoid multiple crashes.

13 years agov4l2: fix mmap method
Rafaël Carré [Tue, 9 Oct 2007 00:03:15 +0000 (00:03 +0000)]
v4l2: fix mmap method

13 years agov4l2: replaces bad malloc( sizeof(x) * i )/memset(&, 0, sizeof(x)) by calloc(1, sizeo...
Rafaël Carré [Mon, 8 Oct 2007 23:48:16 +0000 (23:48 +0000)]
v4l2: replaces bad malloc( sizeof(x) * i )/memset(&, 0, sizeof(x)) by calloc(1, sizeof(x) * i)
removes extra spaces, removes tabs

13 years agoQt4 - Small menus changes.
Jean-Baptiste Kempf [Mon, 8 Oct 2007 23:15:06 +0000 (23:15 +0000)]
Qt4 - Small menus changes.

13 years agoQt4 - start to change things to match OSX interface.
Jean-Baptiste Kempf [Mon, 8 Oct 2007 23:14:23 +0000 (23:14 +0000)]
Qt4 - start to change things to match OSX interface.

13 years agoQt4 - Open disk: layout bug.
Jean-Baptiste Kempf [Mon, 8 Oct 2007 23:12:51 +0000 (23:12 +0000)]
Qt4 - Open disk: layout bug.

13 years agoQt4 / Sout: Ogg => Ogg/Ogm, small change on the layout.
Jean-Baptiste Kempf [Mon, 8 Oct 2007 23:12:24 +0000 (23:12 +0000)]
Qt4 / Sout: Ogg => Ogg/Ogm, small change on the layout.

13 years agoChecks if the videoWidget exist before resizing it, fix #1328
Rafaël Carré [Mon, 8 Oct 2007 21:11:50 +0000 (21:11 +0000)]
Checks if the videoWidget exist before resizing it, fix #1328

13 years agoRun FontBuilder thread after Freetype has been initialized and no error paths are...
Jean-Paul Saman [Mon, 8 Oct 2007 20:46:23 +0000 (20:46 +0000)]
Run FontBuilder thread after Freetype has been initialized and no error paths are can be taken. This should solve the crash reported by several people with the video title (or meta-name) appearing at start of the movie.

The freetype module starts another thread called FontBuilder and depending on timing this creates a crash or works allright. The crash is triggered by the font not being found. This patch tries to load the font first before the FontBuilder thread is started.

I was unable to reproduce the crash with the patch applied. Without the patch the crash is reproducable.

As discussed on the mailinglist the FontBuilder thread doesn't depend on the freetype initialisation and rearanging the order should do no harm.

13 years agoRemoved unused variables.
Laurent Aimar [Mon, 8 Oct 2007 19:04:03 +0000 (19:04 +0000)]
Removed unused variables.

13 years agoRemoved 1 warning.
Laurent Aimar [Mon, 8 Oct 2007 19:03:16 +0000 (19:03 +0000)]
Removed 1 warning.

13 years agoRemoved warnings.
Laurent Aimar [Mon, 8 Oct 2007 19:02:18 +0000 (19:02 +0000)]
Removed warnings.

13 years agoFixed 2 missing "%s" -> "%m"
Laurent Aimar [Mon, 8 Oct 2007 18:59:16 +0000 (18:59 +0000)]
Fixed 2 missing "%s" -> "%m"

13 years agoLet the input handle meta data and attachments for ac3 audio
Laurent Aimar [Mon, 8 Oct 2007 18:48:00 +0000 (18:48 +0000)]
Let the input handle meta data and attachments for ac3 audio
(there was no meta data support for ac3).

13 years agoLet the input handle meta data and attachments for ogg files.
Laurent Aimar [Mon, 8 Oct 2007 18:46:12 +0000 (18:46 +0000)]
Let the input handle meta data and attachments for ogg files.

13 years agoLet the input handle *extra* meta data and attachments for flac audio.
Laurent Aimar [Mon, 8 Oct 2007 18:43:16 +0000 (18:43 +0000)]
Let the input handle *extra* meta data and attachments for flac audio.
(We still parse the flac meta data as a safety, in case taglib support is not there)

13 years agoLet the input handle meta data and attachments for musepack audio.
Laurent Aimar [Mon, 8 Oct 2007 18:37:53 +0000 (18:37 +0000)]
Let the input handle meta data and attachments for musepack audio.

13 years agoLet the input handle meta data and attachments for mpeg4 audio.
Laurent Aimar [Mon, 8 Oct 2007 18:32:47 +0000 (18:32 +0000)]
Let the input handle meta data and attachments for mpeg4 audio.

13 years agoLet the input handle meta data and attachments for mpeg audio.
Laurent Aimar [Mon, 8 Oct 2007 18:32:14 +0000 (18:32 +0000)]
Let the input handle meta data and attachments for mpeg audio.

13 years ago Es out now takes care of settings the audio replay gain from meta data
Laurent Aimar [Mon, 8 Oct 2007 18:30:11 +0000 (18:30 +0000)]
 Es out now takes care of settings the audio replay gain from meta data
if the demuxer has not set them.
 Added a demux2 control DEMUX_HAS_UNSUPPORTED_META.
 A demuxer should return true only when the format support extra meta
data (id3/ap2/...) but it does not read them itself. The input will then
call a "meta reader" (demuxer modifications on the way).

13 years agogalaktos: -distribute fftsg.h
Christophe Mutricy [Mon, 8 Oct 2007 17:26:51 +0000 (17:26 +0000)]
galaktos: -distribute fftsg.h
  -get rid of bad merge remnant

13 years agocontribs: don't try to install the shared library if it doesn't exist, fix [22437...
Rafaël Carré [Mon, 8 Oct 2007 13:57:22 +0000 (13:57 +0000)]
contribs: don't try to install the shared library if it doesn't exist, fix [22437]. Spotted by John Dalgliesh

13 years agoaudioscrobbler: we are already in our own thread, no need to create another one
Rafaël Carré [Mon, 8 Oct 2007 01:13:27 +0000 (01:13 +0000)]
audioscrobbler: we are already in our own thread, no need to create another one

13 years agoaudioscrobbler: use condition variables to be signaled when there are songs to be...
Rafaël Carré [Mon, 8 Oct 2007 00:36:36 +0000 (00:36 +0000)]
audioscrobbler: use condition variables to be signaled when there are songs to be submitted.
checks if playlist has been stopped in the input "state" callback
holds the p_sys mutex only when writing/reading audioscrobbler_song_t data

13 years agoaudioscrobbler: rewrite for new protocol 1.2
Rafaël Carré [Sun, 7 Oct 2007 22:07:07 +0000 (22:07 +0000)]
audioscrobbler: rewrite for new protocol 1.2
allocate as much as we can on the stack, to avoid numerous malloc() & free()
fix memory leaks by the same way
metadata reading is now performed exclusively from the callbacks
don't use linked lists anymore, but a queue of a fixed size of 50 songs, i.e. the maximum we can transmit in one submission.
properly unloads the module when encountering a fatal error, like no username/pw, no memory, VLC being banned by last.fm servers ...

13 years agomedia library loading: remove "meta-file" input option from subitems
Rafaël Carré [Sun, 7 Oct 2007 21:20:30 +0000 (21:20 +0000)]
media library loading: remove "meta-file" input option from subitems

13 years agodhparams: svn:keyword = $Id$
Rafaël Carré [Sun, 7 Oct 2007 18:38:31 +0000 (18:38 +0000)]
dhparams: svn:keyword = $Id$

13 years agoDelete old gettext changelog
Rafaël Carré [Sun, 7 Oct 2007 18:30:58 +0000 (18:30 +0000)]
Delete old gettext changelog

13 years agofix youtube lua probing, avoid infinite loops
Rafaël Carré [Sun, 7 Oct 2007 17:54:41 +0000 (17:54 +0000)]
fix youtube lua probing, avoid infinite loops
homepage: use %? to represent '?'
other: probe is not successfull anymore for urls like http://10.0.0.1/get_video?xxxx&origin=youtube.com

13 years agoFix make dist
Christophe Mutricy [Sun, 7 Oct 2007 15:22:49 +0000 (15:22 +0000)]
Fix make dist

13 years agogalaktos/*: warnings hunt
Christophe Mutricy [Sat, 6 Oct 2007 23:32:37 +0000 (23:32 +0000)]
galaktos/*:   warnings hunt

13 years agoFix header order
Christophe Mutricy [Sat, 6 Oct 2007 22:07:12 +0000 (22:07 +0000)]
Fix header order

13 years agothreads: win32 version of vlc_cond_timedwait()
Damien Fouilleul [Sat, 6 Oct 2007 17:33:42 +0000 (17:33 +0000)]
threads: win32 version of vlc_cond_timedwait()

13 years ago- contribs: Makefile, don't confuse mingw with cygwin
Damien Fouilleul [Sat, 6 Oct 2007 16:50:35 +0000 (16:50 +0000)]
- contribs: Makefile, don't confuse mingw with cygwin

13 years agoDon't forget to update build system when you remove or add files!
Christophe Mutricy [Sat, 6 Oct 2007 16:36:28 +0000 (16:36 +0000)]
Don't forget to update build system when you remove or add files!

13 years agov4l2: Remove already included headers
Christophe Mutricy [Sat, 6 Oct 2007 15:34:52 +0000 (15:34 +0000)]
v4l2: Remove already included headers
      Cosmetics
      Set svn:keywords

13 years agoQt4 - #include cleaning (2)
Jean-Baptiste Kempf [Sat, 6 Oct 2007 13:55:03 +0000 (13:55 +0000)]
Qt4 - #include cleaning (2)

13 years agoQt4 - #include cleaning
Jean-Baptiste Kempf [Sat, 6 Oct 2007 13:53:53 +0000 (13:53 +0000)]
Qt4 - #include cleaning

13 years agoQt4 - enable and modify the spatializer widget. Don't use a ui for a QCheckbox and...
Jean-Baptiste Kempf [Sat, 6 Oct 2007 13:41:27 +0000 (13:41 +0000)]
Qt4 - enable and modify the spatializer widget. Don't use a ui for a QCheckbox and a QFrame.

13 years agoQt4: podcast configuration, don't use a modal window, don't use a Qdailog but a QVLCF...
Jean-Baptiste Kempf [Sat, 6 Oct 2007 13:40:16 +0000 (13:40 +0000)]
Qt4: podcast configuration, don't use a modal window, don't use a Qdailog but a QVLCFrame.

13 years agoPatch for v4l2 support by Richard Hosking <richard AT hovis DOT net>
Jean-Paul Saman [Sat, 6 Oct 2007 11:26:34 +0000 (11:26 +0000)]
Patch for v4l2 support by Richard Hosking <richard AT hovis DOT net>

13 years agohal probe: disable unused code
Rafaël Carré [Fri, 5 Oct 2007 22:06:47 +0000 (22:06 +0000)]
hal probe: disable unused code

13 years agoInitialize end_date in linear resampler.
Rémi Denis-Courmont [Fri, 5 Oct 2007 14:43:19 +0000 (14:43 +0000)]
Initialize end_date in linear resampler.
Someone should really review this.
This does not affect the trivial resampler; I have not checked the others.

13 years agodon't add empty mux= in sout-chain if no mux has been selected
Ilkka Ollakka [Fri, 5 Oct 2007 11:52:11 +0000 (11:52 +0000)]
don't add empty mux= in sout-chain if no mux has been selected

13 years agovlc/libvlc.h: Remove deprecated functions definition. (Patch by Enrique Osuna)
Pierre d'Herbemont [Fri, 5 Oct 2007 11:13:47 +0000 (11:13 +0000)]
vlc/libvlc.h: Remove deprecated functions definition. (Patch by Enrique Osuna)

13 years agocontrol/media_instance.c: Remove an unused variable. (Pointed by jb).
Pierre d'Herbemont [Fri, 5 Oct 2007 09:52:48 +0000 (09:52 +0000)]
control/media_instance.c: Remove an unused variable. (Pointed by jb).

13 years agoOOps - tab, I hate :set et
Jean-Baptiste Kempf [Thu, 4 Oct 2007 23:32:26 +0000 (23:32 +0000)]
OOps - tab, I hate :set et

13 years agoRemove noop
Christophe Mutricy [Thu, 4 Oct 2007 21:51:55 +0000 (21:51 +0000)]
Remove noop

13 years agoContribs: flac patch for broken CYGWIN :D
Jean-Baptiste Kempf [Thu, 4 Oct 2007 21:37:30 +0000 (21:37 +0000)]
Contribs: flac patch for broken CYGWIN :D

13 years agoDon't delete compile. It can't go wrong and get regenerated by configure anyway
Christophe Mutricy [Thu, 4 Oct 2007 21:01:25 +0000 (21:01 +0000)]
Don't delete compile. It can't go wrong and get regenerated by configure anyway

13 years agoFix make dist
Christophe Mutricy [Thu, 4 Oct 2007 20:43:07 +0000 (20:43 +0000)]
Fix make dist

13 years agoExport bitrate for the benefit of stream output
Rémi Denis-Courmont [Thu, 4 Oct 2007 19:14:51 +0000 (19:14 +0000)]
Export bitrate for the benefit of stream output

13 years agotranscode: Don't force a default audio bit rate.
Rémi Denis-Courmont [Thu, 4 Oct 2007 19:06:04 +0000 (19:06 +0000)]
transcode: Don't force a default audio bit rate.
This screws up any audio codec that does not support transrating.
There is something fishy here.

13 years agoAlso try to obey recommended ptime (20ms) for L16
Rémi Denis-Courmont [Thu, 4 Oct 2007 18:33:43 +0000 (18:33 +0000)]
Also try to obey recommended ptime (20ms) for L16

13 years agoTry to make 20ms packets for L8 and G.711
Rémi Denis-Courmont [Thu, 4 Oct 2007 18:28:06 +0000 (18:28 +0000)]
Try to make 20ms packets for L8 and G.711
(rather than as big packets as possible)

13 years agocontribs: don't build faad shared library
Rafaël Carré [Thu, 4 Oct 2007 18:23:08 +0000 (18:23 +0000)]
contribs: don't build faad shared library

13 years agoFactorize rtpmap formatting
Rémi Denis-Courmont [Thu, 4 Oct 2007 17:46:20 +0000 (17:46 +0000)]
Factorize rtpmap formatting

13 years agoMake sdp_Start static since it is used nowhere outside
Rémi Denis-Courmont [Thu, 4 Oct 2007 17:29:22 +0000 (17:29 +0000)]
Make sdp_Start static since it is used nowhere outside

13 years agoRTP audio stream clock rate is always the sample rate -> factorize
Rémi Denis-Courmont [Thu, 4 Oct 2007 17:26:01 +0000 (17:26 +0000)]
RTP audio stream clock rate is always the sample rate -> factorize

13 years agoPut some static tables const
Rémi Denis-Courmont [Thu, 4 Oct 2007 16:57:42 +0000 (16:57 +0000)]
Put some static tables const

13 years agoUntested support for streaming G.711 over RTP
Rémi Denis-Courmont [Thu, 4 Oct 2007 16:33:52 +0000 (16:33 +0000)]
Untested support for streaming G.711 over RTP

13 years agoDon't redefine existing constants - fix linux build
Rémi Denis-Courmont [Thu, 4 Oct 2007 16:10:23 +0000 (16:10 +0000)]
Don't redefine existing constants - fix linux build

13 years agoid3tag: p_demux->p_private has been malloc()ed by the demuxer, so keep the pointer
Rafaël Carré [Thu, 4 Oct 2007 15:03:48 +0000 (15:03 +0000)]
id3tag: p_demux->p_private has been malloc()ed by the demuxer, so keep the pointer

13 years agoBundle libvlc-control.dll in the win32 installer
Olivier Aubert [Thu, 4 Oct 2007 15:01:01 +0000 (15:01 +0000)]
Bundle libvlc-control.dll in the win32 installer

13 years agoid3tag: properly casts p_demux->p_private
Rafaël Carré [Thu, 4 Oct 2007 13:30:27 +0000 (13:30 +0000)]
id3tag: properly casts p_demux->p_private

13 years agompga demux: remove debug printf
Rafaël Carré [Thu, 4 Oct 2007 13:19:46 +0000 (13:19 +0000)]
mpga demux: remove debug printf

13 years agodbus: adds some playlist locking, finish [22423]
Rafaël Carré [Thu, 4 Oct 2007 04:58:38 +0000 (04:58 +0000)]
dbus: adds some playlist locking, finish [22423]

13 years agom4a demuxer: last missing include
Rafaël Carré [Thu, 4 Oct 2007 04:41:15 +0000 (04:41 +0000)]
m4a demuxer: last missing include

13 years agodemuxers: add missing vlc_meta.h header
Rafaël Carré [Thu, 4 Oct 2007 04:22:59 +0000 (04:22 +0000)]
demuxers: add missing vlc_meta.h header

13 years agodbus: simplify playlist operations
Rafaël Carré [Thu, 4 Oct 2007 04:18:49 +0000 (04:18 +0000)]
dbus: simplify playlist operations

13 years agodemuxers: remove the need for input_thread_t by using the new "meta-preparsed" input...
Rafaël Carré [Thu, 4 Oct 2007 03:44:34 +0000 (03:44 +0000)]
demuxers: remove the need for input_thread_t by using the new "meta-preparsed" input variable.
tta & ffmpeg: remove unneeded "meta reader" loading
tta didn't use anyway, and ffmpeg uses information from libavcodec

13 years agofreetype: fix a segfault introduced in [21339]
Rafaël Carré [Thu, 4 Oct 2007 02:57:18 +0000 (02:57 +0000)]
freetype: fix a segfault introduced in [21339]
FcConfigSetCurrent( p_sys->p_fontconfig ) is useless since we already use that configuration, and it will destroy it.
So, when we want to destroy it again when freetype module is closed, CRASH.

13 years agofrench translation: little update to the rc interface translation
Rafaël Carré [Wed, 3 Oct 2007 23:45:15 +0000 (23:45 +0000)]
french translation: little update to the rc interface translation

13 years agorc: add `random' command
Rafaël Carré [Wed, 3 Oct 2007 23:26:01 +0000 (23:26 +0000)]
rc: add `random' command

13 years agorc: ressuscite the goto command
Rafaël Carré [Wed, 3 Oct 2007 23:17:55 +0000 (23:17 +0000)]
rc: ressuscite the goto command

13 years agoncurses: now play items from the top parent node (unless playing a specific node)
Rafaël Carré [Wed, 3 Oct 2007 22:53:04 +0000 (22:53 +0000)]
ncurses: now play items from the top parent node (unless playing a specific node)

13 years agoUpdate POTFILES.in. Fixes make dist
Christophe Mutricy [Wed, 3 Oct 2007 22:39:10 +0000 (22:39 +0000)]
Update POTFILES.in. Fixes make dist

13 years agoAdded a "meta-preparsed" input variable. A demuxer can test it by
Laurent Aimar [Wed, 3 Oct 2007 22:24:11 +0000 (22:24 +0000)]
Added a "meta-preparsed" input variable. A demuxer can test it by
 var_CreateGetBool( p_demux, "meta-preparsed" )
(The demuxer should NOT overwrite it)
subtitle: do not look for p_input when not necessary.

13 years agoplaylist: fix a segfault
Rafaël Carré [Wed, 3 Oct 2007 22:21:00 +0000 (22:21 +0000)]
playlist: fix a segfault

13 years agocontrol/video: find the vout anywhere, so the one spawned by audio output (audio...
Rafaël Carré [Wed, 3 Oct 2007 21:29:34 +0000 (21:29 +0000)]
control/video: find the vout anywhere, so the one spawned by audio output (audio visualization) can be found. fix #1202

13 years agotaglib: warn the user when the embedded image is invalid (i.e. was embedded by a...
Rafaël Carré [Wed, 3 Oct 2007 21:07:01 +0000 (21:07 +0000)]
taglib: warn the user when the embedded image is invalid (i.e. was embedded by a broken version of iTunes)

13 years agoCompile fix for gcc 4.2 . Quovodis to review it.
Christophe Mutricy [Wed, 3 Oct 2007 20:03:37 +0000 (20:03 +0000)]
Compile fix for gcc 4.2 . Quovodis to review it.

13 years agoDemuxers: do not load "meta reader" module if the input item has already been preparsed.
Rafaël Carré [Wed, 3 Oct 2007 19:29:49 +0000 (19:29 +0000)]
Demuxers: do not load "meta reader" module if the input item has already been preparsed.

13 years agoReplace one GUID kludge with another one that does not break gcc4
Rémi Denis-Courmont [Wed, 3 Oct 2007 19:19:24 +0000 (19:19 +0000)]
Replace one GUID kludge with another one that does not break gcc4