vlc.git
11 years agotest: add some more tests for vlc variables.
Rémi Duraffort [Thu, 23 Jul 2009 13:20:05 +0000 (15:20 +0200)]
test: add some more tests for vlc variables.

11 years agofactorize.
Rémi Duraffort [Thu, 23 Jul 2009 12:23:32 +0000 (14:23 +0200)]
factorize.

11 years agoFix previous commit about drag&drop.
Rémi Duraffort [Thu, 23 Jul 2009 12:21:28 +0000 (14:21 +0200)]
Fix previous commit about drag&drop.

11 years agohttp access_out: factorize.
Rémi Duraffort [Thu, 23 Jul 2009 11:16:41 +0000 (13:16 +0200)]
http access_out: factorize.

11 years agoFixed wrong documentation reference.
Vicente Jimenez Aguilar [Thu, 23 Jul 2009 10:38:01 +0000 (12:38 +0200)]
Fixed wrong documentation reference.

Signed-off-by: Rémi Duraffort <ivoire@videolan.org>
11 years agoQt : Add PLAYLIST_PREPARSE flag to drag&dropped items
Besnard Jean-Baptiste [Thu, 23 Jul 2009 08:59:17 +0000 (10:59 +0200)]
Qt : Add PLAYLIST_PREPARSE flag to drag&dropped items

Signed-off-by: Rémi Duraffort <ivoire@videolan.org>
11 years agoGlobal include not local.
Rémi Duraffort [Thu, 23 Jul 2009 06:56:44 +0000 (08:56 +0200)]
Global include not local.

11 years agocosmetics.
Rémi Duraffort [Thu, 23 Jul 2009 06:18:20 +0000 (08:18 +0200)]
cosmetics.

11 years agoWork-around yet another bug of hopelessly broken MacOS X
Rémi Denis-Courmont [Wed, 22 Jul 2009 19:02:16 +0000 (22:02 +0300)]
Work-around yet another bug of hopelessly broken MacOS X

Fixes #2984

11 years agoopengl: fix an crash/hang on exit because opengl needs the init and end to be done...
Rémi Duraffort [Wed, 22 Jul 2009 08:48:46 +0000 (10:48 +0200)]
opengl: fix an crash/hang on exit because opengl needs the init and end to be done in the same thread.

11 years agovout modules: remove uneeded includes.
Rémi Duraffort [Wed, 22 Jul 2009 08:12:41 +0000 (10:12 +0200)]
vout modules: remove uneeded includes.

11 years agoQt : Fix the way playlist columns are saved
Besnard Jean-Baptiste [Wed, 22 Jul 2009 13:49:03 +0000 (15:49 +0200)]
Qt : Fix the way playlist columns are saved

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agoThanks to Luca Barbato
Jean-Baptiste Kempf [Wed, 22 Jul 2009 15:34:08 +0000 (17:34 +0200)]
Thanks to Luca Barbato

11 years agoshine: cleanup
Jean-Paul Saman [Tue, 21 Jul 2009 09:23:25 +0000 (11:23 +0200)]
shine: cleanup

11 years agoshine: add missing assert.h
Jean-Paul Saman [Tue, 21 Jul 2009 09:23:04 +0000 (11:23 +0200)]
shine: add missing assert.h

11 years agolive555: fix seeking
Jean-Paul Saman [Tue, 21 Jul 2009 09:04:38 +0000 (11:04 +0200)]
live555: fix seeking

According to RFC 2326 a PAUSE command should be issued when requesting an immediate seek to a new PLAY position.

11 years agoQt : Keep preparsed items synced in playlist
Besnard Jean-Baptiste [Wed, 22 Jul 2009 07:21:43 +0000 (09:21 +0200)]
Qt : Keep preparsed items synced in playlist

Signed-off-by: Ilkka Ollakka <ileoo@videolan.org>
11 years agox264.c: add psy-rd string to modify psy-rd settings
Ilkka Ollakka [Wed, 22 Jul 2009 07:32:17 +0000 (10:32 +0300)]
x264.c: add psy-rd string to modify psy-rd settings

psy-rd should be default on when subme >= 6 (x264 library mentions
this), and I'm not sure how much this options is used in 'normal use'

11 years agoThank Michael for RAOP work.
Jean-Baptiste Kempf [Wed, 22 Jul 2009 08:04:54 +0000 (10:04 +0200)]
Thank Michael for RAOP work.

11 years agoDailymotion: fix double encoding in video description
Fabio Ritrovato [Tue, 21 Jul 2009 10:46:04 +0000 (12:46 +0200)]
Dailymotion: fix double encoding in video description

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agoRemove useless boolean
Rémi Denis-Courmont [Tue, 21 Jul 2009 16:11:22 +0000 (19:11 +0300)]
Remove useless boolean

11 years agox264 change that qcomp-parameter determinates rc-mode
Ilkka Ollakka [Tue, 21 Jul 2009 12:48:55 +0000 (15:48 +0300)]
x264 change that qcomp-parameter determinates rc-mode

default qp=-1, so it can be detected even if theres bitrate

change default crf=23 as x264 has

if user defines qcomp<=0.1 then define ABR-mode, otherwise CRF-mode.
And override it to QP-mode if user has defined qp-value.

11 years agox264.c: change defaults allmost same as current x264 has
Ilkka Ollakka [Tue, 21 Jul 2009 11:04:20 +0000 (14:04 +0300)]
x264.c: change defaults allmost same as current x264 has

11 years agox264.c: set vbv max bitrate to bitrate if doing cbr
Ilkka Ollakka [Tue, 21 Jul 2009 11:03:58 +0000 (14:03 +0300)]
x264.c: set vbv max bitrate to bitrate if doing cbr

11 years agoDailymotion: fix for other domains and description parsing
Fabio Ritrovato [Tue, 21 Jul 2009 10:19:53 +0000 (12:19 +0200)]
Dailymotion: fix for other domains and description parsing

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agoprojectm: manage the events.
Rémi Duraffort [Tue, 21 Jul 2009 09:29:17 +0000 (11:29 +0200)]
projectm: manage the events.

11 years agofix wrong codec ID assigned to kate streams
ogg.k.ogg.k [Mon, 20 Jul 2009 21:59:57 +0000 (22:59 +0100)]
fix wrong codec ID assigned to kate streams

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agoForwardport THANKS.
Rémi Duraffort [Tue, 21 Jul 2009 06:59:58 +0000 (08:59 +0200)]
Forwardport THANKS.

11 years agoQt: add some missing const.
Rémi Duraffort [Mon, 20 Jul 2009 13:23:49 +0000 (15:23 +0200)]
Qt: add some missing const.

11 years agomacosx: forward-port [d0fbd04ce361f9dbc16d44dae09c168db708b3a3]
Felix Paul Kühne [Mon, 20 Jul 2009 22:00:58 +0000 (00:00 +0200)]
macosx: forward-port [d0fbd04ce361f9dbc16d44dae09c168db708b3a3]

11 years agoHandle an error
Rémi Denis-Courmont [Mon, 20 Jul 2009 16:59:48 +0000 (19:59 +0300)]
Handle an error

11 years agoRemove redumdant boolean
Rémi Denis-Courmont [Mon, 20 Jul 2009 16:59:39 +0000 (19:59 +0300)]
Remove redumdant boolean

11 years agoDo not generate a SDP file if SDP is not yet defined (fixes: #2981)
Rémi Denis-Courmont [Mon, 20 Jul 2009 16:51:30 +0000 (19:51 +0300)]
Do not generate a SDP file if SDP is not yet defined (fixes: #2981)

11 years agoDecode file path in sout-rtp-sdp
Rémi Denis-Courmont [Mon, 20 Jul 2009 16:44:36 +0000 (19:44 +0300)]
Decode file path in sout-rtp-sdp

11 years agoMake the extra network file caching configurable
Rémi Denis-Courmont [Mon, 20 Jul 2009 16:37:17 +0000 (19:37 +0300)]
Make the extra network file caching configurable

I thought of using a completely separate setting. But that would break
backward compatibility. I think it is best to let --file-caching
increase caching for all files. I guess that is how TheDJ intended it.

11 years agoSort of handle ;type= in FTP URLs
Rémi Denis-Courmont [Mon, 20 Jul 2009 15:58:56 +0000 (18:58 +0300)]
Sort of handle ;type= in FTP URLs

11 years agoFTP path must be decoded - fixes #2982.
Rémi Denis-Courmont [Mon, 20 Jul 2009 15:50:11 +0000 (18:50 +0300)]
FTP path must be decoded - fixes #2982.

11 years agoQt: remove button duplicated in Classic style.
Jean-Baptiste Kempf [Mon, 20 Jul 2009 07:30:51 +0000 (09:30 +0200)]
Qt: remove button duplicated in Classic style.

11 years agoCopyright correction.
Jean-Baptiste Kempf [Mon, 20 Jul 2009 07:25:04 +0000 (09:25 +0200)]
Copyright correction.

11 years agoQt: customize dialogs, fix a misswrite with the last item of a toolbar.
Jean-Baptiste Kempf [Sun, 19 Jul 2009 22:55:53 +0000 (00:55 +0200)]
Qt: customize dialogs, fix a misswrite with the last item of a toolbar.

11 years agoFix spurious "please select network protocol manually" error
Rémi Denis-Courmont [Sun, 19 Jul 2009 19:00:16 +0000 (22:00 +0300)]
Fix spurious "please select network protocol manually" error

getaddrinfo() may list IPv4 before IPv6 depending on system
configuration.

11 years agoRTP: fix corner-case memory leak (fd_dead is a cancellation point)
Rémi Denis-Courmont [Sun, 19 Jul 2009 17:04:53 +0000 (20:04 +0300)]
RTP: fix corner-case memory leak (fd_dead is a cancellation point)

11 years agoRemove unused variable
Rémi Denis-Courmont [Sun, 19 Jul 2009 17:04:43 +0000 (20:04 +0300)]
Remove unused variable

11 years agoRTP: fix simultaneous sequence number wrap and re-order
Rémi Denis-Courmont [Sun, 19 Jul 2009 16:45:52 +0000 (19:45 +0300)]
RTP: fix simultaneous sequence number wrap and re-order

11 years agoAdded a ES_OUT_SET_META to es_out.
Laurent Aimar [Sun, 19 Jul 2009 16:06:55 +0000 (18:06 +0200)]
Added a ES_OUT_SET_META to es_out.

 It will allows to control the moment at which the meta are updated
to fix the delay introduced by timeshift and buffering.
 It will also simplify the way meta data are read by demuxers.

11 years agoDocumented and 'constified' meta and epg in es_out.
Laurent Aimar [Sun, 19 Jul 2009 15:54:04 +0000 (17:54 +0200)]
Documented and 'constified' meta and epg in es_out.

No functionnal changes.

11 years agoPrivatized es_out_mode_e.
Laurent Aimar [Sun, 19 Jul 2009 15:21:04 +0000 (17:21 +0200)]
Privatized es_out_mode_e.

11 years agoDocumented demux state changes.
Laurent Aimar [Sun, 19 Jul 2009 10:47:29 +0000 (12:47 +0200)]
Documented demux state changes.

11 years agoRTP: avoid pf_demux. Fix input thread latency
Rémi Denis-Courmont [Sun, 19 Jul 2009 13:06:14 +0000 (16:06 +0300)]
RTP: avoid pf_demux. Fix input thread latency

11 years agoscreen_xcb: use timer, simplify earlier commit
Rémi Denis-Courmont [Sun, 19 Jul 2009 12:06:58 +0000 (15:06 +0300)]
screen_xcb: use timer, simplify earlier commit

11 years agoFix Typo
Jean-Baptiste Kempf [Sat, 18 Jul 2009 18:29:49 +0000 (20:29 +0200)]
Fix Typo

11 years agoscreen_xcb: run in a thread - remove input control latency
Rémi Denis-Courmont [Sun, 19 Jul 2009 09:46:22 +0000 (12:46 +0300)]
screen_xcb: run in a thread - remove input control latency

11 years agoReally improved a52 in wav detection robustness (see #2648).
Laurent Aimar [Sat, 18 Jul 2009 20:33:56 +0000 (22:33 +0200)]
Really improved a52 in wav detection robustness (see #2648).

11 years agoAdded support for mpga in wav (close #2957).
Laurent Aimar [Sat, 18 Jul 2009 20:08:23 +0000 (22:08 +0200)]
Added support for mpga in wav (close #2957).

11 years agoCosmetics (wav).
Laurent Aimar [Sat, 18 Jul 2009 19:52:07 +0000 (21:52 +0200)]
Cosmetics (wav).

11 years agoA bit more strict es demux probing in wav.
Laurent Aimar [Sat, 18 Jul 2009 19:49:59 +0000 (21:49 +0200)]
A bit more strict es demux probing in wav.

11 years agoCosmetics.
Laurent Aimar [Fri, 17 Jul 2009 18:22:40 +0000 (20:22 +0200)]
Cosmetics.

11 years agoConvert v4l2 access to block based access
Antoine Cellerier [Sat, 18 Jul 2009 21:55:34 +0000 (23:55 +0200)]
Convert v4l2 access to block based access

Fixes some incomplete reads with gspca driver, and makes it possible to use all 3 data acquisition methods (previous code was limited to read()).

11 years agoFix two uninitialized variables in the v4l2 access module
Alina Friedrichsen [Sat, 18 Jul 2009 13:04:18 +0000 (15:04 +0200)]
Fix two uninitialized variables in the v4l2 access module

Without this patch, the initial value on my system is for example 3, so that two much items are counted. In the second step the function breaks with a error code, when the information downloading of the non-existing item fails.

Signed-off-by: Alina Friedrichsen <x-alina@gmx.net>
Signed-off-by: Antoine Cellerier <dionoea@videolan.org>
11 years agoSupport v4l2 drivers with JPEG type
Antoine Cellerier [Sat, 18 Jul 2009 21:13:05 +0000 (23:13 +0200)]
Support v4l2 drivers with JPEG type

(and print some extra debug)

11 years agoVLC is able to open .aiff files.
Jean-Baptiste Kempf [Sat, 18 Jul 2009 17:50:30 +0000 (19:50 +0200)]
VLC is able to open .aiff files.

11 years agoSupport for ADPCM variant in Flash streams
Jean-Baptiste Kempf [Sat, 18 Jul 2009 17:48:46 +0000 (19:48 +0200)]
Support for ADPCM variant in Flash streams

Sample: http://streams.videolan.org/streams-videolan/flv/Porgi_Amor_Mirusia_123nl_Orbit.flv
This could be backported, if someone needs it.

11 years agoCosmetics.
Antoine Cellerier [Sun, 3 May 2009 15:08:54 +0000 (17:08 +0200)]
Cosmetics.

11 years agoAdd .rar and .zip extensions to open dialog.
Jean-Baptiste Kempf [Sat, 18 Jul 2009 14:02:32 +0000 (16:02 +0200)]
Add .rar and .zip extensions to open dialog.

11 years agoQt: Simple preference: update layout for updatesDays
Jean-Baptiste Kempf [Sat, 18 Jul 2009 14:01:14 +0000 (16:01 +0200)]
Qt: Simple preference: update layout for updatesDays

11 years agoQt: Various updates on the simple preferences.
Jean-Baptiste Kempf [Sat, 18 Jul 2009 10:04:03 +0000 (12:04 +0200)]
Qt: Various updates on the simple preferences.

11 years agoskins2: correct skins failing to display a video passed at the command line.
Erwan Tulou [Fri, 17 Jul 2009 09:29:02 +0000 (11:29 +0200)]
skins2: correct skins failing to display a video passed at the command line.

skins2 now does some intializations (GUI) in the Run function, and therefore needs the Open function to wait till the Run thread is ready. This patch fully copies the qt4 initialization process.

11 years agoMatch localhost plus / not localhost plus directory separator
Rémi Denis-Courmont [Sat, 18 Jul 2009 08:58:46 +0000 (11:58 +0300)]
Match localhost plus / not localhost plus directory separator

11 years agocontribs: fixed issues when compiling glib for Darwin in 64bit mode
Felix Paul Kühne [Sat, 18 Jul 2009 00:22:26 +0000 (02:22 +0200)]
contribs: fixed issues when compiling glib for Darwin in 64bit mode

11 years agoConfigure: check for scsi/scsi.h
Jean-Baptiste Kempf [Fri, 17 Jul 2009 22:54:51 +0000 (00:54 +0200)]
Configure: check for scsi/scsi.h

11 years agoDirectDraw: remove unneeded includes
Jean-Baptiste Kempf [Fri, 17 Jul 2009 22:53:29 +0000 (00:53 +0200)]
DirectDraw: remove unneeded includes

11 years agoContinue renaming vout_directx to directx
Jean-Baptiste Kempf [Fri, 17 Jul 2009 22:15:40 +0000 (00:15 +0200)]
Continue renaming vout_directx to directx

Directx doesn't mean anything... It should be directdraw

11 years agoConfiguration categories are VFILTER
Jean-Baptiste Kempf [Fri, 17 Jul 2009 22:04:26 +0000 (00:04 +0200)]
Configuration categories are VFILTER

11 years agomsw vout: More debug
Jean-Baptiste Kempf [Fri, 17 Jul 2009 22:03:15 +0000 (00:03 +0200)]
msw vout: More debug

11 years agoRename vout_directx to directx for consistency.
Jean-Baptiste Kempf [Fri, 17 Jul 2009 22:00:54 +0000 (00:00 +0200)]
Rename vout_directx to directx for consistency.

11 years agoFix typo.
Jean-Baptiste Kempf [Fri, 17 Jul 2009 15:06:08 +0000 (17:06 +0200)]
Fix typo.

11 years agocontribs: updated binary package
Felix Paul Kühne [Fri, 17 Jul 2009 21:18:42 +0000 (23:18 +0200)]
contribs: updated binary package

This fixes VLC-Plugin issues within Safari and obviously includes the recent 3rd party library updates.

11 years agocontribs: compilation fixes for Darwin to libtheora and libass
Felix Paul Kühne [Fri, 17 Jul 2009 20:34:06 +0000 (22:34 +0200)]
contribs: compilation fixes for Darwin to libtheora and libass

11 years agoDo not uselessly disable direct rendering in avcodec.
Laurent Aimar [Fri, 17 Jul 2009 17:06:29 +0000 (19:06 +0200)]
Do not uselessly disable direct rendering in avcodec.

It allows to use direct rendering if the chroma/size changes.
It also avoid *always* disabling it after a seek...
(It cost about 6% of CPU for video HD on my dual core in memcpy).

11 years agoImproved late values after pts_delay changes in clock.c.
Laurent Aimar [Fri, 17 Jul 2009 16:47:01 +0000 (18:47 +0200)]
Improved late values after pts_delay changes in clock.c.

11 years agoAllowed to have access_demux without pf_demux as slave.
Laurent Aimar [Fri, 17 Jul 2009 16:45:13 +0000 (18:45 +0200)]
Allowed to have access_demux without pf_demux as slave.

It would be the proper thing to do to convert real time access_demux
to work without pf_demux callback (it includes oss,alsa,rtp,screen
at least).

11 years agoCosmetics.
Laurent Aimar [Fri, 17 Jul 2009 16:44:53 +0000 (18:44 +0200)]
Cosmetics.

11 years agomacosx: exporting with mp4a is no longer supported, so don't offer this choice to...
Felix Paul Kühne [Fri, 17 Jul 2009 15:31:51 +0000 (17:31 +0200)]
macosx: exporting with mp4a is no longer supported, so don't offer this choice to the user

11 years agomacosx: let's have a large messages cache. It's not like we are in the 90s
Felix Paul Kühne [Fri, 17 Jul 2009 15:24:49 +0000 (17:24 +0200)]
macosx: let's have a large messages cache. It's not like we are in the 90s

11 years agoxspf: correct crash if psz_name is NULL
Erwan Tulou [Fri, 17 Jul 2009 09:28:16 +0000 (11:28 +0200)]
xspf: correct crash if psz_name is NULL

11 years agomacosx: sync option strings with 1.0-bugfix
Felix Paul Kühne [Fri, 17 Jul 2009 14:55:49 +0000 (16:55 +0200)]
macosx: sync option strings with 1.0-bugfix

11 years agoforward-port [3a18c1a73b70d318de3a9df6ce125e350184e75f]
Felix Paul Kühne [Fri, 17 Jul 2009 14:55:13 +0000 (16:55 +0200)]
forward-port [3a18c1a73b70d318de3a9df6ce125e350184e75f]

11 years agoqt4: correct typo (xspf and not xpsf)
Erwan Tulou [Fri, 17 Jul 2009 12:50:01 +0000 (14:50 +0200)]
qt4: correct typo (xspf and not xpsf)

11 years agoFix video delay when using alsa or oss as slaves
Antoine Cellerier [Fri, 17 Jul 2009 12:57:00 +0000 (14:57 +0200)]
Fix video delay when using alsa or oss as slaves

Decrease poll delay from 0.5 to 0.01 seconds in alsa in oss, else the
audio input would block the video input when used as an input slave.
Other accesses likely to be used as input slaves might need to be
changed. An easier solution (module-wise, harder core wise) would be to
run each slave in its own thread.

11 years agoAllowed non pace controled access_demux to not implement the pf_demux callback.
Laurent Aimar [Thu, 16 Jul 2009 19:08:05 +0000 (21:08 +0200)]
Allowed non pace controled access_demux to not implement the pf_demux callback.

 It allows to decrease the number of input thread wakeup and to
improve its reactiveness at user commands in case of data starvation.

11 years agoLet the input bufferize more data when possible.
Laurent Aimar [Thu, 16 Jul 2009 12:50:16 +0000 (14:50 +0200)]
Let the input bufferize more data when possible.

 The input will try to read 20% faster the source until a certain amount
of data is buffered by the fifo of the decoders (for now 10Mbytes or
500kbytes when OPTIMIZE_MEMORY is defined for the sum of all fifos).
 This buffering adds up to pts_delay without any additional delay but can
only work when VLC controls the source pace.

 It has a drawback with the current way the meta data works: they are seen
too soon.

11 years agoAdded input_DecoderGetFifoSize helper.
Laurent Aimar [Thu, 16 Jul 2009 12:49:02 +0000 (14:49 +0200)]
Added input_DecoderGetFifoSize helper.

11 years agoDo not reconnect (http) when we are asked to die.
Laurent Aimar [Thu, 16 Jul 2009 12:13:02 +0000 (14:13 +0200)]
Do not reconnect (http) when we are asked to die.

11 years agocosmetic: remove nullity test on free() and delete
Anthony Loiseau [Thu, 16 Jul 2009 13:00:00 +0000 (15:00 +0200)]
cosmetic: remove nullity test on free() and delete

Signed-off-by: Rémi Duraffort <ivoire@videolan.org>
11 years agoQt: fix opening of VIDEO_TS folders from main menu
Jean-Baptiste Kempf [Thu, 16 Jul 2009 16:10:49 +0000 (18:10 +0200)]
Qt: fix opening of VIDEO_TS folders from main menu

11 years agomacosx: implemented on-the-fly activation of the Media Key support
Felix Paul Kühne [Thu, 16 Jul 2009 14:49:46 +0000 (16:49 +0200)]
macosx: implemented on-the-fly activation of the Media Key support

11 years agomacosx: redesigned the messages window a bit to waste less screen space. No functiona...
Felix Paul Kühne [Thu, 16 Jul 2009 14:31:40 +0000 (16:31 +0200)]
macosx: redesigned the messages window a bit to waste less screen space. No functional changes.

11 years agocontribs: revert Gecko update. Fixes plugin executing within Safari on OS X
Felix Paul Kühne [Thu, 16 Jul 2009 14:20:20 +0000 (16:20 +0200)]
contribs: revert Gecko update. Fixes plugin executing within Safari on OS X

11 years agoMissing file.
Rémi Duraffort [Thu, 16 Jul 2009 09:42:57 +0000 (11:42 +0200)]
Missing file.

11 years agoThat's safe to delete NULL.
Rémi Duraffort [Thu, 16 Jul 2009 08:13:00 +0000 (10:13 +0200)]
That's safe to delete NULL.