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

12 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

12 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

12 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.

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

12 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)

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

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

(Removed a unused macro)

12 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.

12 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.

12 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

12 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)

12 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.

12 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.

12 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).

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

12 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.

12 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)

12 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.

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

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

12 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

12 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

12 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

12 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
12 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

12 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

12 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)

12 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.

12 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)

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

12 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.

12 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.

12 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.

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

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

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

12 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.

12 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

12 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

12 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).

12 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.

12 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

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

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

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

12 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

12 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.

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

12 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

12 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

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

12 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

12 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

12 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

12 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)

12 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.

12 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

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

12 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 ).

12 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.

12 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.

12 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

12 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

12 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.

12 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.

12 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).

12 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...

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

12 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.

12 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.

12 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.

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

12 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

12 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

12 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

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

12 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

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

12 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

12 years agoDo not lock the input while talking to D-Bus
Rémi Denis-Courmont [Wed, 3 Sep 2008 18:11:52 +0000 (21:11 +0300)]
Do not lock the input while talking to D-Bus

12 years agoFix memleak (don't ask for error just for fun).
Rémi Duraffort [Wed, 3 Sep 2008 19:27:44 +0000 (21:27 +0200)]
Fix memleak (don't ask for error just for fun).

12 years agoCorrectly fix #1746 on Windows. Special for Trax :D
Jean-Baptiste Kempf [Wed, 3 Sep 2008 19:23:52 +0000 (12:23 -0700)]
Correctly fix #1746 on Windows. Special for Trax :D

12 years agoImplemented strsep replacement.
Laurent Aimar [Wed, 3 Sep 2008 19:07:12 +0000 (21:07 +0200)]
Implemented strsep replacement.

12 years agoRevert "CLOCK_FREQ is a 64-bits quantity as mtime_t"
Rémi Denis-Courmont [Wed, 3 Sep 2008 18:01:22 +0000 (21:01 +0300)]
Revert "CLOCK_FREQ is a 64-bits quantity as mtime_t"

This reverts commit df65d65771fc440f134d10ea80c86e9f6f2051f6.

12 years agoUse CLOCK_FREQ
Rémi Denis-Courmont [Wed, 3 Sep 2008 17:42:55 +0000 (20:42 +0300)]
Use CLOCK_FREQ

12 years agoCLOCK_FREQ is a 64-bits quantity as mtime_t
Rémi Denis-Courmont [Wed, 3 Sep 2008 17:38:48 +0000 (20:38 +0300)]
CLOCK_FREQ is a 64-bits quantity as mtime_t

12 years agoFix warning
Rémi Denis-Courmont [Wed, 3 Sep 2008 17:42:31 +0000 (20:42 +0300)]
Fix warning

12 years agoOops.
Antoine Cellerier [Wed, 3 Sep 2008 10:24:12 +0000 (12:24 +0200)]
Oops.

12 years agoAdd Actech to THANKS.
Antoine Cellerier [Wed, 3 Sep 2008 10:09:51 +0000 (12:09 +0200)]
Add Actech to THANKS.

12 years agoImproved a bit still frame support.
Laurent Aimar [Tue, 2 Sep 2008 23:20:05 +0000 (01:20 +0200)]
Improved a bit still frame support.

12 years agoFixed a typo in YUVP blending to RGB.
Laurent Aimar [Tue, 2 Sep 2008 23:12:21 +0000 (01:12 +0200)]
Fixed a typo in YUVP blending to RGB.

12 years agovout_RenderPicture should not render subtitles on the provided picture.
Laurent Aimar [Tue, 2 Sep 2008 22:47:54 +0000 (00:47 +0200)]
vout_RenderPicture should not render subtitles on the provided picture.

This prevents rendering subtitles multiple times (but at the cost of a
picture copy when subtiles are rendered).

12 years agoDo not filter the same picture multiple times (close #1959).
Laurent Aimar [Tue, 2 Sep 2008 22:23:09 +0000 (00:23 +0200)]
Do not filter the same picture multiple times (close #1959).

12 years agoSmall fixes on the man page
Christophe Mutricy [Tue, 2 Sep 2008 21:31:38 +0000 (22:31 +0100)]
Small fixes on the man page

Add some aliases
Some : -> ://

12 years agol10n: Hungarian update by Gabor Kelemen
Christophe Mutricy [Tue, 2 Sep 2008 21:21:00 +0000 (22:21 +0100)]
l10n: Hungarian update by Gabor Kelemen

12 years agoi18n: tell gettext to not be silly
Christophe Mutricy [Tue, 2 Sep 2008 21:15:30 +0000 (22:15 +0100)]
i18n: tell gettext to not be silly

12 years agoCosmetic.
Laurent Aimar [Tue, 2 Sep 2008 21:22:16 +0000 (23:22 +0200)]
Cosmetic.

12 years agoFixed a big rtp demuxer.
Laurent Aimar [Tue, 2 Sep 2008 21:17:28 +0000 (23:17 +0200)]
Fixed a big rtp demuxer.

DEMUX_GET_PTS_DELAY should returns microsecond.

You should NOT remove caching to PTS to create PCR.
It was probably a workaround for the previous bug. It could explains
the problems with TS over RTP (for TS with small pcr/pts delay that is, not
created by VLC)

Implemented missing DEMUX_CAN_* query.

12 years agoCosmetics + clean up.
Laurent Aimar [Tue, 2 Sep 2008 19:17:03 +0000 (21:17 +0200)]
Cosmetics + clean up.