vlc.git
13 years agoUse the 2009 key
Christophe Mutricy [Sat, 9 May 2009 21:35:21 +0000 (22:35 +0100)]
Use the 2009 key

13 years agoEnsure that people don't compile Dirac on Windows and Gcc 3
Jean-Baptiste Kempf [Sun, 17 May 2009 22:31:50 +0000 (00:31 +0200)]
Ensure that people don't compile Dirac on Windows and Gcc 3

13 years agoQt: Remove Streaming and Convert/Save menus if compiled with --disable-sout
Jean-Baptiste Kempf [Sun, 17 May 2009 22:23:44 +0000 (00:23 +0200)]
Qt: Remove Streaming and Convert/Save menus if compiled with --disable-sout

Close #2754

13 years agoFix a bug when sorting the playlist:
Rémi Duraffort [Sun, 17 May 2009 20:18:08 +0000 (22:18 +0200)]
Fix a bug when sorting the playlist:

Actually sort is well done but when the user ask for the next/previous item in
the playlist, it will get the one without the sort and not the right
previous/next item.

This is caused by the fact that the table which describe previous/next isn't
rebuilded after a call to the sort function. This commit force the rebuild to
be done (b_reset_currently_playing = true)

13 years agoFix spatializer: wrong variables name.
Rémi Duraffort [Sun, 17 May 2009 19:58:28 +0000 (21:58 +0200)]
Fix spatializer: wrong variables name.

13 years agoFix memleaks: EnsureUTF8 return NULL if the string isn't valid,
Rémi Duraffort [Sun, 17 May 2009 12:27:35 +0000 (14:27 +0200)]
Fix memleaks: EnsureUTF8 return NULL if the string isn't valid,
so we must be able to free the memory in this case.

13 years agorawaud: default FOURCC with local rather than low endianess
Rémi Denis-Courmont [Sun, 17 May 2009 08:52:24 +0000 (11:52 +0300)]
rawaud: default FOURCC with local rather than low endianess

13 years agoAvoid ?: GCC-ism
Rémi Denis-Courmont [Sun, 17 May 2009 08:16:03 +0000 (11:16 +0300)]
Avoid ?: GCC-ism

13 years agoDMO: put more debug if DMO_DEBUG is set
Jean-Baptiste Kempf [Sun, 17 May 2009 01:17:27 +0000 (03:17 +0200)]
DMO: put more debug if DMO_DEBUG is set

This might help to trac the dmo race.

13 years agoQt: correctly split the MRL
Jean-Baptiste Kempf [Sun, 17 May 2009 01:13:08 +0000 (03:13 +0200)]
Qt: correctly split the MRL

Close #2682

13 years agoQt: fix missing 's' in function name
Jean-Baptiste Kempf [Sun, 17 May 2009 00:35:12 +0000 (02:35 +0200)]
Qt: fix missing 's' in function name

13 years agoCosmetics.
Jean-Baptiste Kempf [Sun, 17 May 2009 00:20:58 +0000 (02:20 +0200)]
Cosmetics.

13 years agoForgotten FileSeparator issue.
Jean-Baptiste Kempf [Sun, 17 May 2009 00:19:55 +0000 (02:19 +0200)]
Forgotten FileSeparator issue.

13 years agoQt: reindent after last commit.
Jean-Baptiste Kempf [Sun, 17 May 2009 00:10:17 +0000 (02:10 +0200)]
Qt: reindent after last commit.

13 years agoQt4: fix DIR_SEP on open.
Jean-Baptiste Kempf [Sun, 17 May 2009 00:06:49 +0000 (02:06 +0200)]
Qt4: fix DIR_SEP on open.

Should fix #2142

13 years agoWhen adding an URL, create the name without login and password.
Rémi Duraffort [Sat, 16 May 2009 21:37:10 +0000 (23:37 +0200)]
When adding an URL, create the name without login and password.
This fix partially #2142

13 years agoFix the type guess: this can be a protocol only if you xan find a :// in it.
Rémi Duraffort [Sat, 16 May 2009 21:15:12 +0000 (23:15 +0200)]
Fix the type guess: this can be a protocol only if you xan find a :// in it.
(and add ftp and smb to the list)

13 years agoFixed osd_* functions when the OSD was not loaded.
Laurent Aimar [Sat, 16 May 2009 21:22:01 +0000 (23:22 +0200)]
Fixed osd_* functions when the OSD was not loaded.

 It fixed a segfault when using hotkeys for the OSD.
 I am not sure it is perfectly fine, but var_AcquireMutex seems
to have been removed without a proper replacement.

13 years agoGtk_main: fix compilation.... Completly untested.
Jean-Baptiste Kempf [Sat, 16 May 2009 21:10:09 +0000 (23:10 +0200)]
Gtk_main: fix compilation.... Completly untested.

Should we keep this code?

13 years agopda: fix typo introduced by [ebd7cf22ae7d5b3a1bbf1cd8728926e78f831a9c]
Jean-Baptiste Kempf [Sat, 16 May 2009 20:32:29 +0000 (22:32 +0200)]
pda: fix typo introduced by [ebd7cf22ae7d5b3a1bbf1cd8728926e78f831a9c]

This should fix the compilation of pda interface.

13 years agopda: Fix warnings.
Jean-Baptiste Kempf [Sat, 16 May 2009 20:27:47 +0000 (22:27 +0200)]
pda: Fix warnings.

13 years agoPda: fix compile broken by [05492281]
Jean-Baptiste Kempf [Sat, 16 May 2009 20:26:40 +0000 (22:26 +0200)]
Pda: fix compile broken by [05492281]

13 years agoTypo
Rémi Denis-Courmont [Sat, 16 May 2009 16:10:08 +0000 (19:10 +0300)]
Typo

13 years agoQt4: non-sense way of getting current playlist item
Rémi Denis-Courmont [Sat, 16 May 2009 16:07:07 +0000 (19:07 +0300)]
Qt4: non-sense way of getting current playlist item

We want the current playing item, rather than the number of items to
choose from. Besides, item-current is _not_ a choice list anyway.

13 years agoAttach fetcher to playlist so it gets proper configuration
Rémi Denis-Courmont [Sat, 16 May 2009 16:06:46 +0000 (19:06 +0300)]
Attach fetcher to playlist so it gets proper configuration

13 years agofetcher is a VLC object
Rémi Denis-Courmont [Sat, 16 May 2009 11:58:33 +0000 (14:58 +0300)]
fetcher is a VLC object

13 years agoFixed DMO wrapper.
Laurent Aimar [Fri, 15 May 2009 23:02:06 +0000 (01:02 +0200)]
Fixed DMO wrapper.

 One input buffer can create multiples output ones and so need to be fetched
before provided a new input one.

13 years agoRespect album-art for CDDB request.
Laurent Aimar [Fri, 15 May 2009 21:52:25 +0000 (23:52 +0200)]
Respect album-art for CDDB request.

In this case the option is a bit mis-named but...

13 years agoCorrectly detect rewind (rtsp).
Laurent Aimar [Fri, 15 May 2009 21:46:05 +0000 (23:46 +0200)]
Correctly detect rewind (rtsp).

13 years agoDo not call EnsureUTF8 on NULL string (cdtext).
Laurent Aimar [Fri, 15 May 2009 21:20:15 +0000 (23:20 +0200)]
Do not call EnsureUTF8 on NULL string (cdtext).

13 years agoAdd wmal and WMAL fourCC
Jean-Baptiste Kempf [Fri, 15 May 2009 22:10:05 +0000 (00:10 +0200)]
Add wmal and WMAL fourCC

Spotted by mc2man, mc2man -- optonline | net
(cherry picked from commit e783877897dcafdcd833f81ba44015ccd0ac482f)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agoQt: Be carefull with C++. Fix the issue with downloading album art fromthe net!
Jean-Baptiste Kempf [Fri, 15 May 2009 21:06:45 +0000 (23:06 +0200)]
Qt: Be carefull with C++. Fix the issue with downloading album art fromthe net!

13 years agoWinCE: Require a recent enough mingwce to fix *printf problems
Pierre Ynard [Fri, 15 May 2009 13:19:38 +0000 (15:19 +0200)]
WinCE: Require a recent enough mingwce to fix *printf problems

This just in: CeGCC has a MinGW with working replacement *printf
functions. Just like for mingw32, require (and allow building with) a
recent enough version of mingwce.

Since MinGW is patched by CeGCC, this check is not strictly sufficient;
but at least this allows to have working WinCE builds again.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
13 years agoFix missing symbol in libxvmc_plugin.so
Nicolas Chauvet (kwizart) [Wed, 13 May 2009 13:26:32 +0000 (15:26 +0200)]
Fix missing symbol in libxvmc_plugin.so

the XvMC plugin use xcommon.c where some part use
HAVE_XINERAMA conditions.

Missing symbols are :
XineramaQueryScreens
XineramaQueryExtension
XineramaIsActive

Signed-off-by: Rémi Duraffort <ivoire@videolan.org>
13 years agoCompile fix: Include limits.h when using PATH_MAX
Jean-Paul Saman [Tue, 12 May 2009 11:22:11 +0000 (13:22 +0200)]
Compile fix: Include limits.h when using PATH_MAX

Signed-off-by: Rémi Duraffort <ivoire@videolan.org>
13 years agoQt: Default Output address to 0.0.0.0 in HTTP and MMS
Jean-Baptiste Kempf [Thu, 14 May 2009 21:03:24 +0000 (23:03 +0200)]
Qt: Default Output address to 0.0.0.0 in HTTP and MMS

13 years agoinput: Fix a memleak.
Rémi Duraffort [Thu, 14 May 2009 17:27:30 +0000 (19:27 +0200)]
input: Fix a memleak.

13 years agowince: replace _wrename by MoveFileW
Geoffroy Couprie [Wed, 13 May 2009 14:50:53 +0000 (16:50 +0200)]
wince: replace _wrename by MoveFileW
(cherry picked from commit 7ba508f8ef84047d1c1ed06ac0f3596e0ea1019d)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agowince: replace getpid by GetCurrentProcessId
Pierre Ynard [Sat, 9 May 2009 15:20:46 +0000 (17:20 +0200)]
wince: replace getpid by GetCurrentProcessId

Signed-off-by: Geoffroy Couprie <geo.couprie@gmail.com>
(cherry picked from commit d93246d2d334a21021ab004e99dff22d601fb8ab)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agoMark loop, repeat, random as safe.
Jean-Baptiste Kempf [Thu, 14 May 2009 18:07:31 +0000 (20:07 +0200)]
Mark loop, repeat, random as safe.

13 years agomozilla: fix integer types
Jean-Paul Saman [Tue, 17 Mar 2009 13:28:12 +0000 (14:28 +0100)]
mozilla: fix integer types

(u)int16 -> (u)int16_t
(u)int32 -> (u)int32_t
(cherry picked from commit 53ec8a45e5945db7a452238447e83a8b630c8a79)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agommsh: cleanup
Jean-Paul Saman [Tue, 12 May 2009 15:02:38 +0000 (17:02 +0200)]
mmsh: cleanup
(cherry picked from commit 190ae57d8cd38b2ec1748f950865b94febdb01d0)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agommstu: fix memleak
Jean-Paul Saman [Tue, 12 May 2009 14:55:26 +0000 (16:55 +0200)]
mmstu: fix memleak
(cherry picked from commit ecfdb8c3ca6c1803cf055dcac440ec7ca1a8a9c3)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agommsh: fix potential memleak
Jean-Paul Saman [Tue, 12 May 2009 12:18:36 +0000 (14:18 +0200)]
mmsh: fix potential memleak
(cherry picked from commit 5cc974b1a4bb383006a380d4c9e0011e47cefde1)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agommstu: handle keepalive error case
Jean-Paul Saman [Tue, 12 May 2009 12:11:30 +0000 (14:11 +0200)]
mmstu: handle keepalive error case
(cherry picked from commit e692b86ada5f970fb37b1db137a9d68148dc6ec2)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agoXCB/window: add XFree86 extended key symbols
Rémi Denis-Courmont [Thu, 14 May 2009 16:31:27 +0000 (19:31 +0300)]
XCB/window: add XFree86 extended key symbols

Well, only those that VLC knows anyway.

13 years agoXCB/window: implement --video-title, UTF-8 names
Rémi Denis-Courmont [Thu, 14 May 2009 15:46:08 +0000 (18:46 +0300)]
XCB/window: implement --video-title, UTF-8 names

13 years agoFixed the option "auto-preparse".
Laurent Aimar [Wed, 13 May 2009 21:41:54 +0000 (23:41 +0200)]
Fixed the option "auto-preparse".

 It is now respected. It is part of the privacy problem with
meta data/art.
 I think that
  --noauto-preparse --album-art 0
 will workaround the issue until a new option is added.

13 years agoOpenGL: fix missing GLX window decoration
Rémi Denis-Courmont [Wed, 13 May 2009 20:23:35 +0000 (23:23 +0300)]
OpenGL: fix missing GLX window decoration

13 years agoXCB/window: do not depend on xcb-aux for one trivial function call
Rémi Denis-Courmont [Wed, 13 May 2009 20:13:10 +0000 (23:13 +0300)]
XCB/window: do not depend on xcb-aux for one trivial function call

13 years agoFixed downmixing to mono (close #2728).
Laurent Aimar [Wed, 13 May 2009 19:59:13 +0000 (21:59 +0200)]
Fixed downmixing to mono (close #2728).

13 years agoDeprecate all broken vout_Control() abusers
Rémi Denis-Courmont [Wed, 13 May 2009 18:48:24 +0000 (21:48 +0300)]
Deprecate all broken vout_Control() abusers

13 years agouse VLC_DEPRECATED_API as needed
Rémi Denis-Courmont [Wed, 13 May 2009 18:48:07 +0000 (21:48 +0300)]
use VLC_DEPRECATED_API as needed

13 years agolibvlc: add support for setting/getting the video scale
Rémi Denis-Courmont [Wed, 13 May 2009 18:43:25 +0000 (21:43 +0300)]
libvlc: add support for setting/getting the video scale

13 years agoUse input_GetVout() instead of vlc_object_find()
Rémi Denis-Courmont [Wed, 13 May 2009 18:38:56 +0000 (21:38 +0300)]
Use input_GetVout() instead of vlc_object_find()

13 years agortsp: fix RTP-Info header syntax
Pierre Ynard [Wed, 13 May 2009 16:26:01 +0000 (18:26 +0200)]
rtsp: fix RTP-Info header syntax

As per RFC2326, the correct syntax includes a "url=" that is missing
here. Tested (and bug found) with a Real Player client.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
13 years agoXCB/window: fix always on top
Rémi Denis-Courmont [Wed, 13 May 2009 17:16:38 +0000 (20:16 +0300)]
XCB/window: fix always on top

13 years agolibvlc_media_player_retain: missing lock
Rémi Denis-Courmont [Wed, 13 May 2009 15:51:01 +0000 (18:51 +0300)]
libvlc_media_player_retain: missing lock

13 years agoSyntax error
Rémi Denis-Courmont [Tue, 12 May 2009 16:12:44 +0000 (19:12 +0300)]
Syntax error

13 years agoFix *ASCII* translation of VLC media player in languages I know
Rémi Denis-Courmont [Tue, 12 May 2009 15:44:48 +0000 (18:44 +0300)]
Fix *ASCII* translation of VLC media player in languages I know

This bug affects many other localizations that I cannot fix myself.

13 years agoFix invalid use of gettext
Rémi Denis-Courmont [Tue, 12 May 2009 15:41:19 +0000 (18:41 +0300)]
Fix invalid use of gettext

13 years agoKDE4 screensaver preemption (fixes #2730)
Felix Geyer [Mon, 11 May 2009 19:21:39 +0000 (22:21 +0300)]
KDE4 screensaver preemption (fixes #2730)

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
13 years agoPrevented QT4 gui from changing size while maximized. This should fix https://trac...
Niklas Hayer [Sun, 10 May 2009 18:44:09 +0000 (20:44 +0200)]
Prevented QT4 gui from changing size while maximized. This should fix https://trac.videolan.org/vlc/ticket/1883

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit e83df29b1f39dd46fe8893e5e111ed8be9a17e2d)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agoChanging libvlc_video_take_snapshot prototype
Hugo Beauzee-Luyssen [Sun, 10 May 2009 16:59:56 +0000 (18:59 +0200)]
Changing libvlc_video_take_snapshot prototype

So that it takes a const char* as the filename parameter.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
13 years agoPDA: useless redefinition
Rémi Denis-Courmont [Sun, 10 May 2009 15:40:12 +0000 (18:40 +0300)]
PDA: useless redefinition

13 years agoPDA: dummy input locking
Rémi Denis-Courmont [Sun, 10 May 2009 15:38:21 +0000 (18:38 +0300)]
PDA: dummy input locking

13 years agoMissing .gitignore
Rémi Denis-Courmont [Sun, 10 May 2009 15:37:42 +0000 (18:37 +0300)]
Missing .gitignore

13 years agoMissing .gitignore
Rémi Denis-Courmont [Sun, 10 May 2009 15:35:27 +0000 (18:35 +0300)]
Missing .gitignore

13 years agoPDA: broken dead code
Rémi Denis-Courmont [Sun, 10 May 2009 15:34:47 +0000 (18:34 +0300)]
PDA: broken dead code

13 years agoHTTP: use DIR_SEP(_CHAR)
Rémi Denis-Courmont [Sun, 10 May 2009 13:44:36 +0000 (16:44 +0300)]
HTTP: use DIR_SEP(_CHAR)

13 years agoXSPF: use make_URI, should fix #2731
Rémi Denis-Courmont [Sun, 10 May 2009 12:25:39 +0000 (15:25 +0300)]
XSPF: use make_URI, should fix #2731

13 years agotest cases for make_URI()
Rémi Denis-Courmont [Sun, 10 May 2009 12:24:01 +0000 (15:24 +0300)]
test cases for make_URI()

13 years agomake_URI: make a URI out of a path, if needed
Rémi Denis-Courmont [Sun, 10 May 2009 12:23:18 +0000 (15:23 +0300)]
make_URI: make a URI out of a path, if needed

13 years agodecode_URI: improve documentation, add a return value
Rémi Denis-Courmont [Sun, 10 May 2009 10:35:56 +0000 (13:35 +0300)]
decode_URI: improve documentation, add a return value

13 years agoRemove useless checks
Rémi Denis-Courmont [Sun, 10 May 2009 10:16:40 +0000 (13:16 +0300)]
Remove useless checks

13 years agoRemove static prototypes from header file
Rémi Denis-Courmont [Sun, 10 May 2009 10:16:04 +0000 (13:16 +0300)]
Remove static prototypes from header file

13 years agoPatch: Fix pulseaudio clicking and latency issues
Danny Wood [Sat, 9 May 2009 10:05:31 +0000 (11:05 +0100)]
Patch: Fix pulseaudio clicking and latency issues

Here is the updated patch with the modified configure.ac.
I have also added some comments and cleaned up a little bit of code.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
13 years agol10n: Synchronize the files for RC1
Christophe Mutricy [Sat, 9 May 2009 18:45:22 +0000 (19:45 +0100)]
l10n: Synchronize the files for RC1

13 years agoDistribute packetize_helper.h
Christophe Mutricy [Sat, 9 May 2009 18:37:57 +0000 (19:37 +0100)]
Distribute packetize_helper.h

13 years ago1.0.0 RC1 1.0.0-rc1
Jean-Baptiste Kempf [Fri, 8 May 2009 23:22:45 +0000 (01:22 +0200)]
1.0.0 RC1

13 years agoNEWS and fix typo in LIST.
Jean-Baptiste Kempf [Fri, 8 May 2009 23:15:30 +0000 (01:15 +0200)]
NEWS and fix typo in LIST.

13 years agoXCB/X11: fix crop
Rémi Denis-Courmont [Fri, 8 May 2009 15:31:52 +0000 (18:31 +0300)]
XCB/X11: fix crop

13 years agoqt4: we need qtr() else we have encoding problems
Christophe Mutricy [Fri, 8 May 2009 10:44:31 +0000 (12:44 +0200)]
qt4: we need qtr() else we have encoding problems

13 years agoplaylist_ram: fix memleaks and use "const char*" instead of "char*" whenever possible.
Rémi Duraffort [Fri, 8 May 2009 07:37:18 +0000 (09:37 +0200)]
playlist_ram: fix memleaks and use "const char*" instead of "char*" whenever possible.

13 years agoFixed a race condition with input creation and events.
Laurent Aimar [Fri, 8 May 2009 00:03:05 +0000 (02:03 +0200)]
Fixed a race condition with input creation and events.

input_CreateThread* have been splitted in two functions:
 - input_Create
 - input_Start
to allow attaching to input events and creating settings/variables
before starting the input thread.

For consistency, input_StopThread has been renamed input_Stop.

Initial report from Hugo Beauzee-Luyssen.

13 years agoAdd Khmer and Sorani
Christophe Mutricy [Fri, 8 May 2009 00:08:57 +0000 (01:08 +0100)]
Add Khmer and Sorani

13 years agol10n: Slovenian update
Matej Urbančič [Thu, 7 May 2009 23:37:56 +0000 (00:37 +0100)]
l10n: Slovenian update

Signed-off-by: Christophe Mutricy <xtophe@videolan.org>
13 years agol10n: Brazilian Portuguese update
Sidney Doria [Thu, 7 May 2009 23:31:45 +0000 (00:31 +0100)]
l10n: Brazilian Portuguese update

Signed-off-by: Christophe Mutricy <xtophe@videolan.org>
13 years agol10n: Finnish update
Otto Kekäläinen [Thu, 7 May 2009 23:30:05 +0000 (00:30 +0100)]
l10n: Finnish update

Signed-off-by: Christophe Mutricy <xtophe@videolan.org>
13 years agol10n: Initial Khmer translation
Khoem Sokhem [Thu, 7 May 2009 23:24:44 +0000 (00:24 +0100)]
l10n: Initial Khmer translation

Signed-off-by: Christophe Mutricy <xtophe@videolan.org>
13 years agoCosmetics.
Laurent Aimar [Thu, 7 May 2009 21:56:13 +0000 (23:56 +0200)]
Cosmetics.

13 years agoMoved date_Decrement to libvlc core from dirac.
Laurent Aimar [Thu, 7 May 2009 21:28:57 +0000 (23:28 +0200)]
Moved date_Decrement to libvlc core from dirac.

13 years agoAdded icyx as http alias (some icy servers seem to use it).
Laurent Aimar [Thu, 7 May 2009 21:27:57 +0000 (23:27 +0200)]
Added icyx as http alias (some icy servers seem to use it).

13 years agoUsed BLOCK_FLAG_PRIVATE_SHIFT for creating private masks.
Laurent Aimar [Thu, 7 May 2009 21:18:59 +0000 (23:18 +0200)]
Used BLOCK_FLAG_PRIVATE_SHIFT for creating private masks.

13 years agoReplaced DIRAC_EOS by BLOCK_FLAG_END_OF_SEQUENCE.
Laurent Aimar [Thu, 7 May 2009 21:17:15 +0000 (23:17 +0200)]
Replaced DIRAC_EOS by BLOCK_FLAG_END_OF_SEQUENCE.

13 years agoSimplify and fix the block flag test in dirac packetizer.
Laurent Aimar [Thu, 7 May 2009 21:13:32 +0000 (23:13 +0200)]
Simplify and fix the block flag test in dirac packetizer.

13 years agoTry to workaround serialno change in ogg web radio.
Laurent Aimar [Thu, 7 May 2009 20:55:13 +0000 (22:55 +0200)]
Try to workaround serialno change in ogg web radio.

 At each serialno changes, the timestamp being non continuous, there
will be an annoying glitch...

13 years agoFixed usage of VLC_TS_INVALID (dirac packetizer).
Laurent Aimar [Thu, 7 May 2009 20:52:47 +0000 (22:52 +0200)]
Fixed usage of VLC_TS_INVALID (dirac packetizer).

13 years agoPacketizer is capable of:
David Flynn [Thu, 7 May 2009 12:54:57 +0000 (12:54 +0000)]
Packetizer is capable of:
 - repacketizing and reconstructing timestamps for a Dirac ES
   suitable for remultiplexing and decoding.
 - sanitizing an input stream that has non-signalled discontinuities
 - handling the basket case AVI fake-pts-is-dts method too:
   For a non well formed input (only has pts or dts), this is
   implemented by simulating the ReOrder Buffer model to resolve
   timestamps.

Updated 20090507 with:
 - use VLC_TS_INVALID rather than private block flags
 - removed useless i_sync_flags
 - add support for next_parse_offset == 0
 - eliminate dirac_FindEOS
 - use block_t's p_priv to avoid dirac_FindPictureNumber
 - remove b_picture_number, add parsecode helpers
 - when stream jumps backwards, generate correct EOS DU
 - dont use block_FindMaskedFlags
 - remove openloop fastsync
 - guarantee synchro sees EOS, remove duplicate EOS DUs
 - dont blindly believe that a data unit is > 1MB
 - fix compilation warning
 - fix issue with unsyncable p_extra
 - rearange file
 - add sanitization of prev_parse_offset
 - do duplicate EOS detection at the right place
 - move all operations on outqueue to Packetize
 - fix stupid offbyone on location of prev_parse_offset
 - sanity check output of sync at input to encapsualator
 - refactor dirac_BuildEncapsulationUnit
 - keep hold of precious timestamps
 - unfortunately block_t has no p_priv

Signed-off-by: David Flynn <davidf@rd.bbc.co.uk>
Signed-off-by: Laurent Aimar <fenrir@videolan.org>
13 years agoXCB/XVideo: handle scaling, crop and A/R
Rémi Denis-Courmont [Thu, 7 May 2009 20:23:27 +0000 (23:23 +0300)]
XCB/XVideo: handle scaling, crop and A/R