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

13 years agoinput_ExtractAttachmentAndCacheArt(): use the attachment's mime type, don't use input...
Rafaël Carré [Tue, 2 Oct 2007 01:44:26 +0000 (01:44 +0000)]
input_ExtractAttachmentAndCacheArt(): use the attachment's mime type, don't use input_item_ functions as the input_item_t has been locked previously.

13 years agosap discovery: (size_t) casting
Rafaël Carré [Mon, 1 Oct 2007 21:28:36 +0000 (21:28 +0000)]
sap discovery: (size_t) casting

13 years agoncurses: adds some (size_t) casting
Rafaël Carré [Mon, 1 Oct 2007 20:41:15 +0000 (20:41 +0000)]
ncurses: adds some (size_t) casting

13 years agoClean up.
Laurent Aimar [Mon, 1 Oct 2007 19:57:24 +0000 (19:57 +0000)]
Clean up.

13 years agoOops, fix subtitle decoding.
Laurent Aimar [Mon, 1 Oct 2007 19:37:37 +0000 (19:37 +0000)]
Oops, fix subtitle decoding.

13 years agoClean up/Factorize.
Laurent Aimar [Mon, 1 Oct 2007 19:33:30 +0000 (19:33 +0000)]
Clean up/Factorize.

13 years agoncurses: fix KeyToUTF8() breakage introduced in [22313]
Rafaël Carré [Mon, 1 Oct 2007 19:33:24 +0000 (19:33 +0000)]
ncurses: fix KeyToUTF8() breakage introduced in [22313]

13 years agoCleanup previous commit
Rémi Denis-Courmont [Mon, 1 Oct 2007 18:11:03 +0000 (18:11 +0000)]
Cleanup previous commit

13 years agoRemoved b_die arbitrary timer from httpd.
Rémi Denis-Courmont [Mon, 1 Oct 2007 18:04:10 +0000 (18:04 +0000)]
Removed b_die arbitrary timer from httpd.

13 years agoFix deadlock
Rémi Denis-Courmont [Mon, 1 Oct 2007 18:00:42 +0000 (18:00 +0000)]
Fix deadlock

13 years agoReset PCR when gap has been detected.
Jean-Paul Saman [Mon, 1 Oct 2007 17:35:35 +0000 (17:35 +0000)]
Reset PCR when gap has been detected.

13 years agoAdd the missing function to allocate and get the object event OS pipe
Rémi Denis-Courmont [Mon, 1 Oct 2007 17:12:21 +0000 (17:12 +0000)]
Add the missing function to allocate and get the object event OS pipe

13 years agoRemove the HTTP interface thread, and save 20 wakeups per seconds.
Rémi Denis-Courmont [Mon, 1 Oct 2007 16:07:17 +0000 (16:07 +0000)]
Remove the HTTP interface thread, and save 20 wakeups per seconds.
The idle HTTP interace is down from 30 to 10 wakeups/s (I think the remaining ones are due to HTTPd core).

13 years ago - Do not release the input while we did not yield it...
Rémi Denis-Courmont [Mon, 1 Oct 2007 15:57:22 +0000 (15:57 +0000)]
 - Do not release the input while we did not yield it...
 - Really yield the input (and release it) on a need-basis in the HTTP handler rather than in a custom thread. This is probably not thread-safe, but it's less unsafe than the previous code anyway.
This makes the HTTP interface thread very much useless, niark niark

13 years agoReally fix playlist enqueue
Rémi Denis-Courmont [Mon, 1 Oct 2007 15:43:30 +0000 (15:43 +0000)]
Really fix playlist enqueue

13 years agoPlaylist is always true here
Rémi Denis-Courmont [Mon, 1 Oct 2007 15:33:24 +0000 (15:33 +0000)]
Playlist is always true here

13 years agoFind the playlist once *before* starting.
Rémi Denis-Courmont [Mon, 1 Oct 2007 15:31:09 +0000 (15:31 +0000)]
Find the playlist once *before* starting.
LibVLC always creates the (singleton) playlist before the interfaces anyway.
Besides, the HTTP interface callbacks assumes the playlist is yield.
This removes one of two reasons for running the damn HTTP interface thread.

13 years agoMake a bunch of HTTP macro functions static
Rémi Denis-Courmont [Mon, 1 Oct 2007 15:17:21 +0000 (15:17 +0000)]
Make a bunch of HTTP macro functions static

13 years agoFix playlist enqueue RPC
Rémi Denis-Courmont [Mon, 1 Oct 2007 14:30:02 +0000 (14:30 +0000)]
Fix playlist enqueue RPC

13 years agomacosx interface: fix regression introduced in [21230]. patch by John Dalgliesh
Rafaël Carré [Mon, 1 Oct 2007 12:38:29 +0000 (12:38 +0000)]
macosx interface: fix regression introduced in [21230]. patch by John Dalgliesh

13 years agoQt4 - New volume icons. Still to be worked out.
Jean-Baptiste Kempf [Mon, 1 Oct 2007 11:31:16 +0000 (11:31 +0000)]
Qt4 - New volume icons. Still to be worked out.

13 years agoQt4 - Prefs: Change audio icon and modify the codec one.
Jean-Baptiste Kempf [Mon, 1 Oct 2007 10:08:30 +0000 (10:08 +0000)]
Qt4 - Prefs: Change audio icon and modify the codec one.

13 years agoThat shouldn't have been part of the previous commit
Rafaël Carré [Mon, 1 Oct 2007 00:33:08 +0000 (00:33 +0000)]
That shouldn't have been part of the previous commit

13 years agoconfigure.ac: typo, fix #1204
Rafaël Carré [Mon, 1 Oct 2007 00:29:00 +0000 (00:29 +0000)]
configure.ac: typo, fix #1204

13 years agoimage vout: assigning -1 to an unsigned int is not that clever.
Rafaël Carré [Sun, 30 Sep 2007 23:47:55 +0000 (23:47 +0000)]
image vout: assigning -1 to an unsigned int is not that clever.

13 years agocontrol/media_instance.c: Remove access to p_input_thread->p_internals. (which was...
Pierre d'Herbemont [Sun, 30 Sep 2007 23:25:18 +0000 (23:25 +0000)]
control/media_instance.c: Remove access to p_input_thread->p_internals. (which was a broken hack by the way).

13 years agoAdded a INPUT_GET_VIDEO_FPS (get the fps of the main video, should works with
Laurent Aimar [Sun, 30 Sep 2007 23:17:19 +0000 (23:17 +0000)]
Added a INPUT_GET_VIDEO_FPS (get the fps of the main video, should works with
input slave) Untested.
media_instance.c no longer depends on input_internal.h
Clean up a bit es_out pause handling.
Fixed DEMUX_GET_FPS description (double not float)

13 years agocontrol/media_instance.c: Remove one occurence of input->p.
Pierre d'Herbemont [Sun, 30 Sep 2007 22:56:37 +0000 (22:56 +0000)]
control/media_instance.c: Remove one occurence of input->p.

13 years agolibvlc_playlist_get_media_instance(): raise an exception when there is no input,...
Rafaël Carré [Sun, 30 Sep 2007 22:55:35 +0000 (22:55 +0000)]
libvlc_playlist_get_media_instance(): raise an exception when there is no input, fix #1265

13 years agoPartial fix for media instance. (It was using input_control_e intead of
Laurent Aimar [Sun, 30 Sep 2007 22:20:31 +0000 (22:20 +0000)]
Partial fix for media instance. (It was using input_control_e intead of
input_query_e).

Btw input_internal.h is an internal header for src/input/* ONLY.
If input/control/* need it, then it is BROKEN (or there is a missing
functionnality, just ask for it then)
 I see it calling demux2_Control, this will segfault if you are unlucky.
 Accessing directly to p_input->p member is also forbidden.

13 years agoncurses: display random/repeat/loop status
Rafaël Carré [Sun, 30 Sep 2007 20:54:30 +0000 (20:54 +0000)]
ncurses: display random/repeat/loop status

13 years agosvn:keywords
Christophe Mutricy [Sun, 30 Sep 2007 20:01:20 +0000 (20:01 +0000)]
svn:keywords

13 years agoPartial unfinished pipes conditional fallback for condition variables.
Rémi Denis-Courmont [Sun, 30 Sep 2007 19:31:08 +0000 (19:31 +0000)]
Partial unfinished pipes conditional fallback for condition variables.
This would be necessary to rid the networking code of arbitrary timers (but it does not work yet).

13 years agoSimplify and fix (real) vlc dependencies and "make core" assuming libtool is used
Rémi Denis-Courmont [Sun, 30 Sep 2007 19:28:30 +0000 (19:28 +0000)]
Simplify and fix (real) vlc dependencies and "make core" assuming libtool is used

13 years agoAdd missing copyright and license header
Rémi Denis-Courmont [Sun, 30 Sep 2007 19:08:11 +0000 (19:08 +0000)]
Add missing copyright and license header

13 years agoHacks for On2 AVI files (close #1318)
Laurent Aimar [Sun, 30 Sep 2007 17:25:55 +0000 (17:25 +0000)]
Hacks for On2 AVI files (close #1318)

13 years agoFix segmentation fault
Rémi Denis-Courmont [Sun, 30 Sep 2007 16:58:33 +0000 (16:58 +0000)]
Fix segmentation fault

13 years agoActually remove unused FREE() macro
Rémi Denis-Courmont [Sun, 30 Sep 2007 16:37:07 +0000 (16:37 +0000)]
Actually remove unused FREE() macro

13 years agoRemove FREE() macro, since free() does the same internally
Rémi Denis-Courmont [Sun, 30 Sep 2007 16:31:02 +0000 (16:31 +0000)]
Remove FREE() macro, since free() does the same internally

13 years agoAdded const wheen needed for stream_Peek (demuxer/access)
Laurent Aimar [Sun, 30 Sep 2007 15:40:34 +0000 (15:40 +0000)]
Added const wheen needed for stream_Peek (demuxer/access)
Made demux2_IsPathExtension case insensitive.
Used demux2_IsPathExtension/p_demux->b_force when appropriate
Fixed a regression in flac demuxer (segfault when reading meta data)
Added a VLC_UNUSED(x) macro to avoid seeing ugly (void)x around the code.
Improved a bit a few vlc_common.h macro (do {} while(0))

13 years agoTypo
Rémi Denis-Courmont [Sun, 30 Sep 2007 14:50:12 +0000 (14:50 +0000)]
Typo

13 years agoRename var_GetGlobalMutex to var_AcquireMutex and make it lock the mutex automatically
Rémi Denis-Courmont [Sun, 30 Sep 2007 14:33:22 +0000 (14:33 +0000)]
Rename var_GetGlobalMutex to var_AcquireMutex and make it lock the mutex automatically

13 years agoFix tiny race condition
Rémi Denis-Courmont [Sun, 30 Sep 2007 14:11:47 +0000 (14:11 +0000)]
Fix tiny race condition

13 years agoHide object reference counter.
Rémi Denis-Courmont [Sun, 30 Sep 2007 14:01:24 +0000 (14:01 +0000)]
Hide object reference counter.
Good news is, no plugins used it anyway.
Bad news is, some parts of libvlc still use which is wrong (i_refcount is protected by the "structure lock", meaning only misc/objects.c functions can use it safely).

13 years agoreference count should really be unsigned
Rémi Denis-Courmont [Sun, 30 Sep 2007 13:59:28 +0000 (13:59 +0000)]
reference count should really be unsigned

13 years agoMacOSX/Framework: Use --opengl-provider=minimal_macosx. (Original patch by Enrique...
Pierre d'Herbemont [Sun, 30 Sep 2007 10:40:30 +0000 (10:40 +0000)]
MacOSX/Framework: Use --opengl-provider=minimal_macosx. (Original patch by Enrique Osuna <enrique.osuna a gmail d com>).

13 years agomodules/gui/minimal_macosx: Fix shortname and add shortcut, after funman answer to...
Pierre d'Herbemont [Sun, 30 Sep 2007 10:37:45 +0000 (10:37 +0000)]
modules/gui/minimal_macosx: Fix shortname and add shortcut, after funman answer to Enrique Osuna patch.

13 years agomodules/video_output/opengl.c: Allow opengl provider override at runtime.(Original...
Pierre d'Herbemont [Sun, 30 Sep 2007 10:36:19 +0000 (10:36 +0000)]
modules/video_output/opengl.c: Allow opengl provider override at runtime.(Original patch by Enrique Osuna <enrique.osuna a gmail d com>).

13 years agoSome fixes for compiling on Cygwin: x264, pthreads, taglib and dirac.
Bernie Purcell [Sun, 30 Sep 2007 07:43:53 +0000 (07:43 +0000)]
Some fixes for compiling on Cygwin: x264, pthreads, taglib and dirac.
Reverse previous workaround for pthreads lib having GC2 suffix - that
is actually normal; patch should instead go into x264 to make it ignore
the presence of a local pthread lib under cygwin when doing configure tests.

13 years agoFixed regression in EITConvertToUTF8.
Laurent Aimar [Sat, 29 Sep 2007 23:09:10 +0000 (23:09 +0000)]
Fixed regression in EITConvertToUTF8.