vlc.git
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

13 years agoFix messed up cast that breaks gcc 4
Rémi Denis-Courmont [Wed, 3 Oct 2007 19:04:57 +0000 (19:04 +0000)]
Fix messed up cast that breaks gcc 4

13 years agomp4 demuxer: don't try to print not printable characters.
Rafaël Carré [Wed, 3 Oct 2007 18:36:03 +0000 (18:36 +0000)]
mp4 demuxer: don't try to print not printable characters.

13 years agoRemove silly copy-cat code. vasprintf does not generate socket errors does it?
Rémi Denis-Courmont [Wed, 3 Oct 2007 17:27:10 +0000 (17:27 +0000)]
Remove silly copy-cat code. vasprintf does not generate socket errors does it?

13 years agomessages: revert [22404]
Rafaël Carré [Wed, 3 Oct 2007 17:23:55 +0000 (17:23 +0000)]
messages: revert [22404]
Don't use strerror()
The error message displayed can be useful to debugging purposes.

13 years agoRemove survivor strerror (malloc always return ENOMEM when it fails anyway)
Rémi Denis-Courmont [Wed, 3 Oct 2007 17:00:10 +0000 (17:00 +0000)]
Remove survivor strerror (malloc always return ENOMEM when it fails anyway)

13 years agotaglib: fix a memleak.
Rafaël Carré [Wed, 3 Oct 2007 16:17:36 +0000 (16:17 +0000)]
taglib: fix a memleak.

13 years agotaglib: Supports in ogg/vorbis base64 encoded embedded album art with COVERARTMIME...
Rafaël Carré [Wed, 3 Oct 2007 16:13:04 +0000 (16:13 +0000)]
taglib: Supports in ogg/vorbis base64 encoded embedded album art with COVERARTMIME & COVERART comments.
    Use TagLib namespace for better code readability.

demuxers: Adds attachments support for ogg.
    Fix potential memleaks.

13 years agonotify: unref the notification popup after we have finished using it. fix a big memor...
Rafaël Carré [Wed, 3 Oct 2007 01:27:08 +0000 (01:27 +0000)]
notify: unref the notification popup after we have finished using it. fix a big memory leak, and potential crashes.

13 years agoplaylist: fix media library loading, fix #1320.
Rafaël Carré [Wed, 3 Oct 2007 00:35:13 +0000 (00:35 +0000)]
playlist: fix media library loading, fix #1320.

13 years agoThanks more Enrique Osuna.
Pierre d'Herbemont [Wed, 3 Oct 2007 00:29:18 +0000 (00:29 +0000)]
Thanks more Enrique Osuna.

13 years agocontrol/media_instance.c: Fix a segfault caused by libvlc_media_instance_release...
Pierre d'Herbemont [Wed, 3 Oct 2007 00:28:36 +0000 (00:28 +0000)]
control/media_instance.c: Fix a segfault caused by libvlc_media_instance_release. (Patch by Enrique Osuna).

13 years agoncurses: sets the parent node when selecting an item. fix playing from media library.
Rafaël Carré [Tue, 2 Oct 2007 23:14:43 +0000 (23:14 +0000)]
ncurses: sets the parent node when selecting an item. fix playing from media library.

13 years agoplaylist: don't request art nor set "playlist-current" for directory: & vlc: URIs
Rafaël Carré [Tue, 2 Oct 2007 22:17:50 +0000 (22:17 +0000)]
playlist: don't request art nor set "playlist-current" for directory: & vlc: URIs

13 years ago* xspf.c: fixes parsing with xtag - closes #1293
Yoann Peronneau [Tue, 2 Oct 2007 21:51:43 +0000 (21:51 +0000)]
* xspf.c: fixes parsing with xtag - closes #1293
  Someone should check if we could make xtag not send ENDELEM for self-closing tags, as libxml doesn't.

13 years agoinput: Removes useless "item-change" variable
Rafaël Carré [Tue, 2 Oct 2007 21:37:54 +0000 (21:37 +0000)]
input: Removes useless "item-change" variable

13 years agom4a demuxer: initialize correctly p_sys
Rafaël Carré [Tue, 2 Oct 2007 21:19:36 +0000 (21:19 +0000)]
m4a demuxer: initialize correctly p_sys

13 years agodecoder_synchro_t does not need to be a vlc_object_t.
Laurent Aimar [Tue, 2 Oct 2007 19:06:09 +0000 (19:06 +0000)]
decoder_synchro_t does not need to be a vlc_object_t.

13 years agoFixed const warnings.
Laurent Aimar [Tue, 2 Oct 2007 18:58:29 +0000 (18:58 +0000)]
Fixed const warnings.

13 years agoCompilation fix, again.
Laurent Aimar [Tue, 2 Oct 2007 18:48:51 +0000 (18:48 +0000)]
Compilation fix, again.

13 years agoCompilation fix.
Laurent Aimar [Tue, 2 Oct 2007 18:47:29 +0000 (18:47 +0000)]
Compilation fix.

13 years agoMoved vout_synchro to decoder_synchro.
Laurent Aimar [Tue, 2 Oct 2007 18:43:23 +0000 (18:43 +0000)]
Moved vout_synchro to decoder_synchro.

13 years agoRemoved unused values.
Laurent Aimar [Tue, 2 Oct 2007 18:29:47 +0000 (18:29 +0000)]
Removed unused values.

13 years agoHide private vout_synchro_t.
Laurent Aimar [Tue, 2 Oct 2007 18:22:44 +0000 (18:22 +0000)]
Hide private vout_synchro_t.

13 years agoOops fix compilation.
Laurent Aimar [Tue, 2 Oct 2007 18:16:55 +0000 (18:16 +0000)]
Oops fix compilation.

13 years agoUse decoder_GetDisplayDate.
Laurent Aimar [Tue, 2 Oct 2007 18:03:50 +0000 (18:03 +0000)]
Use decoder_GetDisplayDate.
(libmpeg2/xvmc pending)

13 years agoalsa: resume output when waking up, fix #1286. some coding style cleanup
Rafaël Carré [Tue, 2 Oct 2007 17:59:31 +0000 (17:59 +0000)]
alsa: resume output when waking up, fix #1286. some coding style cleanup

13 years agoAdded a new decoder function (decoder_GetDisplayDate) to be used to convert a
Laurent Aimar [Tue, 2 Oct 2007 17:41:13 +0000 (17:41 +0000)]
Added a new decoder function (decoder_GetDisplayDate) to be used to convert a
decoder block_t date to a display date (identify for now)

13 years ago - Heavily simplify the MPJPEG mux (closes #1188); please test.
Rémi Denis-Courmont [Tue, 2 Oct 2007 17:26:35 +0000 (17:26 +0000)]
 - Heavily simplify the MPJPEG mux (closes #1188); please test.
 - Remove configurable boundary that had never been working anyway (did not match the original value from MUX_GET_MIME)

13 years agoPass content-type from access to stream
Rémi Denis-Courmont [Tue, 2 Oct 2007 16:05:13 +0000 (16:05 +0000)]
Pass content-type from access to stream

13 years agoExport Content-Type out of HTTP access using Control.
Rémi Denis-Courmont [Tue, 2 Oct 2007 15:54:16 +0000 (15:54 +0000)]
Export Content-Type out of HTTP access using Control.

13 years agoDon't reinvent free()
Rémi Denis-Courmont [Tue, 2 Oct 2007 15:23:28 +0000 (15:23 +0000)]
Don't reinvent free()

13 years agoWe use error code 456
Rémi Denis-Courmont [Tue, 2 Oct 2007 15:03:08 +0000 (15:03 +0000)]
We use error code 456

13 years agoThanks Enrique Osuna.
Pierre d'Herbemont [Tue, 2 Oct 2007 11:30:56 +0000 (11:30 +0000)]
Thanks Enrique Osuna.

13 years agocontrol/media_list_player.c: Remove a double event registration. (Patch by Enrique...
Pierre d'Herbemont [Tue, 2 Oct 2007 11:30:12 +0000 (11:30 +0000)]
control/media_list_player.c: Remove a double event registration. (Patch by Enrique Osuna).

13 years agocontrol/media_instance.c: Don't forget to register emitted event. (Patch by Enrique...
Pierre d'Herbemont [Tue, 2 Oct 2007 11:29:20 +0000 (11:29 +0000)]
control/media_instance.c: Don't forget to register emitted event. (Patch by Enrique Osuna).

13 years agosap discovery: fix [22368] by using (int) casting on the unsigned size_t value
Rafaël Carré [Tue, 2 Oct 2007 11:11:53 +0000 (11:11 +0000)]
sap discovery: fix [22368] by using (int) casting on the unsigned size_t value

13 years agofix indentation
Jean-Paul Saman [Tue, 2 Oct 2007 06:59:23 +0000 (06:59 +0000)]
fix indentation

13 years agodemux: fix a memory leak in flac & mpga when attachments are present
Rafaël Carré [Tue, 2 Oct 2007 02:50:10 +0000 (02:50 +0000)]
demux: fix a memory leak in flac & mpga when attachments are present

13 years agotaglib: support for id3v2 embedded album art
Rafaël Carré [Tue, 2 Oct 2007 02:11:11 +0000 (02:11 +0000)]
taglib: support for id3v2 embedded album art
the only demuxer supported is mpga, other demuxers should be updated if they demux files that can have id3v2 tags
fix some bugs in flac & ogg demuxers