vlc.git
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.

11 years agoqt4: use references to const QString.
Rémi Duraffort [Thu, 16 Jul 2009 08:06:31 +0000 (10:06 +0200)]
qt4: use references to const QString.

11 years agovmem: better ordering.
Rémi Duraffort [Thu, 16 Jul 2009 07:52:18 +0000 (09:52 +0200)]
vmem: better ordering.

11 years agovideo_filters: remove unused p_sys structure.
Rémi Duraffort [Thu, 16 Jul 2009 07:32:33 +0000 (09:32 +0200)]
video_filters: remove unused p_sys structure.

11 years agoFix dead assignement and cleaning.
Rémi Duraffort [Thu, 16 Jul 2009 07:11:02 +0000 (09:11 +0200)]
Fix dead assignement and cleaning.

11 years agovideo_filter_scene: cleaning
Rémi Duraffort [Thu, 16 Jul 2009 06:57:08 +0000 (08:57 +0200)]
video_filter_scene: cleaning
 * p_sys and p_sys->p_scene can't be NULL after the end of Create
 * use calloc instead of malloc+memset
 * remove dead initializations
 * use strdup to copy a string (not asprintf)

11 years agogrowl: fix memleak.
Rémi Duraffort [Thu, 16 Jul 2009 06:50:59 +0000 (08:50 +0200)]
growl: fix memleak.

11 years agofree(NULL) is safe.
Rémi Duraffort [Thu, 16 Jul 2009 06:37:42 +0000 (08:37 +0200)]
free(NULL) is safe.

11 years agoRemove uneeded asprintf.
Rémi Duraffort [Thu, 16 Jul 2009 06:10:07 +0000 (08:10 +0200)]
Remove uneeded asprintf.

11 years agoitml: the core knows how to handle file://localhost/
Rémi Duraffort [Thu, 16 Jul 2009 05:47:56 +0000 (07:47 +0200)]
itml: the core knows how to handle file://localhost/

11 years agortmp: fixed description formatting and made default values more logical.
Chris White [Wed, 15 Jul 2009 19:12:06 +0000 (21:12 +0200)]
rtmp: fixed description formatting and made default values more logical.

Signed-off-by: Rémi Duraffort <ivoire@videolan.org>
11 years agoitml: fix memleak.
Rémi Duraffort [Wed, 15 Jul 2009 19:32:32 +0000 (21:32 +0200)]
itml: fix memleak.

11 years agoRemove nestead assignement.
Rémi Duraffort [Wed, 15 Jul 2009 16:35:34 +0000 (18:35 +0200)]
Remove nestead assignement.

11 years agoitml: indentation.
Rémi Duraffort [Wed, 15 Jul 2009 16:23:03 +0000 (18:23 +0200)]
itml: indentation.

11 years agoFix dead assignement.
Rémi Duraffort [Wed, 15 Jul 2009 14:40:06 +0000 (16:40 +0200)]
Fix dead assignement.

11 years agoIncreased fifo decoder size to 400mb.
Laurent Aimar [Wed, 15 Jul 2009 19:23:56 +0000 (21:23 +0200)]
Increased fifo decoder size to 400mb.

 I don't think there is any good fixed value, I have tuned it for
50mbit/s video with a cache of 60s.

11 years agoconvert_xml_special_chars: factor
Rémi Denis-Courmont [Wed, 15 Jul 2009 18:36:41 +0000 (21:36 +0300)]
convert_xml_special_chars: factor

11 years agoTest cases for convert_xml_special_chars
Rémi Denis-Courmont [Wed, 15 Jul 2009 18:36:23 +0000 (21:36 +0300)]
Test cases for convert_xml_special_chars

11 years agoFixed clock handling on rate change with high caching delay.
Laurent Aimar [Wed, 15 Jul 2009 17:05:27 +0000 (19:05 +0200)]
Fixed clock handling on rate change with high caching delay.

Becareful about possible regressions.

11 years agoDo not delay rate change after end of pause.
Laurent Aimar [Wed, 15 Jul 2009 17:04:59 +0000 (19:04 +0200)]
Do not delay rate change after end of pause.

11 years agoAlways update the wakeup date in input.
Laurent Aimar [Wed, 15 Jul 2009 16:04:51 +0000 (18:04 +0200)]
Always update the wakeup date in input.

11 years agoFixed potential race condition in clock.
Laurent Aimar [Tue, 14 Jul 2009 00:03:30 +0000 (02:03 +0200)]
Fixed potential race condition in clock.

11 years agoitml: fix dead initilisations and set the pointers to NULL only when needed.
Rémi Duraffort [Wed, 15 Jul 2009 14:11:47 +0000 (16:11 +0200)]
itml: fix dead initilisations and set the pointers to NULL only when needed.

11 years agoitml: cleaning and factorize.
Rémi Duraffort [Wed, 15 Jul 2009 14:01:33 +0000 (16:01 +0200)]
itml: cleaning and factorize.

11 years agoitml: cosmetics.
Rémi Duraffort [Wed, 15 Jul 2009 13:46:00 +0000 (15:46 +0200)]
itml: cosmetics.

11 years agoitml: factorize and add missing #undef.
Rémi Duraffort [Wed, 15 Jul 2009 12:27:45 +0000 (14:27 +0200)]
itml: factorize and add missing #undef.

11 years agoitml: no need to set to NULL after the free here.
Rémi Duraffort [Wed, 15 Jul 2009 12:23:54 +0000 (14:23 +0200)]
itml: no need to set to NULL after the free here.

11 years agoitml: factorize.
Rémi Duraffort [Wed, 15 Jul 2009 12:13:37 +0000 (14:13 +0200)]
itml: factorize.

11 years agoMacro safety.
Rémi Duraffort [Wed, 15 Jul 2009 11:21:36 +0000 (13:21 +0200)]
Macro safety.

11 years agoRemove dead assignement.
Rémi Duraffort [Wed, 15 Jul 2009 11:12:42 +0000 (13:12 +0200)]
Remove dead assignement.

11 years agorc: no need to strdup the value returned by var_GetString.
Rémi Duraffort [Wed, 15 Jul 2009 09:47:00 +0000 (11:47 +0200)]
rc: no need to strdup the value returned by var_GetString.

11 years agoAvoid infringing C std namespace the simplistic way.
JP Dinger [Tue, 14 Jul 2009 12:13:14 +0000 (14:13 +0200)]
Avoid infringing C std namespace the simplistic way.

11 years agoRevert bitflip spotted by xtophe.
JP Dinger [Tue, 14 Jul 2009 11:00:43 +0000 (13:00 +0200)]
Revert bitflip spotted by xtophe.

11 years agoRemove unneeded casts and intermediaries in va_arg()-using boilerplate.
JP Dinger [Tue, 14 Jul 2009 10:43:10 +0000 (12:43 +0200)]
Remove unneeded casts and intermediaries in va_arg()-using boilerplate.

11 years agoShore up code and remove early returns.
JP Dinger [Tue, 14 Jul 2009 10:40:20 +0000 (12:40 +0200)]
Shore up code and remove early returns.

11 years agoRemove unused variables, refactor a bit.
JP Dinger [Tue, 14 Jul 2009 10:39:30 +0000 (12:39 +0200)]
Remove unused variables, refactor a bit.

11 years agoRefactor a bit in dvdnav.c
JP Dinger [Mon, 13 Jul 2009 15:24:16 +0000 (17:24 +0200)]
Refactor a bit in dvdnav.c

11 years agoFix an actual error path for realloc() that doesn't leak in rtsp/real.c
JP Dinger [Mon, 13 Jul 2009 15:20:39 +0000 (17:20 +0200)]
Fix an actual error path for realloc() that doesn't leak in rtsp/real.c

11 years agoThere is a typo in the error message displayed when VLC is unable to
Etienne Membrives [Tue, 14 Jul 2009 10:47:08 +0000 (12:47 +0200)]
There is a typo in the error message displayed when VLC is unable to
find a correct blending module given input and output chromas. Instead
of displaying the input chroma and the output chroma in the error
message, it displays two times the output chroma.

This patch corrects the typo.

Signed-off-by: JP Dinger <jpd@videolan.org>
11 years agoFixed typo.
Laurent Aimar [Mon, 13 Jul 2009 23:39:50 +0000 (01:39 +0200)]
Fixed typo.

11 years agoFixed typo.
Laurent Aimar [Mon, 13 Jul 2009 23:39:39 +0000 (01:39 +0200)]
Fixed typo.

11 years agoState what is the current stop condition in iso639_lang_t.
Laurent Aimar [Mon, 13 Jul 2009 23:33:55 +0000 (01:33 +0200)]
State what is the current stop condition in iso639_lang_t.

11 years agoFixed a segfault after iso639_lang_t p_languages API breakage.
Laurent Aimar [Mon, 13 Jul 2009 23:31:21 +0000 (01:31 +0200)]
Fixed a segfault after iso639_lang_t p_languages API breakage.

11 years agoFixed a segfault after iso639_lang_t p_languages API breakage.
Laurent Aimar [Mon, 13 Jul 2009 23:30:38 +0000 (01:30 +0200)]
Fixed a segfault after iso639_lang_t p_languages API breakage.

11 years agoAutomatically compute the latency(pts_delay) needed after a buffer underflow.
Laurent Aimar [Mon, 13 Jul 2009 19:04:44 +0000 (21:04 +0200)]
Automatically compute the latency(pts_delay) needed after a buffer underflow.

The latency is increased by monitoring the last buffer underflows and by
filtering the values obtained (median 3).
It is simple and pretty robust (tested with http and sshfs over wireless).

11 years agoAuto detect when we need to buffer again.
Laurent Aimar [Mon, 13 Jul 2009 00:15:02 +0000 (02:15 +0200)]
Auto detect when we need to buffer again.

As it is part of a critical section for playback, becareful about any
regressions.

11 years agoDo not forget to use the drift when converting stream to system clock.
Laurent Aimar [Sun, 12 Jul 2009 22:06:45 +0000 (00:06 +0200)]
Do not forget to use the drift when converting stream to system clock.

It has no consequence (because of the way we actually use the clock) but
it is more consistent.

11 years agoUse var_TriggerCallback
Rémi Denis-Courmont [Mon, 13 Jul 2009 18:13:03 +0000 (21:13 +0300)]
Use var_TriggerCallback

11 years agoOpenGL: initialize all variables before creating the provider
Rémi Denis-Courmont [Mon, 13 Jul 2009 18:11:17 +0000 (21:11 +0300)]
OpenGL: initialize all variables before creating the provider

11 years agoOpenGL: forward video-on-top variable
Rémi Denis-Courmont [Mon, 13 Jul 2009 18:11:01 +0000 (21:11 +0300)]
OpenGL: forward video-on-top variable

11 years agoMake sure vlc_release doesn't destroy a non existent spinlock.
Alexis Ballier [Mon, 13 Jul 2009 10:35:48 +0000 (12:35 +0200)]
Make sure vlc_release doesn't destroy a non existent spinlock.

This was actually fixed by [697457bcb66171897605b1c88150f3bb7eb075c6] but then [952a943ae25ba8f22e4e70eb0f55b4c0cee069b8] came which made it useless.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
11 years agoContrib: store fontconfig cache in %appdata%/vlc
Jean-Baptiste Kempf [Mon, 13 Jul 2009 13:06:55 +0000 (15:06 +0200)]
Contrib: store fontconfig cache in %appdata%/vlc

And not %appdata% on win32

11 years agoQt: FSC opacity control between 0.1 and 1.0
Jean-Baptiste Kempf [Mon, 13 Jul 2009 09:11:04 +0000 (11:11 +0200)]
Qt: FSC opacity control between 0.1 and 1.0

11 years agoFix display of audio channel in various mono modes
Jean-Baptiste Kempf [Sun, 12 Jul 2009 21:54:39 +0000 (23:54 +0200)]
Fix display of audio channel in various mono modes

This happened in many WMA2 mono samples where the codec information pannel said "ERROR"

11 years agoAvoid NULL for %s
Rémi Denis-Courmont [Sun, 12 Jul 2009 20:31:35 +0000 (23:31 +0300)]
Avoid NULL for %s
(cherry picked from commit 2e02b35f4ee4aa36bd659fc898c31abc1cf31891)

11 years agolibvlc_media_player_get_media: missing lock
Rémi Denis-Courmont [Sun, 12 Jul 2009 20:18:23 +0000 (23:18 +0300)]
libvlc_media_player_get_media: missing lock