vlc.git
9 years agoadd_bool: remove callback parameter
Rémi Denis-Courmont [Fri, 22 Oct 2010 18:08:23 +0000 (21:08 +0300)]
add_bool: remove callback parameter

9 years agoadd_key: remove callback parameter
Rémi Denis-Courmont [Fri, 22 Oct 2010 18:06:51 +0000 (21:06 +0300)]
add_key: remove callback parameter

9 years agoadd_integer: remove callback parameter
Rémi Denis-Courmont [Fri, 22 Oct 2010 18:05:50 +0000 (21:05 +0300)]
add_integer: remove callback parameter

9 years agoadd_float: remove callback parameter
Rémi Denis-Courmont [Fri, 22 Oct 2010 18:02:01 +0000 (21:02 +0300)]
add_float: remove callback parameter

9 years agoadd_directory: remove callback parameter
Rémi Denis-Courmont [Fri, 22 Oct 2010 17:57:17 +0000 (20:57 +0300)]
add_directory: remove callback parameter

9 years agoadd_loadfile: remove callback parameter
Rémi Denis-Courmont [Fri, 22 Oct 2010 17:56:06 +0000 (20:56 +0300)]
add_loadfile: remove callback parameter

9 years agoadd_savefile: remove callback parameter
Rémi Denis-Courmont [Fri, 22 Oct 2010 17:54:03 +0000 (20:54 +0300)]
add_savefile: remove callback parameter

9 years agoadd_password: remove callback parameter
Rémi Denis-Courmont [Fri, 22 Oct 2010 17:52:25 +0000 (20:52 +0300)]
add_password: remove callback parameter

9 years agoadd_font: remove unused parameter
Rémi Denis-Courmont [Fri, 22 Oct 2010 17:48:41 +0000 (20:48 +0300)]
add_font: remove unused parameter

9 years agoRemove legacy parameter from add_string()
Rémi Denis-Courmont [Fri, 22 Oct 2010 17:19:38 +0000 (20:19 +0300)]
Remove legacy parameter from add_string()

9 years agoDo not pass former callback value to VLC_CONFIG_NAME
Rémi Denis-Courmont [Fri, 22 Oct 2010 17:11:39 +0000 (20:11 +0300)]
Do not pass former callback value to VLC_CONFIG_NAME

9 years agoRemove unused change_integer_list parameter
Rémi Denis-Courmont [Fri, 22 Oct 2010 17:00:10 +0000 (20:00 +0300)]
Remove unused change_integer_list parameter

Changing the choice list of a configuration item is not thread-safe.
Plus it does not make much sense to use a strict choice list if the
choices change dynamically.

If ever needed, we can invent a suggestions list system later, just
like we already do for SD plugins enumeration.

9 years agoRemove config change callback
Rémi Denis-Courmont [Fri, 22 Oct 2010 16:45:36 +0000 (19:45 +0300)]
Remove config change callback

This was only used by {alsa,oss}-audio-device and not semantically
correct anyway. If we deem that this is useful, we should register
a callback on the corresponding variables and change the variables
from the UI, not the process-wide configuration.

9 years agoRemove aout_FindAndRestart()
Rémi Denis-Courmont [Thu, 21 Oct 2010 18:28:48 +0000 (21:28 +0300)]
Remove aout_FindAndRestart()

This was only used to change the OSS or ALSA device on the fly.
However, this really should be done with a variable callback, not from
the configuration.

9 years agoRemove read-only field p_callback_data
Rémi Denis-Courmont [Fri, 22 Oct 2010 16:31:57 +0000 (19:31 +0300)]
Remove read-only field p_callback_data

9 years agowinvlc.c: cosmetics
Rafaël Carré [Fri, 22 Oct 2010 16:08:25 +0000 (18:08 +0200)]
winvlc.c: cosmetics

make the loop for copying options in argv nicer

9 years agomisc/atomic: fixed linking
Felix Paul Kühne [Fri, 22 Oct 2010 00:33:02 +0000 (02:33 +0200)]
misc/atomic: fixed linking

9 years agomacosx vout: fixed minor warning
Felix Paul Kühne [Thu, 21 Oct 2010 20:13:00 +0000 (22:13 +0200)]
macosx vout: fixed minor warning

9 years agoaudioqueue aout: fixed 2 minor warnings
Felix Paul Kühne [Thu, 21 Oct 2010 20:07:12 +0000 (22:07 +0200)]
audioqueue aout: fixed 2 minor warnings

9 years agomacosx_dialog_provider: handle EXTENSION_WIDGET_CHECK_BOX and fixed a few warnings...
Felix Paul Kühne [Thu, 21 Oct 2010 19:59:05 +0000 (21:59 +0200)]
macosx_dialog_provider: handle EXTENSION_WIDGET_CHECK_BOX and fixed a few warnings pointed by clang's static analyser

9 years agoNULL rather than 0 pointers
Rémi Denis-Courmont [Thu, 21 Oct 2010 18:18:05 +0000 (21:18 +0300)]
NULL rather than 0 pointers

9 years agoRevert "win32 contribs: Fix dxva2 decoding for Intel cards"
Rafaël Carré [Thu, 21 Oct 2010 19:55:01 +0000 (21:55 +0200)]
Revert "win32 contribs: Fix dxva2 decoding for Intel cards"

This reverts commit 1c1e8beacc1c2beb67d0304986fe638f2554fe61.
Patch applied upstream

9 years agoFixed potential segfault in vout when not using DR (close #3899).
Laurent Aimar [Wed, 20 Oct 2010 19:31:33 +0000 (21:31 +0200)]
Fixed potential segfault in vout when not using DR (close #3899).

It can happen if the vout display uses the same chroma than the video but
doesn't do the resize itself.

9 years agoFixed typo in targa image mime.
Laurent Aimar [Wed, 20 Oct 2010 19:30:27 +0000 (21:30 +0200)]
Fixed typo in targa image mime.

9 years agoinput: Fill in the input_item es
Rafaël Carré [Wed, 20 Oct 2010 14:44:05 +0000 (16:44 +0200)]
input: Fill in the input_item es

Based on pdherbemont's patch
Re-use existing es_format_t, do not worry about memory footprint
It is meant to replace sout_stream_description

9 years agolive555 : remove timeout thread before closing rtsp session
Sébastien Escudier [Thu, 21 Oct 2010 12:57:56 +0000 (14:57 +0200)]
live555 : remove timeout thread before closing rtsp session

9 years agonet_OpenDgram don't return 0 in case of failure
Sébastien Escudier [Thu, 21 Oct 2010 06:48:49 +0000 (08:48 +0200)]
net_OpenDgram don't return 0 in case of failure

9 years agowinvlc: enable media-library
Rafaël Carré [Wed, 20 Oct 2010 17:54:54 +0000 (19:54 +0200)]
winvlc: enable media-library

9 years agovlc-cachegen: remove useless options
Rafaël Carré [Wed, 20 Oct 2010 17:54:07 +0000 (19:54 +0200)]
vlc-cachegen: remove useless options

--ignore-config and --no-media-library are default

9 years agoDisable media-library by default
Rafaël Carré [Wed, 20 Oct 2010 14:17:31 +0000 (16:17 +0200)]
Disable media-library by default

Enable it in vlc binary

9 years agosmem: give an error message if pre-render function didn't give a buffer
Rafaël Carré [Wed, 20 Oct 2010 15:29:00 +0000 (17:29 +0200)]
smem: give an error message if pre-render function didn't give a buffer

9 years agolibvlc headers: remove commas at end of enums
Rafaël Carré [Wed, 20 Oct 2010 14:01:11 +0000 (16:01 +0200)]
libvlc headers: remove commas at end of enums

Fix a warning reported by gcc -ansi -pedantic

9 years agoDon't copy activex/mozilla plugins when packaging for wince
Rafaël Carré [Wed, 20 Oct 2010 12:09:53 +0000 (14:09 +0200)]
Don't copy activex/mozilla plugins when packaging for wince

9 years agoDummy activex/npapi build rules for Windows CE / Windows 64bits
Rafaël Carré [Wed, 20 Oct 2010 10:42:32 +0000 (12:42 +0200)]
Dummy activex/npapi build rules for Windows CE / Windows 64bits

Move the rules from {npapi,activex}.am to /Makefile.am

9 years agonew live555 release: update live-inet_ntop.patch
Rafaël Carré [Wed, 20 Oct 2010 10:36:04 +0000 (12:36 +0200)]
new live555 release: update live-inet_ntop.patch

9 years agoQt: nameLabel: remove old school padding
Francois Cartegnie [Tue, 19 Oct 2010 21:59:11 +0000 (23:59 +0200)]
Qt: nameLabel: remove old school padding
Padding using spaces was resulting in extra spaces when copying to
clipboard

9 years agoNEWS about ActiveX
Rafaël Carré [Tue, 19 Oct 2010 20:59:09 +0000 (22:59 +0200)]
NEWS about ActiveX

9 years agoRemove activex project
Rafaël Carré [Tue, 19 Oct 2010 20:19:20 +0000 (22:19 +0200)]
Remove activex project

It is now available at git://git.videolan.org/activex-vlc.git
Fetch, configure, and build it when making windows packages

Modify npapi-vlc dependencies, and move install of the dll in
package-win-common rule

Pass $(SHELL) to npapi & activex ./configure to be sure they pick
/bin/bash and not /bin/sh (which might be incompatible with libtool)

9 years agomodules: assert when trying to add more than one deprecated alias.
Rémi Duraffort [Tue, 19 Oct 2010 20:09:30 +0000 (22:09 +0200)]
modules: assert when trying to add more than one deprecated alias.

9 years agomodules: fix type.
Rémi Duraffort [Mon, 18 Oct 2010 05:20:51 +0000 (07:20 +0200)]
modules: fix type.

9 years agolua_sd: cleanup.
Rémi Duraffort [Mon, 18 Oct 2010 05:14:43 +0000 (07:14 +0200)]
lua_sd: cleanup.

9 years agolua_sd: implement the search function.
Rémi Duraffort [Mon, 18 Oct 2010 05:06:42 +0000 (07:06 +0200)]
lua_sd: implement the search function.

9 years agoSD: add a function to query a service discovery for more items.
Rémi Duraffort [Mon, 18 Oct 2010 04:56:57 +0000 (06:56 +0200)]
SD: add a function to query a service discovery for more items.

9 years agoDon't build/package mozilla plugin for win64
Rafaël Carré [Mon, 18 Oct 2010 13:10:04 +0000 (15:10 +0200)]
Don't build/package mozilla plugin for win64

npapi hasn't been ported to windows 64 yet

9 years agoBluray: correctly select the main title
Jean-Baptiste Kempf [Sun, 17 Oct 2010 15:24:26 +0000 (17:24 +0200)]
Bluray: correctly select the main title

This should fix the usual playback issues we had so far.

9 years agoRevert "XCB: reset the X11 screen saver when displaying a picture"
Rémi Denis-Courmont [Sun, 17 Oct 2010 13:45:30 +0000 (16:45 +0300)]
Revert "XCB: reset the X11 screen saver when displaying a picture"

This reverts commit 48be35499d7545a31a160c7578ffa073f761e814.

9 years agowin64 installer: install in \Programs Files
Rafaël Carré [Sun, 17 Oct 2010 11:50:44 +0000 (13:50 +0200)]
win64 installer: install in \Programs Files

\Program Files (x86) is for 32bits programs
Fixes #4257

fix suggested by jb

9 years agoFix memory leak
Rémi Denis-Courmont [Sun, 17 Oct 2010 10:30:45 +0000 (13:30 +0300)]
Fix memory leak

9 years agoFix non-ASCII comment
Rémi Denis-Courmont [Thu, 14 Oct 2010 17:09:43 +0000 (20:09 +0300)]
Fix non-ASCII comment

9 years agoOld RC: remove goto divide-by-two hack (fix #4236)
Rémi Denis-Courmont [Thu, 14 Oct 2010 16:47:15 +0000 (19:47 +0300)]
Old RC: remove goto divide-by-two hack (fix #4236)

9 years agoQt4: use open file dialog for loadfile items (fix #4247)
Rémi Denis-Courmont [Thu, 14 Oct 2010 16:39:49 +0000 (19:39 +0300)]
Qt4: use open file dialog for loadfile items (fix #4247)

9 years agosplit add_file into add_loadfile and add_savefile
Rémi Denis-Courmont [Thu, 14 Oct 2010 16:27:33 +0000 (19:27 +0300)]
split add_file into add_loadfile and add_savefile

The preference panel needs to know which of open or save file dialog
it should use. Here we have 27 load and 4 save cases, plus 2 fonts
that were not correctly marked as such in projectM.

9 years agoQt4: don't trust toggle for systray, do what we say (fix #4248)
Rémi Denis-Courmont [Thu, 14 Oct 2010 16:01:34 +0000 (19:01 +0300)]
Qt4: don't trust toggle for systray, do what we say (fix #4248)

If the menu item says hide, really always hide.

9 years agoflag a bug
Rémi Denis-Courmont [Wed, 13 Oct 2010 20:35:30 +0000 (23:35 +0300)]
flag a bug

p_demux value is not defined

9 years agoblock_FifoPut() accepts/ignores NULL block
Rémi Denis-Courmont [Wed, 13 Oct 2010 20:35:09 +0000 (23:35 +0300)]
block_FifoPut() accepts/ignores NULL block

9 years agoTimer: do not run concurrently
Rémi Denis-Courmont [Wed, 13 Oct 2010 16:07:40 +0000 (19:07 +0300)]
Timer: do not run concurrently

This is useless and awkward.

9 years agoTimer: make the overrun counter atomic
Rémi Denis-Courmont [Wed, 13 Oct 2010 16:06:55 +0000 (19:06 +0300)]
Timer: make the overrun counter atomic

9 years agoTimer: remove the static lock
Rémi Denis-Courmont [Wed, 13 Oct 2010 16:14:01 +0000 (19:14 +0300)]
Timer: remove the static lock

9 years agoAdd atomic swap and compare-and-swap
Rémi Denis-Courmont [Wed, 13 Oct 2010 15:57:58 +0000 (18:57 +0300)]
Add atomic swap and compare-and-swap

9 years agowin32 packaging: point npapi build to CONTRIB_DIR/gecko-sdk
Rafaël Carré [Wed, 13 Oct 2010 15:52:01 +0000 (17:52 +0200)]
win32 packaging: point npapi build to CONTRIB_DIR/gecko-sdk

9 years agowin32 packaging: factorize by using --with-contrib and setting CONTRIB_DIR
Rafaël Carré [Wed, 13 Oct 2010 15:36:33 +0000 (17:36 +0200)]
win32 packaging: factorize by using --with-contrib and setting CONTRIB_DIR

9 years agoFix mozilla packaging for windows
Rafaël Carré [Tue, 12 Oct 2010 20:41:58 +0000 (22:41 +0200)]
Fix mozilla packaging for windows

build-npapi is a dep of package-win32-base-exe and not
package-win-common, because i don't think the mozilla plugin builds for
windows CE

Assumes we always want to build & package mozilla plugin

9 years agoUpdate NEWS
Jean-Baptiste Kempf [Tue, 12 Oct 2010 23:02:09 +0000 (01:02 +0200)]
Update NEWS

9 years agowin32 contribs: Fix dxva2 decoding for Intel cards
Rafaël Carré [Tue, 12 Oct 2010 20:46:01 +0000 (22:46 +0200)]
win32 contribs: Fix dxva2 decoding for Intel cards

Tested on GMA HD, ATI/NVIDIA
Untested on GMA4500

Needs testing on more cards and samples before it is committed upstream

9 years agoUpdate NEWS and modules/LIST
Jean-Paul Saman [Tue, 12 Oct 2010 20:06:30 +0000 (22:06 +0200)]
Update NEWS and modules/LIST

9 years agostream_filter/httplive.c: HTTP Live Streaming
Jean-Paul Saman [Tue, 14 Sep 2010 18:42:30 +0000 (20:42 +0200)]
stream_filter/httplive.c: HTTP Live Streaming

Support HTTP Live Streaming as described in the IETF draft standard:
 * http://tools.ietf.org/html/draft-pantos-http-live-streaming-04#page-8
and Apple its description:
 * http://developer.apple.com/library/ios/#documentation/networkinginternet/conceptual/streamingmediaguide/Introduction/Introduction.html#//apple_ref/doc/uid/TP40008332-CH1-DontLinkElementID_29

Not implemented (yet):
- Encrypted streams (EXT-X-KEY)
- playlist reloading for live streams

9 years agolibvlc_..._stop: terminate aout and sout also, not just vout
Rémi Denis-Courmont [Tue, 12 Oct 2010 19:52:00 +0000 (22:52 +0300)]
libvlc_..._stop: terminate aout and sout also, not just vout

9 years agovlc_timer: compute overruns and adjust if they occur
Rémi Denis-Courmont [Tue, 12 Oct 2010 19:48:38 +0000 (22:48 +0300)]
vlc_timer: compute overruns and adjust if they occur

9 years agoContribs: correctly extract D2D headers
Jean-Baptiste Kempf [Tue, 12 Oct 2010 14:15:53 +0000 (16:15 +0200)]
Contribs: correctly extract D2D headers

9 years agoUgly and almost working npapi build rules
Rémi Denis-Courmont [Mon, 11 Oct 2010 20:09:22 +0000 (23:09 +0300)]
Ugly and almost working npapi build rules

9 years agoConfigure: fix live555 detection
Jean-Baptiste Kempf [Mon, 11 Oct 2010 20:00:25 +0000 (22:00 +0200)]
Configure: fix live555 detection

Yes, this code is weird, but well

9 years agolua extensions: remove dummy function (moreover vlc_join is simpler to understand)
Rémi Duraffort [Mon, 11 Oct 2010 19:06:39 +0000 (21:06 +0200)]
lua extensions: remove dummy function (moreover vlc_join is simpler to understand)

9 years agolua extensions: use an enum and remove demuy declaration.
Rémi Duraffort [Mon, 11 Oct 2010 18:06:02 +0000 (20:06 +0200)]
lua extensions: use an enum and remove demuy declaration.

9 years agowin32 configure scripts: --enable-mozilla is gone
Rafaël Carré [Mon, 11 Oct 2010 18:08:04 +0000 (20:08 +0200)]
win32 configure scripts: --enable-mozilla is gone

9 years agoRemove the NPAPI plugin
Rémi Denis-Courmont [Mon, 11 Oct 2010 17:44:33 +0000 (20:44 +0300)]
Remove the NPAPI plugin

9 years agoRemove obsolete feisty script
Rémi Denis-Courmont [Mon, 11 Oct 2010 15:51:18 +0000 (18:51 +0300)]
Remove obsolete feisty script

9 years agoClarify live555 version error
Rémi Denis-Courmont [Mon, 11 Oct 2010 15:51:04 +0000 (18:51 +0300)]
Clarify live555 version error

9 years agoDon't check for live555 headers twice
Rémi Denis-Courmont [Mon, 11 Oct 2010 15:45:43 +0000 (18:45 +0300)]
Don't check for live555 headers twice

If the version header is there, the main one should be too.

9 years agoRemove unmaintained roku build script
Rémi Denis-Courmont [Mon, 11 Oct 2010 15:35:45 +0000 (18:35 +0300)]
Remove unmaintained roku build script

9 years agowin32 package: do not package mozilla plugin if we're not building it
Rafaël Carré [Mon, 11 Oct 2010 13:50:38 +0000 (15:50 +0200)]
win32 package: do not package mozilla plugin if we're not building it

9 years agowin64 configure script: look for contribs in /usr/win64
Rafaël Carré [Mon, 11 Oct 2010 13:43:54 +0000 (15:43 +0200)]
win64 configure script: look for contribs in /usr/win64

9 years agocontribs packaging: use the correct runtime version for win64
Rafaël Carré [Mon, 11 Oct 2010 13:42:02 +0000 (15:42 +0200)]
contribs packaging: use the correct runtime version for win64

9 years agodistcheck configure: disable-mkv
Rafaël Carré [Mon, 11 Oct 2010 12:35:10 +0000 (14:35 +0200)]
distcheck configure: disable-mkv

works around the lack of a recent enough libebml/libmatroska in Debian

9 years agoDon't trust __MINGW32_MINOR_VERSION for mingw64
Rafaël Carré [Sun, 10 Oct 2010 17:33:21 +0000 (19:33 +0200)]
Don't trust __MINGW32_MINOR_VERSION for mingw64

the version number hasn't been updated

9 years agowin64 contribs: build portaudio
Rafaël Carré [Sun, 10 Oct 2010 17:22:30 +0000 (19:22 +0200)]
win64 contribs: build portaudio

9 years agoMKV: fix stupid typo, sorry
Jean-Baptiste Kempf [Sun, 10 Oct 2010 16:44:38 +0000 (18:44 +0200)]
MKV: fix stupid typo, sorry

9 years agoMKV, io_callback cosmetics
Jean-Baptiste Kempf [Sun, 10 Oct 2010 16:33:38 +0000 (18:33 +0200)]
MKV, io_callback cosmetics

9 years agofix Matroska/WebM reading of live HTTP streams
Steve Lhomme [Sun, 10 Oct 2010 15:59:15 +0000 (17:59 +0200)]
fix Matroska/WebM reading of live HTTP streams

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoFix various typos
Jean-Baptiste Kempf [Sun, 10 Oct 2010 16:13:39 +0000 (18:13 +0200)]
Fix various typos

Spotted by Christoph Miebach Christoph dot Miebach __ web dot de

9 years agoQt4: update discs MRL syntax for Windows
Rémi Denis-Courmont [Sun, 10 Oct 2010 14:06:12 +0000 (17:06 +0300)]
Qt4: update discs MRL syntax for Windows

9 years agovar_InheritString returns NULL, not ""
Rémi Denis-Courmont [Sun, 10 Oct 2010 13:57:23 +0000 (16:57 +0300)]
var_InheritString returns NULL, not ""

9 years agocontribs: fix portaudio build for win64
Rafaël Carré [Sun, 10 Oct 2010 12:04:21 +0000 (14:04 +0200)]
contribs: fix portaudio build for win64

patch sent upstream

9 years agodvdread: fix potential buffer read overflow (fix #4238)
Rémi Denis-Courmont [Sun, 10 Oct 2010 10:10:59 +0000 (13:10 +0300)]
dvdread: fix potential buffer read overflow (fix #4238)

9 years agodvdnav: fix potential buffer read overflow
Rémi Denis-Courmont [Sun, 10 Oct 2010 10:10:06 +0000 (13:10 +0300)]
dvdnav: fix potential buffer read overflow

9 years agoRevert "dvdread: minimum value for ps_pkt_size is 6"
Rémi Denis-Courmont [Sun, 10 Oct 2010 09:56:19 +0000 (12:56 +0300)]
Revert "dvdread: minimum value for ps_pkt_size is 6"

This reverts commit 76003f0e6cd54217619b68537ba73c089c60c8ed,
which is not needed anymore.

9 years agodvdnav: no need to check for 6 bytes before ps_pkt_size() anymore
Rémi Denis-Courmont [Sun, 10 Oct 2010 09:51:20 +0000 (12:51 +0300)]
dvdnav: no need to check for 6 bytes before ps_pkt_size() anymore

This mostly reverts commit 8a497301054ccc2d9d470ade60264036d43e3fc0.

9 years agoPut size check before data dereference
Rémi Denis-Courmont [Sun, 10 Oct 2010 09:46:27 +0000 (12:46 +0300)]
Put size check before data dereference

I think that's a good pattern to follow.
In this particular case, there was no bug however.

9 years agoReally fix ps_pkt_size()
Rémi Denis-Courmont [Sun, 10 Oct 2010 09:43:38 +0000 (12:43 +0300)]
Really fix ps_pkt_size()

The original commit description is rather terse
  "ps demux: fix an issue in ps_pkt_read()"
so I don't really know what the "issue" is. But ps_pkt_size() really
made no sense as is.

This reverts commit d761cf6f1d40a952548407b843ee0c3f0a3cd472.

Conflicts:

modules/demux/ps.h

9 years agohttp: Fix a NULL ptr deref in http-user-agent handling.
Pierre d'Herbemont [Sat, 9 Oct 2010 14:45:24 +0000 (16:45 +0200)]
http: Fix a NULL ptr deref in http-user-agent handling.

9 years agoavformat: fix typo.
Rémi Duraffort [Sat, 9 Oct 2010 12:18:01 +0000 (14:18 +0200)]
avformat: fix typo.