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

12 years agoShrink overly large blocks
Rémi Denis-Courmont [Tue, 2 Sep 2008 14:57:31 +0000 (17:57 +0300)]
Shrink overly large blocks

12 years agoEncoders are allowed to change the input format. Hence we need to check that our...
Antoine Cellerier [Tue, 2 Sep 2008 13:35:44 +0000 (15:35 +0200)]
Encoders are allowed to change the input format. Hence we need to check that our second attempt to spawn an encoder didn't do so.

12 years agoDon't take removed options into account when checking if a module has non advanced...
Antoine Cellerier [Tue, 2 Sep 2008 11:31:17 +0000 (13:31 +0200)]
Don't take removed options into account when checking if a module has non advanced help options.

12 years agoRevert "transcode: try to fix audio resampling (fix #1862)"
Ilkka Ollakka [Tue, 2 Sep 2008 10:46:36 +0000 (13:46 +0300)]
Revert "transcode: try to fix audio resampling (fix #1862)"

This reverts commit 867a815956401f12780892c3432d915ff470ff4e.

That commit basicly just disabled resampling

12 years agosubtitle demux: add comment about how to enable auto detection.
Derk-Jan Hartman [Tue, 2 Sep 2008 10:02:54 +0000 (12:02 +0200)]
subtitle demux: add comment about how to enable auto detection.

12 years agosubtitle detection: Add support for pbs, dks, mpsub, pjs and mpl2 detection.
Derk-Jan Hartman [Tue, 2 Sep 2008 10:00:32 +0000 (12:00 +0200)]
subtitle detection: Add support for pbs, dks, mpsub, pjs and mpl2 detection.

Moved the order around a bit so that more common formats are earlier in the array.

12 years agosubtitle detection: add support for auto-detecting ass, jss, rt and usf subs (AHUM...
Derk-Jan Hartman [Tue, 2 Sep 2008 09:32:35 +0000 (11:32 +0200)]
subtitle detection: add support for auto-detecting ass, jss, rt and usf subs (AHUM :D !!!! )

12 years agoFix make check.
Pierre d'Herbemont [Tue, 2 Sep 2008 07:23:33 +0000 (09:23 +0200)]
Fix make check.

12 years agoQt bugfix: pressing Enter Key in preferences dialog should save prefs
Jean-Philippe Andre [Tue, 2 Sep 2008 01:40:22 +0000 (21:40 -0400)]
Qt bugfix: pressing Enter Key in preferences dialog should save prefs

12 years agoThanks to JPeg...
Jean-Baptiste Kempf [Tue, 2 Sep 2008 01:27:02 +0000 (18:27 -0700)]
Thanks to JPeg...

12 years agoBugfix: last.fm segfaults under Windows This is due to %ju unsupported in printf...
JPeg [Tue, 2 Sep 2008 01:09:47 +0000 (21:09 -0400)]
Bugfix: last.fm segfaults under Windows This is due to %ju unsupported in printf. I also added a few HACKs to enhance submitting (length = 0 did not work, for instance).

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years agomessages: Fix a warning.
Pierre d'Herbemont [Tue, 2 Sep 2008 00:19:52 +0000 (02:19 +0200)]
messages: Fix a warning.

12 years agoIn fact it's the module name (as in MODULE_NAME on the gcc comand line) and not the...
Antoine Cellerier [Tue, 2 Sep 2008 00:07:54 +0000 (02:07 +0200)]
In fact it's the module name (as in MODULE_NAME on the gcc comand line) and not the object name.

12 years agoAlso allow filtering based on module names.
Antoine Cellerier [Tue, 2 Sep 2008 00:05:22 +0000 (02:05 +0200)]
Also allow filtering based on module names.

12 years agolibvlc: Add a --verbose-objects option to select which objects should print their...
Pierre d'Herbemont [Sun, 6 Jul 2008 13:45:23 +0000 (15:45 +0200)]
libvlc: Add a --verbose-objects option to select which objects should print their msg.

Sample usage:
--verbose-objects=+input,-all

12 years agoupdate: Make sure we don't leak.
Pierre d'Herbemont [Mon, 1 Sep 2008 23:31:02 +0000 (01:31 +0200)]
update: Make sure we don't leak.

This fix also a crash because of a non joined thread on Mac OS X.

12 years agoAccept partial matches with -p <module name> (aka --module ...)
Antoine Cellerier [Mon, 1 Sep 2008 23:29:38 +0000 (01:29 +0200)]
Accept partial matches with -p <module name> (aka --module ...)
Old behavior is still available by prefixing the module name with an
equal sign. For example "vlc -p ts --advanced" returns help on the mux_ts,
vod_rtsp, ts and dvb (aka atsc) modules while "vlc -p '=ts' --advanced"
returns help on the mux_ts (aka ts) and ts modules.

12 years agoWhen applicable, mention that modules weren't displayed because they only had advance...
Antoine Cellerier [Mon, 1 Sep 2008 23:10:27 +0000 (01:10 +0200)]
When applicable, mention that modules weren't displayed because they only had advanced options.

12 years agoMention --list and --list-verbose if a vlc -p <string> call didn't find anything.
Antoine Cellerier [Mon, 1 Sep 2008 23:02:39 +0000 (01:02 +0200)]
Mention --list and --list-verbose if a vlc -p <string> call didn't find anything.

12 years agoPrint the module name in help output (else the user has no way to link the vlc -...
Antoine Cellerier [Mon, 1 Sep 2008 22:55:36 +0000 (00:55 +0200)]
Print the module name in help output (else the user has no way to link the vlc --list output to that of the vlc <insert a help command here> output other than by trying all the modules in --list with vlc -p <module name>)

12 years agoFix mistake in 92290c9d that allowed modules with no basic options (i.e. != advanced...
Antoine Cellerier [Mon, 1 Sep 2008 22:51:10 +0000 (00:51 +0200)]
Fix mistake in 92290c9d that allowed modules with no basic options (i.e. != advanced) to be shown in vlc -p <something> output with --no-advanced.

12 years agoRemove trailing spaces.
Antoine Cellerier [Mon, 1 Sep 2008 22:12:41 +0000 (00:12 +0200)]
Remove trailing spaces.

12 years agoFixed timestamp in ffmpeg reget_buffer callback.
Laurent Aimar [Mon, 1 Sep 2008 23:09:29 +0000 (01:09 +0200)]
Fixed timestamp in ffmpeg reget_buffer callback.

12 years agoAdded missing dvb scan.h include in Modules.am.
Laurent Aimar [Mon, 1 Sep 2008 23:08:30 +0000 (01:08 +0200)]
Added missing dvb scan.h include in Modules.am.

12 years agoFixed decoder picture leak detection code.
Laurent Aimar [Mon, 1 Sep 2008 21:42:38 +0000 (23:42 +0200)]
Fixed decoder picture leak detection code.

It workarounds a picture leak in libmpeg2/ffmpeg decoder, fixing the menu for
a few DVDs.

12 years agoRevert "Partially work around a picture link in libmpeg2."
Laurent Aimar [Mon, 1 Sep 2008 21:40:01 +0000 (23:40 +0200)]
Revert "Partially work around a picture link in libmpeg2."

This reverts commit f18192c64b1f984c694d32e734a5b15d80b18ee0.
It fixed a few streams while breaking a few others one.

12 years agoRemoved a debug commit in ffmpeg (do not force display of every frame).
Laurent Aimar [Mon, 1 Sep 2008 19:57:37 +0000 (21:57 +0200)]
Removed a debug commit in ffmpeg (do not force display of every frame).

12 years agoRevert "Revert "Improved rtjpeg and seek NUV demuxer support.""
Laurent Aimar [Sun, 31 Aug 2008 22:44:51 +0000 (00:44 +0200)]
Revert "Revert "Improved rtjpeg and seek NUV demuxer support.""

This reverts commit bebc7751abe86c6ed52a81ae252e6b0f9abbff74.

12 years agoFix RCC rules
Christophe Mutricy [Mon, 1 Sep 2008 19:55:49 +0000 (20:55 +0100)]
Fix RCC rules

resources.cpp depends on all the png.

12 years agoFix input_state_changed()
Christophe Mutricy [Mon, 1 Sep 2008 18:36:47 +0000 (19:36 +0100)]
Fix  input_state_changed()

Patch by Jakob Fries

12 years agoCacheName: inline and thread-safe
Rémi Denis-Courmont [Mon, 1 Sep 2008 19:09:22 +0000 (22:09 +0300)]
CacheName: inline and thread-safe

12 years agoWin32: fix malloc when creating a thread
Rémi Denis-Courmont [Mon, 1 Sep 2008 18:03:29 +0000 (21:03 +0300)]
Win32: fix malloc when creating a thread

12 years agolive555: use floats for i_npt as well, remove useless checks
Rafaël Carré [Mon, 1 Sep 2008 15:45:49 +0000 (17:45 +0200)]
live555: use floats for i_npt as well, remove useless checks

Fix Control() which was hit by the bug we wanted to fix...

12 years agolive555: keep the npt clock unit: floats representing seconds
Rafaël Carré [Mon, 1 Sep 2008 15:26:32 +0000 (17:26 +0200)]
live555: keep the npt clock unit: floats representing seconds

This simplify the code and prevent typos: the PLAY request was made with
a starting time 1 million times too big, inverting npt and vlc clocks

12 years agoVLM: be sure the input thread has terminated
Rafaël Carré [Mon, 1 Sep 2008 13:44:48 +0000 (15:44 +0200)]
VLM: be sure the input thread has terminated

12 years agoHere too (can't the Win32 and OS X stuff be factorized a bit?)
Antoine Cellerier [Sun, 31 Aug 2008 21:25:27 +0000 (23:25 +0200)]
Here too (can't the Win32 and OS X stuff be factorized a bit?)

12 years agoInclude all the lua README.txt files in DIST and fix the NEWS.
Antoine Cellerier [Sun, 31 Aug 2008 21:20:30 +0000 (23:20 +0200)]
Include all the lua README.txt files in DIST and fix the NEWS.

12 years agoClarify user specific lua script path on linux.
Antoine Cellerier [Sun, 31 Aug 2008 21:16:22 +0000 (23:16 +0200)]
Clarify user specific lua script path on linux.

12 years agoInstall scripts correctly.
Christophe Mutricy [Sun, 31 Aug 2008 16:47:43 +0000 (17:47 +0100)]
Install scripts correctly.

So that the correct permissions are set

12 years agoQt: Check for NULLity to avoid segfault in AdvPrefs. CLose #1957
Jean-Baptiste Kempf [Sun, 31 Aug 2008 17:21:43 +0000 (10:21 -0700)]
Qt: Check for NULLity to avoid segfault in AdvPrefs. CLose #1957

I just don't understand why double-clicking in an empty space does trigger the
event, but it does...

12 years agoBump Qt for windows to 4.4.1
Jean-Baptiste Kempf [Sun, 31 Aug 2008 20:09:09 +0000 (13:09 -0700)]
Bump Qt for windows to 4.4.1

12 years agoUpdate Windows versions
Rémi Denis-Courmont [Sun, 31 Aug 2008 20:06:50 +0000 (23:06 +0300)]
Update Windows versions

12 years agoVS has not been supported for ages.
Rémi Denis-Courmont [Sun, 31 Aug 2008 20:05:06 +0000 (23:05 +0300)]
VS has not been supported for ages.

12 years agoSimplifications
Rémi Denis-Courmont [Sun, 31 Aug 2008 18:31:57 +0000 (21:31 +0300)]
Simplifications

12 years agoRemove UTF-32 hacks from stream.
Rémi Denis-Courmont [Sun, 31 Aug 2008 18:27:52 +0000 (21:27 +0300)]
Remove UTF-32 hacks from stream.

For a start, nobody uses UTF-32 for transmission/storage.
Then, we anyway have iconv() support in the subtitle support (where it
belongs IMHO), if you really wanted to use UTF-32.

12 years agoTake care of different input/canvas aspect-ratio
Ilkka Ollakka [Sun, 31 Aug 2008 17:37:11 +0000 (20:37 +0300)]
Take care of different input/canvas aspect-ratio

12 years agoUse even padding in canvas
Ilkka Ollakka [Sun, 31 Aug 2008 17:35:27 +0000 (20:35 +0300)]
Use even padding in canvas

12 years agoFix croppadd out of bounds write (we were padding 'paddleft+paddright' pixels on...
Antoine Cellerier [Sun, 31 Aug 2008 14:10:14 +0000 (16:10 +0200)]
Fix croppadd out of bounds write (we were padding 'paddleft+paddright' pixels on the right instead of 'paddright')

12 years agoTypo
Rémi Denis-Courmont [Sun, 31 Aug 2008 14:08:30 +0000 (17:08 +0300)]
Typo

12 years agoUnexport vlc_object_dump
Rémi Denis-Courmont [Sun, 31 Aug 2008 14:07:48 +0000 (17:07 +0300)]
Unexport vlc_object_dump

12 years agoCheck for leaked objects while we still can
Rémi Denis-Courmont [Sun, 31 Aug 2008 14:03:27 +0000 (17:03 +0300)]
Check for leaked objects while we still can

12 years agoFix i18n in update.c
Christophe Mutricy [Sun, 31 Aug 2008 11:59:30 +0000 (12:59 +0100)]
Fix i18n in update.c

+ a few typo

12 years agoplaylist: Initialize private members. (oops)
Pierre d'Herbemont [Sun, 31 Aug 2008 10:24:38 +0000 (12:24 +0200)]
playlist: Initialize private members. (oops)

12 years agoBuild a separate non-installable VLC for easier debugging
Rémi Denis-Courmont [Sun, 31 Aug 2008 10:06:04 +0000 (13:06 +0300)]
Build a separate non-installable VLC for easier debugging

12 years agoMove kept sout instance to playlist private data
Rémi Denis-Courmont [Sun, 31 Aug 2008 09:21:18 +0000 (12:21 +0300)]
Move kept sout instance to playlist private data

12 years agomemset outside of lock
Rémi Denis-Courmont [Sat, 30 Aug 2008 20:49:36 +0000 (23:49 +0300)]
memset outside of lock

12 years agoplaylist: Fetcher and parser are playlist private.
Pierre d'Herbemont [Sun, 31 Aug 2008 08:38:56 +0000 (10:38 +0200)]
playlist: Fetcher and parser are playlist private.

12 years agomacosx: Don't allow playlist or media list draging.
Pierre d'Herbemont [Sat, 30 Aug 2008 17:47:10 +0000 (19:47 +0200)]
macosx: Don't allow playlist or media list draging.

12 years agomacosx: the deprecated vlc_object_get takes 2 args now.
Pierre d'Herbemont [Sat, 30 Aug 2008 17:18:16 +0000 (19:18 +0200)]
macosx: the deprecated vlc_object_get takes 2 args now.

12 years agoWin32: fix vlc_control_cancel from main() task
Rémi Denis-Courmont [Sat, 30 Aug 2008 16:38:41 +0000 (19:38 +0300)]
Win32: fix vlc_control_cancel from main() task

12 years agoUse stat rather than fopen+fclose to check if file exists
Rémi Denis-Courmont [Sat, 30 Aug 2008 16:28:12 +0000 (19:28 +0300)]
Use stat rather than fopen+fclose to check if file exists

12 years agoMemory leak
Rémi Denis-Courmont [Sat, 30 Aug 2008 16:28:05 +0000 (19:28 +0300)]
Memory leak

12 years agoPointer cast warning
Rémi Denis-Courmont [Sat, 30 Aug 2008 16:24:33 +0000 (19:24 +0300)]
Pointer cast warning

12 years agoUnused parameter
Rémi Denis-Courmont [Sat, 30 Aug 2008 16:24:20 +0000 (19:24 +0300)]
Unused parameter

12 years agop_module_bank: move out of vlc_global
Rémi Denis-Courmont [Sat, 30 Aug 2008 11:59:03 +0000 (14:59 +0300)]
p_module_bank: move out of vlc_global

12 years agoDo not log through modules (they are not tied to any libvlc)
Rémi Denis-Courmont [Sat, 30 Aug 2008 11:38:17 +0000 (14:38 +0300)]
Do not log through modules (they are not tied to any libvlc)

12 years agomodule_Call: specify object for logging
Rémi Denis-Courmont [Sat, 30 Aug 2008 11:32:53 +0000 (14:32 +0300)]
module_Call: specify object for logging

12 years agoInit the structure lock just once
Rémi Denis-Courmont [Sat, 30 Aug 2008 11:21:22 +0000 (14:21 +0300)]
Init the structure lock just once

(should probably be a per-instance lock instead though)

12 years agoResync object leak check
Rémi Denis-Courmont [Sat, 30 Aug 2008 11:14:37 +0000 (14:14 +0300)]
Resync object leak check

12 years agoOne objects tree per instance rather than per process
Rémi Denis-Courmont [Sat, 30 Aug 2008 10:23:35 +0000 (13:23 +0300)]
One objects tree per instance rather than per process

12 years agovlc_object_get: take instance as a parameter
Rémi Denis-Courmont [Sat, 30 Aug 2008 09:45:32 +0000 (12:45 +0300)]
vlc_object_get: take instance as a parameter

12 years agovlc_custom_create: no need to invoke the global root object
Rémi Denis-Courmont [Sat, 30 Aug 2008 09:56:28 +0000 (12:56 +0300)]
vlc_custom_create: no need to invoke the global root object

12 years agoSet i_aspect after vfilter in transcode
Ilkka Ollakka [Fri, 29 Aug 2008 07:12:55 +0000 (10:12 +0300)]
Set i_aspect after vfilter in transcode

12 years agoUnused variable
Rémi Denis-Courmont [Sat, 30 Aug 2008 08:08:38 +0000 (11:08 +0300)]
Unused variable

12 years agoInitialize messages stacks inside the message bank
Rémi Denis-Courmont [Sat, 30 Aug 2008 08:15:04 +0000 (11:15 +0300)]
Initialize messages stacks inside the message bank

12 years agoRemove vlc_threadobj (did not work properly anymore)
Rémi Denis-Courmont [Sat, 30 Aug 2008 07:28:26 +0000 (10:28 +0300)]
Remove vlc_threadobj (did not work properly anymore)

12 years agoRemove the broken reference checker
Rémi Denis-Courmont [Sat, 30 Aug 2008 07:21:21 +0000 (10:21 +0300)]
Remove the broken reference checker

12 years agoUse cookie reference, not (uninitialized) value
Rémi Denis-Courmont [Sat, 30 Aug 2008 07:12:29 +0000 (10:12 +0300)]
Use cookie reference, not (uninitialized) value

12 years agoFix crop/aspect ration and deinterlace menus in Qt. (solved by jpeg)
Rémi Duraffort [Fri, 29 Aug 2008 19:23:33 +0000 (21:23 +0200)]
Fix crop/aspect ration and deinterlace menus in Qt. (solved by jpeg)

12 years agoupnp_intel: fix compilation.
Rémi Duraffort [Fri, 29 Aug 2008 19:16:46 +0000 (21:16 +0200)]
upnp_intel: fix compilation.

12 years agoRemove leftover code
Rémi Denis-Courmont [Fri, 29 Aug 2008 16:08:21 +0000 (19:08 +0300)]
Remove leftover code

12 years agosout_AccessOutNew: allow any VLC object type, not just sout instance
Rémi Denis-Courmont [Fri, 29 Aug 2008 14:42:32 +0000 (17:42 +0300)]
sout_AccessOutNew: allow any VLC object type, not just sout instance

12 years agoMake access_out independent of sout instance
Rémi Denis-Courmont [Fri, 29 Aug 2008 15:51:00 +0000 (18:51 +0300)]
Make access_out independent of sout instance

12 years agoImplement ACCESS_OUT_CONTROLS_PACE as needed
Rémi Denis-Courmont [Fri, 29 Aug 2008 15:50:00 +0000 (18:50 +0300)]
Implement ACCESS_OUT_CONTROLS_PACE as needed

12 years agoDisable instance pace control from stream rather than access
Rémi Denis-Courmont [Fri, 29 Aug 2008 15:25:52 +0000 (18:25 +0300)]
Disable instance pace control from stream rather than access

12 years agoAdd ACCESS_OUT_CAN_CONTROL_PACE, fix AccessOutControl prototype
Rémi Denis-Courmont [Fri, 29 Aug 2008 15:13:19 +0000 (18:13 +0300)]
Add ACCESS_OUT_CAN_CONTROL_PACE, fix AccessOutControl prototype

(My fault - fortunately, sout_AccessOutControl was unused)

12 years agoUDP out: avoid useless references to p_sout
Rémi Denis-Courmont [Fri, 29 Aug 2008 14:41:50 +0000 (17:41 +0300)]
UDP out: avoid useless references to p_sout

12 years agoImplemented sout string escaping in QT.
Laurent Aimar [Fri, 29 Aug 2008 12:50:52 +0000 (14:50 +0200)]
Implemented sout string escaping in QT.

12 years agoImproved config_chain parsing by using escape for \ " and ' (close #1952)
Laurent Aimar [Fri, 29 Aug 2008 10:14:48 +0000 (12:14 +0200)]
Improved config_chain parsing by using escape for \ " and ' (close #1952)

It also add checks against failed malloc.

The option value should be escaped by \ for the mentionned characters and
only for them (and only one time).

For example
 dst="test \"ok\".mp3"
will assign the value
 test "ok".mp3
to the option dst.

The following one
 dst="c:\test\\'bla'bla.txt"
will assign the value
 c:\test\'bla'bla.txt

You can use the functions
- config_StringEscape (allocates memory)
- config_StringUnescape (does not allocate memory).

12 years agoFixed segfault when doing rendering without respecting ffmpeg requirements.
Laurent Aimar [Fri, 29 Aug 2008 10:10:43 +0000 (12:10 +0200)]
Fixed segfault when doing rendering without respecting ffmpeg requirements.

It fixes at least SVQ1 segfaults.

12 years agoRevert "Fixed segfault with I410 (it is 10 bits per pel)."
Laurent Aimar [Thu, 28 Aug 2008 22:17:37 +0000 (00:17 +0200)]
Revert "Fixed segfault with I410 (it is 10 bits per pel)."

This reverts commit 48079eeaa7c011485072486cfe1efb6dbbe33b4d.
I410 is 9 bits per pel, it is ffmpeg doing something wrong.