vlc.git
9 years agortp sout: hard code dynamic payload types to 96
Pierre Ynard [Tue, 2 Nov 2010 18:11:15 +0000 (19:11 +0100)]
rtp sout: hard code dynamic payload types to 96

Payload types are scoped to the RTP session, and we put each ES in its
own session, so no risk of conflict

9 years agolua: update the documentation.
Rémi Duraffort [Tue, 2 Nov 2010 16:44:41 +0000 (17:44 +0100)]
lua: update the documentation.

9 years agolua: implement var_ToggleBool and var_CountChoices.
Rémi Duraffort [Tue, 2 Nov 2010 16:30:21 +0000 (17:30 +0100)]
lua: implement var_ToggleBool and var_CountChoices.

9 years agolua: use var_ToggleBool.
Rémi Duraffort [Tue, 2 Nov 2010 16:27:59 +0000 (17:27 +0100)]
lua: use var_ToggleBool.

9 years agolua_variables: implement var_IncInteger and var_DecInteger
Rémi Duraffort [Tue, 2 Nov 2010 14:19:00 +0000 (15:19 +0100)]
lua_variables: implement var_IncInteger and var_DecInteger

9 years agoUpdate LIST.
Rémi Duraffort [Tue, 2 Nov 2010 11:26:56 +0000 (12:26 +0100)]
Update LIST.

9 years agolua_sd: cosmetics.
Rémi Duraffort [Tue, 2 Nov 2010 10:20:47 +0000 (11:20 +0100)]
lua_sd: cosmetics.

9 years agosmb: Fix stack smashing
Rafaël Carré [Tue, 2 Nov 2010 13:56:09 +0000 (14:56 +0100)]
smb: Fix stack smashing

It is described on http://shinnai.altervista.org/exploits/SH-008-20101026.html
Thanks to geal for helping finding the problem
(cherry picked from commit b531955c2206c88250cacc511793facc32cbced6)

Signed-off-by: Rafaël Carré <rafael.carre@gmail.com>
9 years agoGME: fix linking on Win32
Jean-Baptiste Kempf [Tue, 2 Nov 2010 13:47:32 +0000 (14:47 +0100)]
GME: fix linking on Win32

9 years agostream_filter/httplive.c: IV is supported in version 2 or higher
Jean-Paul Saman [Tue, 26 Oct 2010 16:31:46 +0000 (18:31 +0200)]
stream_filter/httplive.c: IV is supported in version 2 or higher

IV attribute of tag #EXT-X-KEY was parsed for any version of the protocol.
However chapter "7. Protocol version compatibility" lists the IV tag being
protocol version 2 or higher. This patch restricts the IV attribute to version
2 or higher of the protocol.
(cherry picked from commit a07189f8187302417cc2b6741bf9ab8d8c3c6e4c)

9 years agostream_filter: httplive.c: add duration to current hls_stream_t in use.
Jean-Paul Saman [Wed, 13 Oct 2010 21:20:20 +0000 (23:20 +0200)]
stream_filter: httplive.c: add duration to current hls_stream_t in use.

Properly pass duration to the correct hls_stream_t instance currently in use.

9 years agostream_filter/httplive.c: Take relative URI into account.
Jean-Paul Saman [Wed, 13 Oct 2010 20:55:51 +0000 (22:55 +0200)]
stream_filter/httplive.c: Take relative URI into account.

Take relative URI into account. This patch relies on protocol (s->psz_access)  information being
included in the stream_t * in addition to psz_path.

9 years agostream_filter core: add procotol information to stream_t
Jean-Paul Saman [Wed, 13 Oct 2010 20:49:20 +0000 (22:49 +0200)]
stream_filter core: add procotol information to stream_t

In addition to p_access->psz_location also add p_access->psz_access to the contructed
stream_t *. It will allow a stream_filter to determine the protocol used in case it was
constructed with an access input.

9 years agostream_filter: httplive.c: cleanup
Jean-Paul Saman [Wed, 13 Oct 2010 10:42:50 +0000 (12:42 +0200)]
stream_filter: httplive.c: cleanup

Cleanup

9 years agostream_filter: httplive.c: remove debug code
Jean-Paul Saman [Wed, 13 Oct 2010 08:02:07 +0000 (10:02 +0200)]
stream_filter: httplive.c: remove debug code

Remove debug code no longer needed.

9 years agostream_filter: httplive.c: remove unused include files
Jean-Paul Saman [Wed, 13 Oct 2010 07:59:51 +0000 (09:59 +0200)]
stream_filter: httplive.c: remove unused include files

Remove unused include files.

9 years agoh264 packetizer : correctly compute picture height in case of interlaced video.
Sébastien Escudier [Thu, 28 Oct 2010 08:20:45 +0000 (10:20 +0200)]
h264 packetizer : correctly compute picture height in case of interlaced video.
See frame_mbs_only_flag chapter 7.4.2.1

9 years agosd: fix compilation (missing file in the previous commit).
Rémi Duraffort [Tue, 2 Nov 2010 07:31:09 +0000 (08:31 +0100)]
sd: fix compilation (missing file in the previous commit).

9 years agolua_sd: Implement the descriptor request.
Rémi Duraffort [Tue, 2 Nov 2010 07:26:27 +0000 (08:26 +0100)]
lua_sd: Implement the descriptor request.

9 years agolua_extension: do not export the array of capabilities.
Rémi Duraffort [Tue, 2 Nov 2010 07:18:55 +0000 (08:18 +0100)]
lua_extension: do not export the array of capabilities.

9 years agoqt4: fix a crash if "view-mode" configuration values are invalid.
Rémi Duraffort [Tue, 2 Nov 2010 06:58:17 +0000 (07:58 +0100)]
qt4: fix a crash if "view-mode" configuration values are invalid.

9 years agocontribs: automake 1.11 needs a recent autoconf
Rafaël Carré [Tue, 2 Nov 2010 06:33:22 +0000 (07:33 +0100)]
contribs: automake 1.11 needs a recent autoconf

9 years agostats: fix initialization on 32bits builds
Rafaël Carré [Tue, 2 Nov 2010 06:15:00 +0000 (07:15 +0100)]
stats: fix initialization on 32bits builds

using psz_string to initialize will leave the top 32bits uninitialized

9 years agov4l2: revert to default caching
Pierre Ynard [Mon, 1 Nov 2010 23:23:09 +0000 (00:23 +0100)]
v4l2: revert to default caching

A too short delay causes issues with late packets being dropped by the
stream output. This reverts 32e94ee0822a43ad541d03c86263f7adcb6a7c50

9 years agocontribs: build automake 1.11.1 on Darwin
Rafaël Carré [Mon, 1 Nov 2010 18:37:29 +0000 (19:37 +0100)]
contribs: build automake 1.11.1 on Darwin

OSX automake 1.10 can build the contribs but not VLC

9 years agoNEWS: 1.2. has now mostly video filter2
Jean-Baptiste Kempf [Mon, 1 Nov 2010 16:51:00 +0000 (17:51 +0100)]
NEWS: 1.2. has now mostly video filter2

9 years agoQt: video filters
Jean-Baptiste Kempf [Mon, 1 Nov 2010 16:46:27 +0000 (17:46 +0100)]
Qt: video filters

Add grain in first page, move away blur
Renaming gradfun
Tab reorder

9 years agoContribs: do not build libvpx decoder
Rafaël Carré [Mon, 1 Nov 2010 16:15:35 +0000 (17:15 +0100)]
Contribs: do not build libvpx decoder

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoNEWS: cleaning for 1.2.0
Jean-Baptiste Kempf [Mon, 1 Nov 2010 16:02:27 +0000 (17:02 +0100)]
NEWS: cleaning for 1.2.0

9 years agoRemoved unused variables (blend).
Laurent Aimar [Mon, 1 Nov 2010 15:45:27 +0000 (16:45 +0100)]
Removed unused variables (blend).

9 years agoFixed potential use of undefined values (yuvp.c)
Laurent Aimar [Mon, 1 Nov 2010 15:41:11 +0000 (16:41 +0100)]
Fixed potential use of undefined values (yuvp.c)

9 years agoUsed the right object for messages in src/input/decoder.c
Laurent Aimar [Mon, 1 Nov 2010 15:38:16 +0000 (16:38 +0100)]
Used the right object for messages in src/input/decoder.c

aout/vout were sometimes used. It was inconsistent and in some cases
those objects could be undefined (NULL).

9 years agoCosmetic (vout).
Laurent Aimar [Mon, 1 Nov 2010 15:29:27 +0000 (16:29 +0100)]
Cosmetic (vout).

9 years agoReenabled mean and discard deinterlacer mode in the vout.
Laurent Aimar [Mon, 1 Nov 2010 15:27:36 +0000 (16:27 +0100)]
Reenabled mean and discard deinterlacer mode in the vout.

9 years agoAllowed using filter changing their output formats in the vout.
Laurent Aimar [Mon, 1 Nov 2010 15:25:48 +0000 (16:25 +0100)]
Allowed using filter changing their output formats in the vout.

A scaler/chroma converter is inserted as the last filter if needed.

9 years agoCosmetics (vout).
Laurent Aimar [Mon, 1 Nov 2010 15:03:35 +0000 (16:03 +0100)]
Cosmetics (vout).

9 years agoBlu-Ray: warn the user about AACS/BD+
Jean-Baptiste Kempf [Mon, 1 Nov 2010 15:07:00 +0000 (16:07 +0100)]
Blu-Ray: warn the user about AACS/BD+

You need a very recent libbluray for this support

9 years agoBlu-Ray: correctly update the navigation menu for 'titles'
Jean-Baptiste Kempf [Mon, 1 Nov 2010 14:23:45 +0000 (15:23 +0100)]
Blu-Ray: correctly update the navigation menu for 'titles'

As pointed out by Laurent

9 years agoDo not save deinterlace settings in the p_input object.
Laurent Aimar [Mon, 1 Nov 2010 14:10:12 +0000 (15:10 +0100)]
Do not save deinterlace settings in the p_input object.

 It is not needed anymore as changing deinterlace settings does not
restart the vout anymore. It removes the last vlc_object_find() in
the vout code.

9 years agoFixed a double free on error (http interface).
Laurent Aimar [Sun, 31 Oct 2010 12:31:50 +0000 (13:31 +0100)]
Fixed a double free on error (http interface).

9 years agoBluray access: support for Titles
Jean-Baptiste Kempf [Tue, 19 Oct 2010 23:48:01 +0000 (01:48 +0200)]
Bluray access: support for Titles

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoContribs: Add libbluray for Win32 target
Jean-Baptiste Kempf [Mon, 1 Nov 2010 13:55:48 +0000 (14:55 +0100)]
Contribs: Add libbluray for Win32 target

9 years agoContribs: add GME target and patch it for static
Jean-Baptiste Kempf [Mon, 1 Nov 2010 13:50:35 +0000 (14:50 +0100)]
Contribs: add GME target and patch it for static

9 years agoContrib: fix gcrypt compilation on Win32
Jean-Baptiste Kempf [Mon, 1 Nov 2010 12:43:21 +0000 (13:43 +0100)]
Contrib: fix gcrypt compilation on Win32

9 years agortp sout: simplify
Pierre Ynard [Mon, 1 Nov 2010 11:20:16 +0000 (12:20 +0100)]
rtp sout: simplify

9 years agotest: add an automatic test for the telnet interface
Rémi Duraffort [Mon, 1 Nov 2010 10:09:24 +0000 (11:09 +0100)]
test: add an automatic test for the telnet interface

Some important things:
 * the test is deactivated by default as it needed netcat. To activate it you
just need to add check_SCRIPTS to the TESTS variable (I won't do it unless we
think that netcat is present on every hosts that run the make check?)
 * the test is really simple for the moment (that's more a POC)
 * we can write a small netcat-like tool to activate this test by default...

9 years agodirac: use autoreconf instead of custom script
Rafaël Carré [Mon, 1 Nov 2010 00:32:59 +0000 (01:32 +0100)]
dirac: use autoreconf instead of custom script

Fix use of ACLOCAL_AMFLAGS

9 years agocontribs: vcdimager depends on cdio
Rafaël Carré [Sun, 31 Oct 2010 23:58:07 +0000 (00:58 +0100)]
contribs: vcdimager depends on cdio

also factorize a bit

9 years agocontribs: attempt to fix osx build of faad
Rafaël Carré [Sun, 31 Oct 2010 23:38:22 +0000 (00:38 +0100)]
contribs: attempt to fix osx build of faad

use autoreconf instead of faad bootstrap script

9 years agogoom2k4-osx.patch: use original line endings
Rafaël Carré [Sun, 31 Oct 2010 23:15:10 +0000 (00:15 +0100)]
goom2k4-osx.patch: use original line endings

9 years agocontribs: make sure build tools are built before the other targets
Rafaël Carré [Sun, 31 Oct 2010 22:51:20 +0000 (23:51 +0100)]
contribs: make sure build tools are built before the other targets

We only need additional tools on OSX

9 years agocontribs: avoid ending with a link to Patches/ in Patches/
Rafaël Carré [Sun, 31 Oct 2010 22:38:08 +0000 (23:38 +0100)]
contribs: avoid ending with a link to Patches/ in Patches/

9 years agocontribs: libvpx needs yasm
Rafaël Carré [Sun, 31 Oct 2010 22:19:41 +0000 (23:19 +0100)]
contribs: libvpx needs yasm

9 years agocontribs: dont build vp8 decoder
Rafaël Carré [Sun, 31 Oct 2010 22:08:50 +0000 (23:08 +0100)]
contribs: dont build vp8 decoder

9 years agovpx: dont install docs
Rafaël Carré [Sun, 31 Oct 2010 22:05:57 +0000 (23:05 +0100)]
vpx: dont install docs

9 years agocontribs: goom2k4: don't build mac application
Rafaël Carré [Sun, 31 Oct 2010 21:56:07 +0000 (22:56 +0100)]
contribs: goom2k4: don't build mac application

9 years agocontribs: Remove build rules for autoconf/automake/gnumake
Rafaël Carré [Sun, 31 Oct 2010 21:55:32 +0000 (22:55 +0100)]
contribs: Remove build rules for autoconf/automake/gnumake

OSX 10.5 tools are recent enough

9 years agocontribs: remove beos config
Rafaël Carré [Sun, 31 Oct 2010 21:36:32 +0000 (22:36 +0100)]
contribs: remove beos config

9 years agocontribs: no need to run autoreconf
Rafaël Carré [Sun, 31 Oct 2010 21:29:42 +0000 (22:29 +0100)]
contribs: no need to run autoreconf

9 years agoaclocal doesn't like -I <non-existing-dir>
Rafaël Carré [Sun, 31 Oct 2010 21:03:22 +0000 (22:03 +0100)]
aclocal doesn't like -I <non-existing-dir>

9 years agocontribs: make aclocal look at contrib installed macros
Rafaël Carré [Sun, 31 Oct 2010 20:58:42 +0000 (21:58 +0100)]
contribs: make aclocal look at contrib installed macros

9 years agodarwin contribs: remove obsolete target
Rafaël Carré [Sun, 31 Oct 2010 20:53:59 +0000 (21:53 +0100)]
darwin contribs: remove obsolete target

9 years agocontribs: goom2k4
Rafaël Carré [Sun, 31 Oct 2010 20:45:27 +0000 (21:45 +0100)]
contribs: goom2k4

Don't patch a file which we'll delete
Use ACLOCAL_AMFLAGS to point aclocal to m4/

9 years agocontribs: remove broken rule
Rafaël Carré [Sun, 31 Oct 2010 20:29:15 +0000 (21:29 +0100)]
contribs: remove broken rule

9 years agoRTP: reorder for better readability
Rémi Denis-Courmont [Sun, 31 Oct 2010 20:12:23 +0000 (22:12 +0200)]
RTP: reorder for better readability

9 years agocontribs: don't build FFmpeg doc
Rafaël Carré [Sun, 31 Oct 2010 20:12:30 +0000 (21:12 +0100)]
contribs: don't build FFmpeg doc

9 years agocontribs: make sure vpx destdir are created (use mkdir -p)
Rafaël Carré [Sun, 31 Oct 2010 20:06:02 +0000 (21:06 +0100)]
contribs: make sure vpx destdir are created (use mkdir -p)

9 years agoios: Add extras/package/ios.
Pierre d'Herbemont [Sun, 31 Oct 2010 20:02:49 +0000 (21:02 +0100)]
ios: Add extras/package/ios.

You can now build your iOS libvlc with build_for_iOS.sh.

9 years agoquartztext: Use TargetCondionnals.h instead of Availability for latest iOS SDK.
Pierre d'Herbemont [Sun, 31 Oct 2010 20:01:15 +0000 (21:01 +0100)]
quartztext: Use TargetCondionnals.h instead of Availability for latest iOS SDK.

9 years agoAllow libvlc client to build statically.
Pierre d'Herbemont [Sun, 31 Oct 2010 19:32:49 +0000 (20:32 +0100)]
Allow libvlc client to build statically.

9 years agocontribs: fix libvpx build, only specify cross prefix for win32
Rafaël Carré [Sun, 31 Oct 2010 20:02:16 +0000 (21:02 +0100)]
contribs: fix libvpx build, only specify cross prefix for win32

9 years agocontribs: ignore more files
Rafaël Carré [Sun, 31 Oct 2010 19:21:02 +0000 (20:21 +0100)]
contribs: ignore more files

9 years agocontribs: remove bashism, remove generated link from VCS
Rafaël Carré [Sun, 31 Oct 2010 19:17:05 +0000 (20:17 +0100)]
contribs: remove bashism, remove generated link from VCS

9 years agocontrib: To please the windows build bot allow to use the old command line switch.
Pierre d'Herbemont [Sun, 31 Oct 2010 18:51:29 +0000 (19:51 +0100)]
contrib: To please the windows build bot allow to use the old command line switch.

9 years agocontrib: Fix build when there is no autoconf.
Pierre d'Herbemont [Sun, 31 Oct 2010 17:45:10 +0000 (18:45 +0100)]
contrib: Fix build when there is no autoconf.

9 years agocontrib: Old syntax should throw an error.
Pierre d'Herbemont [Sun, 31 Oct 2010 17:26:28 +0000 (18:26 +0100)]
contrib: Old syntax should throw an error.

9 years agoconfig: Factorize the Mac OS X targets.
Pierre d'Herbemont [Sun, 31 Oct 2010 17:10:56 +0000 (18:10 +0100)]
config: Factorize the Mac OS X targets.

9 years agocontrib: Remove broken check.
Pierre d'Herbemont [Sun, 31 Oct 2010 16:57:32 +0000 (17:57 +0100)]
contrib: Remove broken check.

9 years agocontrib: Automatically set the correct HAVE_${distro} flag.
Pierre d'Herbemont [Sun, 31 Oct 2010 16:54:34 +0000 (17:54 +0100)]
contrib: Automatically set the correct HAVE_${distro} flag.

9 years agocontrib: Support for iOS.
Pierre d'Herbemont [Sun, 31 Oct 2010 16:42:25 +0000 (17:42 +0100)]
contrib: Support for iOS.

9 years agocontrib: Make sure we can override default CC and CFLAGS from bootstrap.
Pierre d'Herbemont [Sun, 31 Oct 2010 16:40:43 +0000 (17:40 +0100)]
contrib: Make sure we can override default CC and CFLAGS from bootstrap.

9 years agocontrib: Allow install dir and build dir override for contribs.
Pierre d'Herbemont [Sun, 31 Oct 2010 16:17:29 +0000 (17:17 +0100)]
contrib: Allow install dir and build dir override for contribs.

9 years agoQt4: don't cache inside pictureflow
Ilkka Ollakka [Sun, 31 Oct 2010 16:53:19 +0000 (18:53 +0200)]
Qt4: don't cache inside pictureflow

doesn't seem to help at all in thatway, also leaked in playlist-tree mode
(so if you revert, remember to fix that)

9 years agoQt4: pictureflow, check that we use valid index
Ilkka Ollakka [Sun, 31 Oct 2010 16:08:12 +0000 (18:08 +0200)]
Qt4: pictureflow, check that we use valid index

9 years agobootstrap: Use getopts.
Pierre d'Herbemont [Sun, 31 Oct 2010 15:20:19 +0000 (16:20 +0100)]
bootstrap: Use getopts.

9 years agocontrib: Add some abstraction layers instead of using raw echo.
Pierre d'Herbemont [Sun, 31 Oct 2010 15:09:50 +0000 (16:09 +0100)]
contrib: Add some abstraction layers instead of using raw echo.

9 years agoqt4: don't deaccelerate when closing on target in pictureflow
Ilkka Ollakka [Sun, 31 Oct 2010 15:42:48 +0000 (17:42 +0200)]
qt4: don't deaccelerate when closing on target in pictureflow

9 years agoQt4: render artists/title on pictureflow
Ilkka Ollakka [Sun, 31 Oct 2010 15:40:55 +0000 (17:40 +0200)]
Qt4: render artists/title on pictureflow

9 years agoQt4: pictureflow, activate input if cliked and it's not currently playing one
Ilkka Ollakka [Sun, 31 Oct 2010 15:16:36 +0000 (17:16 +0200)]
Qt4: pictureflow, activate input if cliked and it's not currently playing one

9 years agoQt4: make pictureflow work with tree-like playlist too
Ilkka Ollakka [Sun, 31 Oct 2010 14:53:43 +0000 (16:53 +0200)]
Qt4: make pictureflow work with tree-like playlist too

9 years agoncurses: fix #1987
Rafaël Carré [Sun, 31 Oct 2010 14:02:32 +0000 (15:02 +0100)]
ncurses: fix #1987

Use a ncurses timeout() of 1 second, which will block when waiting for input

We use 1 second so the position slider is refreshed correctly
We could use 500ms to not miss any change, now the slider can make a
2 seconds jump, see Nyquist-Shannon theorem

Add a variable to the context to exit the main loop as soon as the exit key
is pressed, so we don't have to wait one more second: vlc_object_alive()
doesn't return false immediately after calling libvlc_Quit()

9 years agoOSX framework: ignore-config and no-media-library are already the default
Rafaël Carré [Sun, 31 Oct 2010 13:34:37 +0000 (14:34 +0100)]
OSX framework: ignore-config and no-media-library are already the default

9 years agoRevert "swscale: Support RGB565 in swscale."
Laurent Aimar [Sun, 31 Oct 2010 12:03:29 +0000 (13:03 +0100)]
Revert "swscale: Support RGB565 in swscale."

This reverts commit 103ae418b44980c0cabd211cd18d10ed87a994f4.

This cannot be good: either it is invalid or incomplete. More informations
are needed to properly fix the issue seen.

9 years agoRemoved invalid assignation while loading cue files.
Laurent Aimar [Sun, 31 Oct 2010 11:54:28 +0000 (12:54 +0100)]
Removed invalid assignation while loading cue files.

 It has some random effects depending on the url (including use of
uninitialized pointer).

9 years agoFixed a allocation failure test in swscale.
Laurent Aimar [Sun, 31 Oct 2010 11:41:02 +0000 (12:41 +0100)]
Fixed a allocation failure test in swscale.

9 years agoFixed allocation failure test in input_item_SetEpg().
Laurent Aimar [Sun, 31 Oct 2010 11:40:15 +0000 (12:40 +0100)]
Fixed allocation failure test in input_item_SetEpg().

9 years agoRemoved useless test (demux_New).
Laurent Aimar [Sun, 31 Oct 2010 11:36:23 +0000 (12:36 +0100)]
Removed useless test (demux_New).

9 years agoFixed a check on malloc failure in libvlc_media_get_tracks_info().
Laurent Aimar [Sun, 31 Oct 2010 11:35:44 +0000 (12:35 +0100)]
Fixed a check on malloc failure in libvlc_media_get_tracks_info().

9 years agoFixed double frees in libvlc_audio_output_device_longname/id.
Laurent Aimar [Sun, 31 Oct 2010 11:34:45 +0000 (12:34 +0100)]
Fixed double frees in libvlc_audio_output_device_longname/id.

9 years agoFixed a potential double free if an error occurs while saving the configuration.
Laurent Aimar [Sun, 31 Oct 2010 11:32:51 +0000 (12:32 +0100)]
Fixed a potential double free if an error occurs while saving the configuration.