]> git.sesse.net Git - vlc/log
vlc
16 years agoHotkeys: use normal thread synchronization APIs
Rémi Denis-Courmont [Sat, 6 Sep 2008 13:59:05 +0000 (16:59 +0300)]
Hotkeys: use normal thread synchronization APIs

16 years agoDo not set object b_eof/b_error after sending the event.
Laurent Aimar [Sat, 6 Sep 2008 13:49:02 +0000 (15:49 +0200)]
Do not set object b_eof/b_error after sending the event.

This fixes a few "deadlocks" with input waiting for playlist, while
playlist is waiting for input event.

16 years agovlc_cond_init: really remove useless parameter
Rémi Denis-Courmont [Sat, 6 Sep 2008 13:42:27 +0000 (16:42 +0300)]
vlc_cond_init: really remove useless parameter

16 years agoaudioscrobbler: do not mix vlc_object and vlc_thread APIs...
Rémi Denis-Courmont [Sat, 6 Sep 2008 13:36:44 +0000 (16:36 +0300)]
audioscrobbler: do not mix vlc_object and vlc_thread APIs...

Also do not needlessly lock after unregistering the callbacks. We have
to assume that when var_DelCallback returns, any pending callback
invocation has be completed. Otherwise, we would any crash when Close()
releases the mutex, destroys it, and the callback then tries to acquire
the mutex.

16 years agots demux: simplify the teletext case i_teletext_type to use a table.
Derk-Jan Hartman [Sat, 6 Sep 2008 13:24:19 +0000 (15:24 +0200)]
ts demux: simplify the teletext case i_teletext_type to use a table.

16 years agots demux: any teletext type of 1-5 is valid.
Derk-Jan Hartman [Sat, 6 Sep 2008 13:06:13 +0000 (15:06 +0200)]
ts demux: any teletext type of 1-5 is valid.

See page 66 of ETSI EN 300 468

16 years agozvbi: Use the "initial page" as signaled by the TS demuxer.
Derk-Jan Hartman [Sat, 6 Sep 2008 12:56:08 +0000 (14:56 +0200)]
zvbi: Use the "initial page" as signaled by the TS demuxer.

This way the TS demux can create multiple tracks that will take you straight to the subtitles, program listings etc.

16 years agoAdd a small description
Christophe Mutricy [Fri, 5 Sep 2008 23:55:44 +0000 (00:55 +0100)]
Add a small description

So that whatis is happy
Drop some unusefull undefined macros

16 years agoFix silly [8666615cc]
Christophe Mutricy [Fri, 5 Sep 2008 23:09:53 +0000 (00:09 +0100)]
Fix silly [8666615cc]

16 years agoDocument module_Need's side effect on the object name.
Antoine Cellerier [Sat, 6 Sep 2008 13:12:07 +0000 (15:12 +0200)]
Document module_Need's side effect on the object name.

16 years agoRevert "libvlc does not need an object name"
Antoine Cellerier [Sat, 6 Sep 2008 13:08:50 +0000 (15:08 +0200)]
Revert "libvlc does not need an object name"

This prevents the libvlc object from having it's name set to
"memcpymmxext" by module_Need.
This reverts commit 15e7d1822c4da76b23df3530924022771a56c39f.

16 years agovlc_object_find_name: return vlc_object_t *
Rémi Denis-Courmont [Sat, 6 Sep 2008 13:10:32 +0000 (16:10 +0300)]
vlc_object_find_name: return vlc_object_t *

Casting to any other type would be (is?) unsafe as users can now freely
alias objects.

16 years agoChange the name
Rémi Denis-Courmont [Sat, 6 Sep 2008 12:56:06 +0000 (15:56 +0300)]
Change the name

16 years agoRemove memory error message
Rémi Denis-Courmont [Sat, 6 Sep 2008 11:52:38 +0000 (14:52 +0300)]
Remove memory error message

16 years agoAdd missing vlc_restorecancel in input.
Laurent Aimar [Sat, 6 Sep 2008 11:45:16 +0000 (13:45 +0200)]
Add missing vlc_restorecancel in input.

16 years agovlc_control_cancel: va_start iif va_end
Rémi Denis-Courmont [Sat, 6 Sep 2008 11:37:57 +0000 (14:37 +0300)]
vlc_control_cancel: va_start iif va_end

16 years agoSAP out does not need an object name
Rémi Denis-Courmont [Sat, 6 Sep 2008 11:25:45 +0000 (14:25 +0300)]
SAP out does not need an object name

16 years agofetcher and preparser don't need object names
Rémi Denis-Courmont [Sat, 6 Sep 2008 11:24:56 +0000 (14:24 +0300)]
fetcher and preparser don't need object names

16 years agolibvlc does not need an object name
Rémi Denis-Courmont [Sat, 6 Sep 2008 11:24:47 +0000 (14:24 +0300)]
libvlc does not need an object name

16 years agoUse fputs - properly
Rémi Denis-Courmont [Sat, 6 Sep 2008 11:02:45 +0000 (14:02 +0300)]
Use fputs - properly

16 years agoCLI: libvlc -> vlc
Rémi Denis-Courmont [Sat, 6 Sep 2008 11:01:54 +0000 (14:01 +0300)]
CLI: libvlc -> vlc

16 years agoUsage: vlc, not Usage: libvlc
Rémi Denis-Courmont [Sat, 6 Sep 2008 10:57:04 +0000 (13:57 +0300)]
Usage: vlc, not Usage: libvlc

16 years agoTag some APIs as LIBVLC_USED
Rémi Denis-Courmont [Sat, 6 Sep 2008 08:30:44 +0000 (11:30 +0300)]
Tag some APIs as LIBVLC_USED

16 years agoLIBVLC_USED: tag for function whose result must be used
Rémi Denis-Courmont [Sat, 6 Sep 2008 08:28:38 +0000 (11:28 +0300)]
LIBVLC_USED: tag for function whose result must be used

GCC will print a warning if the result of such function is ignored
This is useful for functions returning an allocated object (which
would leak if ignored), "getter" functions, and functions that are
"likely" to fail.

16 years agoDead code
Rémi Denis-Courmont [Sat, 6 Sep 2008 08:19:17 +0000 (11:19 +0300)]
Dead code

16 years agoRTP: ignore packets with duplicated sequence numbers (closes #2003)
Rémi Denis-Courmont [Sat, 6 Sep 2008 07:52:37 +0000 (10:52 +0300)]
RTP: ignore packets with duplicated sequence numbers (closes #2003)

16 years agoFixed DTS muxer.
Laurent Aimar [Sat, 6 Sep 2008 00:15:41 +0000 (02:15 +0200)]
Fixed DTS muxer.

16 years agoCosmetic.
Laurent Aimar [Fri, 5 Sep 2008 23:47:53 +0000 (01:47 +0200)]
Cosmetic.

(Removed a unused macro)

16 years agoDo not ignore teletext initial page (close #1997).
Laurent Aimar [Fri, 5 Sep 2008 23:12:38 +0000 (01:12 +0200)]
Do not ignore teletext initial page (close #1997).

Be carefull, it adds a new translated strings.

16 years agoBe sure to emit voutChanged() only when needed.
Laurent Aimar [Fri, 5 Sep 2008 22:34:02 +0000 (00:34 +0200)]
Be sure to emit voutChanged() only when needed.

16 years agoFixed initial snpshot/fullscreen state.
Laurent Aimar [Fri, 5 Sep 2008 22:14:09 +0000 (00:14 +0200)]
Fixed initial snpshot/fullscreen state.

It fixes a regression introduced by fccf6aa0ca7e534a6546f6150943e0befa694126

16 years agoUse intf-change-vout to properly detect vout (close #1992 and #1950)
Laurent Aimar [Fri, 5 Sep 2008 21:39:02 +0000 (23:39 +0200)]
Use intf-change-vout to properly detect vout (close #1992 and #1950)

16 years agoAdded "intf-change-vout" variable to warn about vout creation/destruction.
Laurent Aimar [Fri, 5 Sep 2008 20:29:39 +0000 (22:29 +0200)]
Added "intf-change-vout" variable to warn about vout creation/destruction.

It is provided for convenience for interfaces.

16 years agoFix object leaking when taking a snapshot.
Rémi Duraffort [Fri, 5 Sep 2008 21:47:06 +0000 (23:47 +0200)]
Fix object leaking when taking a snapshot.

16 years agoFix a BIG memleak in Qt interface (this poor object was missing his parent).
Rémi Duraffort [Fri, 5 Sep 2008 20:17:38 +0000 (22:17 +0200)]
Fix a BIG memleak in Qt interface (this poor object was missing his parent).

16 years agoRemove double declaration.
Rémi Duraffort [Fri, 5 Sep 2008 19:30:43 +0000 (21:30 +0200)]
Remove double declaration.

16 years agoDo not ask stream layer to buffer data in UDP.
Laurent Aimar [Fri, 5 Sep 2008 19:32:43 +0000 (21:32 +0200)]
Do not ask stream layer to buffer data in UDP.

It may improve TS clock synchro algo.

16 years agoUse sub-language as DVD menu (close #1994)
Laurent Aimar [Fri, 5 Sep 2008 19:30:22 +0000 (21:30 +0200)]
Use sub-language as DVD menu (close #1994)

16 years agoFix memleak in Qt interface.
Rémi Duraffort [Fri, 5 Sep 2008 19:23:03 +0000 (21:23 +0200)]
Fix memleak in Qt interface.

16 years agoFix warnings.
Rémi Duraffort [Wed, 3 Sep 2008 20:17:41 +0000 (22:17 +0200)]
Fix warnings.

16 years agocdg codec is in codec/
Christophe Mutricy [Fri, 5 Sep 2008 18:27:50 +0000 (19:27 +0100)]
cdg codec is in codec/

16 years agodon't use the same shortcut as --list
Christophe Mutricy [Fri, 5 Sep 2008 16:37:24 +0000 (17:37 +0100)]
don't use the same shortcut as --list

16 years agoMove a bunch of plugins out of configure.ac
Rémi Denis-Courmont [Fri, 5 Sep 2008 17:01:25 +0000 (20:01 +0300)]
Move a bunch of plugins out of configure.ac

16 years agoRemove old BeOS thread support
Rémi Denis-Courmont [Fri, 5 Sep 2008 16:10:59 +0000 (19:10 +0300)]
Remove old BeOS thread support

16 years agoFix VLM double free
Rémi Denis-Courmont [Fri, 5 Sep 2008 15:22:34 +0000 (18:22 +0300)]
Fix VLM double free

Pointed-out-by: Sébastien Escudier
16 years agomacosx: fix CPP + SDK usage
Derk-Jan Hartman [Fri, 5 Sep 2008 14:46:26 +0000 (16:46 +0200)]
macosx: fix CPP + SDK usage

16 years agoeyetv: fix path of a file in the project
Derk-Jan Hartman [Wed, 3 Sep 2008 13:25:52 +0000 (15:25 +0200)]
eyetv: fix path of a file in the project

16 years agoFix a crash that happens if you play with video filters.
Jean-Baptiste Kempf [Fri, 5 Sep 2008 08:07:09 +0000 (01:07 -0700)]
Fix a crash that happens if you play with video filters.

Crash happens if you do:
 - Play item
 - Activate vfilter
 - Stop item
 - Deactivate vfilter... BooM.
(cherry picked from commit c876401791144309d2427214d818a34198238358)

16 years agoAdd a sout-keep option in the GUI as sout-keep is removed by default.
Jean-Baptiste Kempf [Fri, 5 Sep 2008 06:54:38 +0000 (23:54 -0700)]
Add a sout-keep option in the GUI as sout-keep is removed by default.

16 years agoOnly Ctrl+H should make you quit minimalView mode
Jean-Baptiste Kempf [Thu, 4 Sep 2008 08:26:02 +0000 (01:26 -0700)]
Only Ctrl+H should make you quit minimalView mode
(cherry picked from commit c31d99fdf67fbc9060fb9f413d06b0acf4efc1b6)

16 years agoFound another one! Sneaky bastard...
Antoine Cellerier [Fri, 5 Sep 2008 00:31:57 +0000 (02:31 +0200)]
Found another one! Sneaky bastard...

16 years agoThis is a bolean control, not tristate.
Antoine Cellerier [Fri, 5 Sep 2008 00:28:23 +0000 (02:28 +0200)]
This is a bolean control, not tristate.

16 years agoRevert "Add option to disable embedded video in the simple prefs."
Antoine Cellerier [Fri, 5 Sep 2008 00:24:33 +0000 (02:24 +0200)]
Revert "Add option to disable embedded video in the simple prefs."

Already available in the interface sprefs.
This reverts commit c1a144df34204a213648092615d01a113e9af076.

16 years agoAdd option to disable embedded video in the simple prefs.
Antoine Cellerier [Fri, 5 Sep 2008 00:19:45 +0000 (02:19 +0200)]
Add option to disable embedded video in the simple prefs.

16 years agoOops.
Antoine Cellerier [Thu, 4 Sep 2008 23:56:44 +0000 (01:56 +0200)]
Oops.

16 years agoFix google video playlist script.
Antoine Cellerier [Thu, 4 Sep 2008 23:51:31 +0000 (01:51 +0200)]
Fix google video playlist script.

16 years agoSimplify.
Antoine Cellerier [Thu, 4 Sep 2008 22:44:01 +0000 (00:44 +0200)]
Simplify.

16 years agoRemove useless argument to pf_video_blend
Antoine Cellerier [Thu, 4 Sep 2008 22:30:58 +0000 (00:30 +0200)]
Remove useless argument to pf_video_blend

We were already blending directly on top of the destination
picture. This simplifies the code and should prevent further
confusion.

16 years agomacosx: text manipulation in the messages window doesn't make sense - disabled
Felix Paul Kühne [Thu, 4 Sep 2008 21:46:33 +0000 (23:46 +0200)]
macosx: text manipulation in the messages window doesn't make sense - disabled

16 years agoAdd a manpage for vlc-wrapper
Christophe Mutricy [Thu, 4 Sep 2008 21:19:46 +0000 (22:19 +0100)]
Add a manpage for vlc-wrapper

16 years agoFixed socket setup in net_ListenSingle.
Laurent Aimar [Thu, 4 Sep 2008 21:02:41 +0000 (23:02 +0200)]
Fixed socket setup in net_ListenSingle.

(it was used by net_OpenDgram when no server is specified).

16 years agoRevert "Set buffer sizes"
Rémi Denis-Courmont [Thu, 4 Sep 2008 21:07:05 +0000 (00:07 +0300)]
Revert "Set buffer sizes"

This reverts commit 9a5e5236beae0b8c9ff08dcecc8922ac13d54799.
Not intended for master.

16 years agoWarn about ticks at compile-time
Rémi Denis-Courmont [Thu, 4 Sep 2008 21:01:39 +0000 (00:01 +0300)]
Warn about ticks at compile-time

16 years agoSet buffer sizes
Rémi Denis-Courmont [Thu, 4 Sep 2008 20:38:02 +0000 (23:38 +0300)]
Set buffer sizes

16 years agoProtect against multiple inclusions
Rémi Denis-Courmont [Thu, 4 Sep 2008 19:39:04 +0000 (22:39 +0300)]
Protect against multiple inclusions

16 years agoRemove /* inside comment
Rémi Denis-Courmont [Thu, 4 Sep 2008 19:36:52 +0000 (22:36 +0300)]
Remove /* inside comment

16 years agoRemove declaration for vanished function
Rémi Denis-Courmont [Thu, 4 Sep 2008 19:24:31 +0000 (22:24 +0300)]
Remove declaration for vanished function

16 years agoFixed mwait for windows.
Laurent Aimar [Thu, 4 Sep 2008 18:46:07 +0000 (20:46 +0200)]
Fixed mwait for windows.

SleepEx expects a duration in milli second.

16 years agoAdd msleep misuse warning
Rémi Denis-Courmont [Thu, 4 Sep 2008 18:10:34 +0000 (21:10 +0300)]
Add msleep misuse warning

16 years agoWin32: strerror won't work
Rémi Denis-Courmont [Thu, 4 Sep 2008 18:10:06 +0000 (21:10 +0300)]
Win32: strerror won't work

16 years agoWin32: restore accidentally removed variable
Rémi Denis-Courmont [Thu, 4 Sep 2008 18:09:48 +0000 (21:09 +0300)]
Win32: restore accidentally removed variable

16 years agoWin32: fix warning
Rémi Denis-Courmont [Thu, 4 Sep 2008 18:08:00 +0000 (21:08 +0300)]
Win32: fix warning

16 years agouse backtrace with vlc_object_get warning
Rémi Denis-Courmont [Thu, 4 Sep 2008 17:52:44 +0000 (20:52 +0300)]
use backtrace with vlc_object_get warning

16 years agoProvide backtrace function within libvlccore
Rémi Denis-Courmont [Thu, 4 Sep 2008 17:36:48 +0000 (20:36 +0300)]
Provide backtrace function within libvlccore

16 years agoThread fatal errors: add function name, and some Win32 support
Rémi Denis-Courmont [Thu, 4 Sep 2008 17:32:05 +0000 (20:32 +0300)]
Thread fatal errors: add function name, and some Win32 support

16 years agoFix memleak and config option type. (thanks to ivoire and xtophe)
Antoine Cellerier [Thu, 4 Sep 2008 16:15:16 +0000 (18:15 +0200)]
Fix memleak and config option type. (thanks to ivoire and xtophe)

16 years agoAdd mouse cursor drawing support in x11 screen.
Antoine Cellerier [Thu, 4 Sep 2008 16:00:09 +0000 (18:00 +0200)]
Add mouse cursor drawing support in x11 screen.

16 years agoFix g726 packetizing : forgot to compute the padding, but we don't need it
Rafaël Carré [Thu, 4 Sep 2008 15:53:46 +0000 (17:53 +0200)]
Fix g726 packetizing : forgot to compute the padding, but we don't need it

16 years agortp: g726 packetization
Rafaël Carré [Thu, 4 Sep 2008 15:26:19 +0000 (17:26 +0200)]
rtp: g726 packetization

16 years agoFix placeholder mode. UDP streaming now works.
Antoine Cellerier [Thu, 4 Sep 2008 13:49:03 +0000 (15:49 +0200)]
Fix placeholder mode. UDP streaming now works.

Make sure that we don't add the briged elementary streams to the next
stream output chain element when in placeholder mode. Maybe I should
split normal bridge-in and placeholder mode because the code is
begining to be filled with quite a few if( p_sys->b_placeholder ).

16 years agoAdd --sout-bridge-in-placeholder-switch-on-iframe
Antoine Cellerier [Thu, 4 Sep 2008 13:10:41 +0000 (15:10 +0200)]
Add --sout-bridge-in-placeholder-switch-on-iframe

Add default enabled option to force placeholder state toggling to
happen only on iframes. This removes artifacts at the expense of a
longer switch delay.

16 years agoPrint an error when trying to add more than one ES to the bridge-out module.
Antoine Cellerier [Thu, 4 Sep 2008 12:49:48 +0000 (14:49 +0200)]
Print an error when trying to add more than one ES to the bridge-out module.

16 years agoQt: use the CoverArtLabel in the playlist view and media information dialog
Jean-Philippe Andre [Thu, 4 Sep 2008 03:19:19 +0000 (23:19 -0400)]
Qt: use the CoverArtLabel in the playlist view and media information dialog

16 years agoQt: create a CoverArtLabel
Jean-Philippe Andre [Thu, 4 Sep 2008 03:58:06 +0000 (23:58 -0400)]
Qt: create a CoverArtLabel

This Widget (base QLabel) is designed to show the cover art. It handles right-click, and show a context menu that has only one entry:

- Download cover art

When the user clicks it, vlc downloads the cover art (or finds it in the cache), and displays it when downloaded

16 years agoSome news about tonight's bridge module changes.
Antoine Cellerier [Wed, 3 Sep 2008 23:51:42 +0000 (01:51 +0200)]
Some news about tonight's bridge module changes.

16 years agoAdd placeholder feature to bridge module ("No Signal" anyone?)
Antoine Cellerier [Wed, 3 Sep 2008 23:12:45 +0000 (01:12 +0200)]
Add placeholder feature to bridge module ("No Signal" anyone?)

This commit allows using the bridge-out and bridge-in module to
configure a placeholder stream. This placeholder stream replaces the
input stream if it dies for more than place-holder ms.

Example configuration:
 # The input
 new test broadcast enabled
 setup test input /home/antoine/media/wall-e/Sample.avi
 setup test output #duplicate{dst=bridge-out,select=video,dst=bridge-out,select=audio}

 # The placeholder
 new master broadcast enabled
 setup master input /home/antoine/media/wall-e/wall-e.avi
 setup master output #bridge-in{placeholder,placeholder-delay=5000}:display

 # control test play
 control master play

Placeholder and input should have the same format (aspect ratio, dimension,
codec, ...). Connect to VLC's telnet interface and issue some
"control test play" and "control test stop" commands to simulate input loss.
The placeholder stream should kick in after 5000 ms (5 s) of input loss.

16 years agoMake it possible to have more than one bridge in a VLC instance
Antoine Cellerier [Wed, 3 Sep 2008 21:41:21 +0000 (23:41 +0200)]
Make it possible to have more than one bridge in a VLC instance

This commit adds an in-name property to bridge-out and a name property
to brige-in which allows selecting which bridge-out go to which bridge-in
modules. Default behvior is unchanged (everything goes to the same
bridge-in).

16 years agoDo not set sout-keep by default.
Laurent Aimar [Wed, 3 Sep 2008 21:03:05 +0000 (23:03 +0200)]
Do not set sout-keep by default.

 While it is great for (some) streaming cases it is really wrong for saving
to a file for example and/or without using the gather module.

 If you have read how to use the gather module, you probably have read enough
documentation to add sout-keep...

16 years agoFixed config.h include order.
Laurent Aimar [Wed, 3 Sep 2008 18:24:40 +0000 (20:24 +0200)]
Fixed config.h include order.

16 years agoProperly malloc(), memcpy() and free() the quantizer matrix. (Somebody please patch...
Antoine Cellerier [Wed, 3 Sep 2008 20:47:03 +0000 (22:47 +0200)]
Properly malloc(), memcpy() and free() the quantizer matrix. (Somebody please patch libmpeg2 so we can postproc it's output too!) Thanks to fenrir for his help.

16 years agoFix a typo to make the buildbot happy.
Rémi Duraffort [Wed, 3 Sep 2008 20:13:17 +0000 (22:13 +0200)]
Fix a typo to make the buildbot happy.

16 years agodemux/playlit/*: Check asprintf return malloc.
Rémi Duraffort [Wed, 3 Sep 2008 20:06:10 +0000 (22:06 +0200)]
demux/playlit/*: Check asprintf return malloc.

16 years agodouble variable declaration
Rémi Denis-Courmont [Wed, 3 Sep 2008 19:57:41 +0000 (22:57 +0300)]
double variable declaration

16 years agoDe-inhibit cancellation in interface threads
Rémi Denis-Courmont [Wed, 3 Sep 2008 19:32:15 +0000 (22:32 +0300)]
De-inhibit cancellation in interface threads

16 years agoPull cancellation into (most) remaining interfaces
Rémi Denis-Courmont [Wed, 3 Sep 2008 19:31:17 +0000 (22:31 +0300)]
Pull cancellation into (most) remaining interfaces

16 years agoSignals: only one thread needed now
Rémi Denis-Courmont [Wed, 3 Sep 2008 19:30:41 +0000 (22:30 +0300)]
Signals: only one thread needed now

16 years agoTelnet: fix arbitrary tick
Rémi Denis-Courmont [Wed, 3 Sep 2008 19:30:05 +0000 (22:30 +0300)]
Telnet: fix arbitrary tick

16 years agostrsep does not need to be exported for now
Rémi Denis-Courmont [Wed, 3 Sep 2008 19:45:23 +0000 (22:45 +0300)]
strsep does not need to be exported for now

16 years agoAvoid alloca()
Rémi Denis-Courmont [Wed, 3 Sep 2008 18:56:58 +0000 (21:56 +0300)]
Avoid alloca()

16 years agoNo point in checking vlc_object_alive there
Rémi Denis-Courmont [Wed, 3 Sep 2008 18:52:08 +0000 (21:52 +0300)]
No point in checking vlc_object_alive there