vlc.git
13 years agoTaglib: cleaning and better use of the tag library.
Rémi Duraffort [Sun, 30 Nov 2008 13:52:45 +0000 (14:52 +0100)]
Taglib: cleaning and better use of the tag library.

13 years agoBy definition of sizeof, sizeof(char) = 1
Rémi Denis-Courmont [Mon, 17 Nov 2008 02:25:35 +0000 (04:25 +0200)]
By definition of sizeof, sizeof(char) = 1

13 years agoReal: fix integer overflow
Rémi Denis-Courmont [Mon, 17 Nov 2008 02:18:10 +0000 (04:18 +0200)]
Real: fix integer overflow

This is trivially exploitable to run code.

Pointed-out-by: Tobias Klein
13 years agoconvert audioscrobbler-plugin to intf-event stuff, that pause/start counting
Ilkka Ollakka [Sat, 29 Nov 2008 13:21:28 +0000 (15:21 +0200)]
convert audioscrobbler-plugin to intf-event stuff, that pause/start counting
could do reviewing.

13 years agoDRM Video decryption
Iain Wade [Tue, 4 Nov 2008 07:35:24 +0000 (18:35 +1100)]
DRM Video decryption

The attached patch adds support for decrypting and playing drm
protected video, such as those from iTunes movie store.

The patch was created against the 0.9.5 source tarball, and was
compiled and tested on OSX against some (legitimately purchased)
iTunes purchased songs and movies.

Just like the existing audio support it requires decryption keys to be
deposited in ~/.drms/ and extracting the keys is left as an exercise
for the user.

[Commit message edited by Laurent Aimar]

Signed-off-by: Iain Wade <iwade@optusnet.com.au>
Signed-off-by: Laurent Aimar <fenrir@videolan.org>
13 years agoUpdate news with references to latest commits and update LIST
Jean-Baptiste Kempf [Sat, 29 Nov 2008 11:17:08 +0000 (12:17 +0100)]
Update news with references to latest commits and update LIST

13 years agoFixed OS-X compilation.
Laurent Aimar [Sat, 29 Nov 2008 10:47:59 +0000 (11:47 +0100)]
Fixed OS-X compilation.

13 years agoCosmetics.
Laurent Aimar [Sat, 29 Nov 2008 10:15:17 +0000 (11:15 +0100)]
Cosmetics.

13 years agomux/ogg: Don't use granulepos = UINT64_MAX on EOS page
David Flynn [Thu, 27 Nov 2008 11:58:52 +0000 (11:58 +0000)]
mux/ogg: Don't use granulepos = UINT64_MAX on EOS page

It isn't legal for granulepos to be UINT64_MAX on an EOS page since
this special value indicates that no packets finish on the page, yet
an EOS page signifies that the final packet does finish on the page.

It seems that there is a convention for repeating the last used
granulepos in the EOS page per logical stream.  This then allows
some extra file size hints (duration = last gp - first gp) [1]

[1] This is flawed -- EOS may occur anywhere, however this is what
some people do.

Signed-off-by: David Flynn <davidf@rd.bbc.co.uk>
Signed-off-by: Laurent Aimar <fenrir@videolan.org>
13 years agodemux/ogg: protect against invalid oggdirac stream
David Flynn [Thu, 27 Nov 2008 11:58:50 +0000 (11:58 +0000)]
demux/ogg: protect against invalid oggdirac stream

Signed-off-by: David Flynn <davidf@rd.bbc.co.uk>
Signed-off-by: Laurent Aimar <fenrir@videolan.org>
13 years agodemux/ogg: Update OggDirac granule_shift (should be 22 not 32)
David Flynn [Thu, 27 Nov 2008 11:58:48 +0000 (11:58 +0000)]
demux/ogg: Update OggDirac granule_shift (should be 22 not 32)

Signed-off-by: David Flynn <davidf@rd.bbc.co.uk>
Signed-off-by: Laurent Aimar <fenrir@videolan.org>
13 years agoAdded MLP support to es demuxer.
Laurent Aimar [Fri, 28 Nov 2008 20:34:44 +0000 (21:34 +0100)]
Added MLP support to es demuxer.

13 years agoAdded MLP packetizer with TrueHD support (AC3 frame removed).
Laurent Aimar [Fri, 28 Nov 2008 20:31:42 +0000 (21:31 +0100)]
Added MLP packetizer with TrueHD support (AC3 frame removed).

13 years agoFix BD TrueHD and LPCM fourcc (ts).
Laurent Aimar [Fri, 28 Nov 2008 19:52:41 +0000 (20:52 +0100)]
Fix BD TrueHD and LPCM fourcc (ts).

13 years agoAdded support of BD LPCM (using fcc bpcm)
Laurent Aimar [Fri, 28 Nov 2008 19:23:23 +0000 (20:23 +0100)]
Added support of BD LPCM (using fcc bpcm)

13 years agoCosmetics (lpcm).
Laurent Aimar [Fri, 28 Nov 2008 18:55:08 +0000 (19:55 +0100)]
Cosmetics (lpcm).

13 years agoAllow up to 8 channels with ffmpeg decoder.
Laurent Aimar [Fri, 28 Nov 2008 18:40:35 +0000 (19:40 +0100)]
Allow up to 8 channels with ffmpeg decoder.

13 years agoCosmetics (use AV_VERSION_INT).
Laurent Aimar [Fri, 28 Nov 2008 18:38:31 +0000 (19:38 +0100)]
Cosmetics (use AV_VERSION_INT).

13 years agoAdded MLP fourcc definition to ffmpeg.
Laurent Aimar [Fri, 28 Nov 2008 18:35:18 +0000 (19:35 +0100)]
Added MLP fourcc definition to ffmpeg.

13 years agoFixed buffering value for frame step.
Laurent Aimar [Sat, 29 Nov 2008 00:36:05 +0000 (01:36 +0100)]
Fixed buffering value for frame step.

13 years agoFixed an unlikely segfault (subtitles).
Laurent Aimar [Sat, 29 Nov 2008 00:18:53 +0000 (01:18 +0100)]
Fixed an unlikely segfault (subtitles).

13 years agoImproved current times in regard to es_out timeshift.
Laurent Aimar [Sat, 29 Nov 2008 00:16:51 +0000 (01:16 +0100)]
Improved current times in regard to es_out timeshift.

13 years agoRevert "Hide es out timeshift delay from time display."
Laurent Aimar [Fri, 28 Nov 2008 20:55:06 +0000 (21:55 +0100)]
Revert "Hide es out timeshift delay from time display."

This reverts commit d30180d8ec7de8776611de5c2f0b0e1587bf0ad4.

13 years agoProtect audio decoder against invalid date.
Laurent Aimar [Wed, 26 Nov 2008 18:55:45 +0000 (19:55 +0100)]
Protect audio decoder against invalid date.

13 years agoFixed seeking while paused (visible with high caching).
Laurent Aimar [Tue, 25 Nov 2008 19:59:17 +0000 (20:59 +0100)]
Fixed seeking while paused (visible with high caching).

13 years agoProtect against bogus time in vout while paused.
Laurent Aimar [Tue, 25 Nov 2008 19:58:49 +0000 (20:58 +0100)]
Protect against bogus time in vout while paused.

13 years agoFix my previous commit
Geoffroy Couprie [Fri, 28 Nov 2008 13:56:12 +0000 (14:56 +0100)]
Fix my previous commit

13 years agoWinCE: update the use of messages subscription
Geoffroy Couprie [Fri, 28 Nov 2008 07:26:35 +0000 (08:26 +0100)]
WinCE: update the use of messages subscription

13 years agoUsing a not sxs-aware CRT won't work
Geoffroy Couprie [Thu, 27 Nov 2008 20:57:14 +0000 (21:57 +0100)]
Using a not sxs-aware CRT won't work

13 years agohttpd: full URL is also valid for HTTP (fixes #2320)
Rémi Denis-Courmont [Thu, 27 Nov 2008 18:36:43 +0000 (20:36 +0200)]
httpd: full URL is also valid for HTTP (fixes #2320)

Also skip URI authority properly.

13 years agoCompile fix
Rémi Denis-Courmont [Thu, 27 Nov 2008 17:20:41 +0000 (19:20 +0200)]
Compile fix

13 years agoRTP: implement demux EOF
Rémi Denis-Courmont [Thu, 27 Nov 2008 16:45:17 +0000 (18:45 +0200)]
RTP: implement demux EOF

13 years agoRevert "Fixed deadlock when no data are received in rtp."
Rémi Denis-Courmont [Thu, 27 Nov 2008 15:54:22 +0000 (17:54 +0200)]
Revert "Fixed deadlock when no data are received in rtp."

This reverts commit a34f07303469b45915a359273ff17143baa0c73d.

13 years agoRTP: notify demux thread when RTP flow is dead
Rémi Denis-Courmont [Thu, 27 Nov 2008 16:43:15 +0000 (18:43 +0200)]
RTP: notify demux thread when RTP flow is dead

13 years agoRTP: fail when object is killed
Rémi Denis-Courmont [Thu, 27 Nov 2008 16:46:20 +0000 (18:46 +0200)]
RTP: fail when object is killed

13 years agoRTP: some documentation
Rémi Denis-Courmont [Thu, 27 Nov 2008 16:44:15 +0000 (18:44 +0200)]
RTP: some documentation

13 years agoRTP: fix use of unitialized value
Rémi Denis-Courmont [Thu, 27 Nov 2008 17:04:59 +0000 (19:04 +0200)]
RTP: fix use of unitialized value

13 years agonet_Read: cancel-safety
Rémi Denis-Courmont [Thu, 27 Nov 2008 16:52:48 +0000 (18:52 +0200)]
net_Read: cancel-safety

13 years ago[Win32 Contrib] Disable pthread for x264 until someone gets the time to understand...
Jean-Baptiste Kempf [Wed, 26 Nov 2008 23:54:38 +0000 (00:54 +0100)]
[Win32 Contrib] Disable pthread for x264 until someone gets the time to understand the issue.

13 years ago[Win32] Update the package configuration.
Jean-Baptiste Kempf [Wed, 26 Nov 2008 23:51:54 +0000 (00:51 +0100)]
[Win32] Update the package configuration.

13 years agoCorrectly handle multiple clients in httpd
Sébastien Escudier [Mon, 24 Nov 2008 09:59:29 +0000 (10:59 +0100)]
Correctly handle multiple clients in httpd

Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
13 years agoUnlikely memory leak (fixes #2304)
Rémi Denis-Courmont [Wed, 26 Nov 2008 17:38:22 +0000 (19:38 +0200)]
Unlikely memory leak (fixes #2304)

13 years agomanifest files are in srcdir not builddir
Jean-Baptiste Kempf [Wed, 26 Nov 2008 16:20:17 +0000 (17:20 +0100)]
manifest files are in srcdir not builddir

13 years agomandriva.spec was deleted
Christophe Mutricy [Tue, 25 Nov 2008 22:37:19 +0000 (22:37 +0000)]
mandriva.spec was deleted

13 years agoEnable frame by frame button only when video is present.
Laurent Aimar [Tue, 25 Nov 2008 18:31:33 +0000 (19:31 +0100)]
Enable frame by frame button only when video is present.

13 years agoFixed segfault because of typo in meta info code.
Laurent Aimar [Tue, 25 Nov 2008 18:24:17 +0000 (19:24 +0100)]
Fixed segfault because of typo in meta info code.

13 years agoThread cancellation on WinCE
Pierre Ynard [Tue, 25 Nov 2008 13:22:24 +0000 (14:22 +0100)]
Thread cancellation on WinCE

This patch adds support for thread cancellation on Windows CE. It
emulates missing functions such as WaitForSingleObjectEx, by creating
a cancellation event handle, and forwarding the wait functions to wait
on both the original handles and the cancellation event. The thread can
then be cancelled by triggering the event from another thread.

Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
13 years ago[Build] Try to fix the MacOS builds when git describe fails.
Jean-Baptiste Kempf [Tue, 25 Nov 2008 08:49:07 +0000 (09:49 +0100)]
[Build] Try to fix the MacOS builds when git describe fails.

13 years agospecify dependency to msvcrt for vlc.exe and libvlc.dll
Geoffroy Couprie [Mon, 24 Nov 2008 22:06:47 +0000 (23:06 +0100)]
specify dependency to msvcrt for vlc.exe and libvlc.dll

13 years ago[ÐShow] add HDYC mediasubtype
Jean-Baptiste Kempf [Mon, 24 Nov 2008 22:02:20 +0000 (23:02 +0100)]
[ÐShow] add HDYC mediasubtype

The colourspace is wrong, but we have no other solutions for now.
Patch by Edouard Gomez, idea modified by David Flynn and merged manually by me.

13 years agoNSIS: put the manifest on install.
Jean-Baptiste Kempf [Mon, 24 Nov 2008 21:56:22 +0000 (22:56 +0100)]
NSIS: put the manifest on install.

13 years agoAdd manifests to browser plugins
Geoffroy Couprie [Mon, 24 Nov 2008 21:33:11 +0000 (22:33 +0100)]
Add manifests to browser plugins

13 years agoHide es out timeshift delay from time display.
Laurent Aimar [Mon, 24 Nov 2008 19:08:15 +0000 (20:08 +0100)]
Hide es out timeshift delay from time display.

13 years agoUpdated codec informations on decoder output change.
Laurent Aimar [Mon, 24 Nov 2008 18:11:33 +0000 (19:11 +0100)]
Updated codec informations on decoder output change.

 It allows to have more complete informations but only on currently
decoded tracks.

13 years agoFixed deadlock when no data are received in rtp.
Laurent Aimar [Mon, 24 Nov 2008 18:10:00 +0000 (19:10 +0100)]
Fixed deadlock when no data are received in rtp.

 It might not be the cleanest way, but I don't see any other fix with the
current API.
 Feel free to revert if a better fix can be found.

13 years agoDo not try other protocols when ask to quit (mms).
Laurent Aimar [Mon, 24 Nov 2008 18:09:15 +0000 (19:09 +0100)]
Do not try other protocols when ask to quit (mms).

13 years agoCosmetic.
Laurent Aimar [Sun, 23 Nov 2008 21:23:29 +0000 (22:23 +0100)]
Cosmetic.

13 years agoRemove useless variable
Rémi Denis-Courmont [Mon, 24 Nov 2008 17:21:44 +0000 (19:21 +0200)]
Remove useless variable

13 years agoDo not use input while not referenced
Rémi Denis-Courmont [Mon, 24 Nov 2008 17:18:55 +0000 (19:18 +0200)]
Do not use input while not referenced

13 years ago[Contrib] Bump XML to 2.7.2 and update gnuTLS to 2.6.2 (big issue in 2.6.1)
Jean-Baptiste Kempf [Mon, 24 Nov 2008 17:17:33 +0000 (18:17 +0100)]
[Contrib] Bump XML to 2.7.2 and update gnuTLS to 2.6.2 (big issue in 2.6.1)

13 years agoIgnore Makevars.template
Rémi Denis-Courmont [Mon, 24 Nov 2008 16:54:39 +0000 (18:54 +0200)]
Ignore Makevars.template

13 years agothanks
Rémi Denis-Courmont [Mon, 24 Nov 2008 16:54:09 +0000 (18:54 +0200)]
thanks

13 years agoDocumentation fixes
Rémi Denis-Courmont [Mon, 24 Nov 2008 16:52:46 +0000 (18:52 +0200)]
Documentation fixes

13 years agoRemove horribly out of date Mandriva spec file
Rémi Denis-Courmont [Mon, 24 Nov 2008 16:51:46 +0000 (18:51 +0200)]
Remove horribly out of date Mandriva spec file

Clearly, these files are better maintained out of our tree.

13 years agoAdd an INSTALL.maemo file
Antoine Lejeune [Mon, 10 Nov 2008 16:43:00 +0000 (17:43 +0100)]
Add an INSTALL.maemo file

Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
13 years agoAdd an omap framebuffer video output module
Antoine Lejeune [Sat, 26 Jul 2008 01:11:06 +0000 (03:11 +0200)]
Add an omap framebuffer video output module

It is used to speed up video output on N800/N810 devices.

X11 is used to handle events.

Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
13 years agoAllow bootstrapping from a subdirectory
Rémi Denis-Courmont [Mon, 24 Nov 2008 16:28:50 +0000 (18:28 +0200)]
Allow bootstrapping from a subdirectory

(or any directory in fact)

13 years agoChange PSP-format to mp4v/mp4a/mp4 as reported by Kaarlo Räihä
Ilkka Ollakka [Mon, 24 Nov 2008 14:11:15 +0000 (16:11 +0200)]
Change PSP-format to mp4v/mp4a/mp4 as reported by Kaarlo Räihä

13 years agoAdd UpdateTeletext to case
Ilkka Ollakka [Sun, 23 Nov 2008 20:51:58 +0000 (22:51 +0200)]
Add UpdateTeletext to case

13 years agoRemove extra ItemStateChanged_Type handling
Ilkka Ollakka [Sun, 23 Nov 2008 20:49:52 +0000 (22:49 +0200)]
Remove extra ItemStateChanged_Type handling

13 years agoRenamed "seekable" into "can-seek" (for consistency).
Laurent Aimar [Sun, 23 Nov 2008 14:29:49 +0000 (15:29 +0100)]
Renamed "seekable" into "can-seek" (for consistency).

13 years agoRemoved intf-change-vout/rate-change/stats-change/intf-change.
Laurent Aimar [Sun, 23 Nov 2008 13:57:30 +0000 (14:57 +0100)]
Removed intf-change-vout/rate-change/stats-change/intf-change.

13 years agoUpdated to intf-event.
Laurent Aimar [Sun, 23 Nov 2008 14:21:12 +0000 (15:21 +0100)]
Updated to intf-event.

13 years agoDo not use intf-change in maemo gui.
Laurent Aimar [Sun, 23 Nov 2008 13:52:17 +0000 (14:52 +0100)]
Do not use intf-change in maemo gui.

13 years agoUpdated qt4 to use intf-event.
Laurent Aimar [Sun, 23 Nov 2008 13:33:03 +0000 (14:33 +0100)]
Updated qt4 to use intf-event.

It might need a review and a clean up of the qt4 code.

13 years agoAdded INPUT_EVENT_TELETEXT.
Laurent Aimar [Sun, 23 Nov 2008 13:29:50 +0000 (14:29 +0100)]
Added INPUT_EVENT_TELETEXT.

13 years agoAvoid a deadlock when a decoder is in error.
Laurent Aimar [Sun, 23 Nov 2008 12:10:59 +0000 (13:10 +0100)]
Avoid a deadlock when a decoder is in error.

13 years agoAllows audio output users to control vout creation.
Laurent Aimar [Sun, 23 Nov 2008 12:09:02 +0000 (13:09 +0100)]
Allows audio output users to control vout creation.

 The input event vout now warns about every vout creation/destruction
due to a decoder.

13 years agomacosx: properly set up the nextKeyView for all text fields in the sprefs
Felix Paul Kühne [Sat, 22 Nov 2008 22:12:43 +0000 (23:12 +0100)]
macosx: properly set up the nextKeyView for all text fields in the sprefs

Forward-port [a643d7e59b8fa7b8525dd12ae733baa2a1333f26]

13 years agoFix my previous commit
Christophe Mutricy [Sat, 22 Nov 2008 18:31:04 +0000 (18:31 +0000)]
Fix my previous commit

13 years agoInclude event.h.
Christophe Mutricy [Sat, 22 Nov 2008 17:44:42 +0000 (17:44 +0000)]
Include event.h.

Needed for input_SendEventVout()

13 years agoTimeshift is no longer an access_filter
Christophe Mutricy [Sat, 22 Nov 2008 17:02:25 +0000 (17:02 +0000)]
Timeshift is no longer an access_filter

13 years agoDon't i18n'd ""
Christophe Mutricy [Sat, 22 Nov 2008 16:43:19 +0000 (16:43 +0000)]
Don't i18n'd ""

It's reserved by gettext. gettext("") will output the headers.

13 years agoFix memleak
Christophe Mutricy [Sat, 22 Nov 2008 16:33:07 +0000 (16:33 +0000)]
Fix memleak

Closes #2300

13 years agoFix memleak
Christophe Mutricy [Sat, 22 Nov 2008 16:23:11 +0000 (16:23 +0000)]
Fix memleak

Untested
Closes #2306

13 years agoFix memleak
Christophe Mutricy [Sat, 22 Nov 2008 16:22:24 +0000 (16:22 +0000)]
Fix memleak

Closes #2308

13 years agoFix memleak
Christophe Mutricy [Sat, 22 Nov 2008 16:17:23 +0000 (16:17 +0000)]
Fix memleak

Closes #2307

13 years agoFix mem leak
Christophe Mutricy [Sat, 22 Nov 2008 16:04:24 +0000 (16:04 +0000)]
Fix mem leak

Closes #2305

13 years agoClean up input events.
Laurent Aimar [Sat, 22 Nov 2008 15:26:16 +0000 (16:26 +0100)]
Clean up input events.

A new variable intf-event has been added.
It supercedes the following variables (they are still present for the
time being):
 - intf-change
 - intf-change-vout
 - rate-change
 - stats-change
and allows to have a better knowledge of the change done.

It is documented in vlc_input.h (in progress).

13 years agoMoved statistic update from sout to input.
Laurent Aimar [Sat, 22 Nov 2008 11:36:35 +0000 (12:36 +0100)]
Moved statistic update from sout to input.

It allows to avoid the inclusion of input_internal.h

13 years agoCosmetics.
Laurent Aimar [Sat, 22 Nov 2008 11:03:18 +0000 (12:03 +0100)]
Cosmetics.

13 years agoUse input_interface.h (playlist).
Laurent Aimar [Sat, 22 Nov 2008 10:57:24 +0000 (11:57 +0100)]
Use input_interface.h (playlist).

13 years agoClean up input_item_t functions and usages.
Laurent Aimar [Sat, 22 Nov 2008 10:37:58 +0000 (11:37 +0100)]
Clean up input_item_t functions and usages.

It fixes a bunch of missing locks and remove unused functions.
It splits input_internal.h

13 years agoRemoved unused -playlist_ItemSetName.
Laurent Aimar [Sat, 22 Nov 2008 10:18:07 +0000 (11:18 +0100)]
Removed unused -playlist_ItemSetName.

13 years agoSet CDDA track duration when creating the track items.
Laurent Aimar [Sat, 22 Nov 2008 10:15:21 +0000 (11:15 +0100)]
Set CDDA track duration when creating the track items.

13 years agoDo not use playlist code in CDDA.
Laurent Aimar [Sat, 22 Nov 2008 09:18:15 +0000 (10:18 +0100)]
Do not use playlist code in CDDA.

13 years agoDo not use playlist inside a decoder.
Laurent Aimar [Sat, 22 Nov 2008 09:50:24 +0000 (10:50 +0100)]
Do not use playlist inside a decoder.

13 years agoUse input_item_GetName instead of direct access to an item.
Laurent Aimar [Sat, 22 Nov 2008 09:10:55 +0000 (10:10 +0100)]
Use input_item_GetName instead of direct access to an item.

It will allows proper locking of p_item.

13 years agoLet input_item_AddSubItem set the playlist flags.
Laurent Aimar [Sat, 22 Nov 2008 09:06:12 +0000 (10:06 +0100)]
Let input_item_AddSubItem set the playlist flags.

It will allows proper locking of p_item.

13 years agoMove/clean up input event code to its own file.
Laurent Aimar [Thu, 20 Nov 2008 20:49:51 +0000 (21:49 +0100)]
Move/clean up input event code to its own file.

There is no functionnal changes except a few missing events added.