]> git.sesse.net Git - vlc/log
vlc
10 years agowin32: move single instance back-end to separate interface
Rémi Denis-Courmont [Sun, 5 Jan 2014 17:43:42 +0000 (19:43 +0200)]
win32: move single instance back-end to separate interface

10 years agosrc: darwin/thread: do not create own condattr
David Fuhrmann [Mon, 6 Jan 2014 16:21:33 +0000 (17:21 +0100)]
src: darwin/thread: do not create own condattr

10 years agosrc: darwin/thread: reimplement monotonic clock for darwin
David Fuhrmann [Tue, 31 Dec 2013 10:41:55 +0000 (11:41 +0100)]
src: darwin/thread: reimplement monotonic clock for darwin

This is based on code which was silently removed in
0f9a94f2183fc6c6e9ce8b77eb497aab160cbbbd and
45c2bc0811cc2d9fe8e11448a05742d7ff6da1d8.

The patch solves timing issues if the user changes the system time, for
instance while playback.

Another timing issue was pointed out if vlc_cond_init_with_daytime is used.
This remains unfixed, and is documented in a Fixme.

close #10072

10 years agoauhal: fail in render callbacks if bytesToCopy is <= 0
David Fuhrmann [Tue, 31 Dec 2013 10:17:08 +0000 (11:17 +0100)]
auhal: fail in render callbacks if bytesToCopy is <= 0

This should not happen in the current implementation.

10 years agohttplive: Adjust conditions for playlist reloading
Heorhi Valakhanovich [Sun, 15 Dec 2013 22:28:34 +0000 (01:28 +0300)]
httplive: Adjust conditions for playlist reloading

Commit 7655d6c889d2425c1fd4615f7e2692df1a47470c changes HLS http
playlist reloading policy. But leaving only one fragment in buffer is
not enough. This patch ensures that less than three fragments in buffer
leads to playlist reloading. The overal result is more reliable http
streams.

Signed-off-by: Ilkka Ollakka <ileoo@videolan.org>
10 years agodemux: wav: stay within riff chunk boundaries (fix #10323)
Francois Cartegnie [Mon, 6 Jan 2014 22:43:59 +0000 (23:43 +0100)]
demux: wav: stay within riff chunk boundaries (fix #10323)

10 years agocodec: vorbis: birates are signed. (fix #10324)
Francois Cartegnie [Mon, 6 Jan 2014 20:08:51 +0000 (21:08 +0100)]
codec: vorbis: birates are signed. (fix #10324)

Negative being meaningless.

10 years agodemux: ogg: vorbis birates are signed.
Francois Cartegnie [Mon, 6 Jan 2014 20:07:36 +0000 (21:07 +0100)]
demux: ogg: vorbis birates are signed.

Negative being meaningless.

10 years agomux: ogg: add support for VP8 in OGG
Francois Cartegnie [Sun, 5 Jan 2014 00:50:50 +0000 (01:50 +0100)]
mux: ogg: add support for VP8 in OGG

10 years agodemux: ogg: add ogg/VP8 support
Francois Cartegnie [Fri, 3 Jan 2014 22:59:06 +0000 (23:59 +0100)]
demux: ogg: add ogg/VP8 support

10 years agodemux: ogg: split comments parsing from xiph unpack
Francois Cartegnie [Fri, 3 Jan 2014 22:57:04 +0000 (23:57 +0100)]
demux: ogg: split comments parsing from xiph unpack

10 years agosecuretransport: add missing error checking
David Fuhrmann [Sun, 5 Jan 2014 18:21:11 +0000 (19:21 +0100)]
securetransport: add missing error checking

10 years agomacosx: save frame position for fspanel (close #9958)
David Fuhrmann [Sun, 5 Jan 2014 18:19:05 +0000 (19:19 +0100)]
macosx: save frame position for fspanel (close #9958)

10 years agoQt4: specify function prototype, remove cast
Rémi Denis-Courmont [Sun, 5 Jan 2014 16:34:42 +0000 (18:34 +0200)]
Qt4: specify function prototype, remove cast

10 years agoncurses: pass interface thread pointer to pl_Get() directly
Rémi Denis-Courmont [Sun, 5 Jan 2014 16:33:59 +0000 (18:33 +0200)]
ncurses: pass interface thread pointer to pl_Get() directly

10 years agoaudioscrobbler: simplify pl_Get() usage
Rémi Denis-Courmont [Sun, 5 Jan 2014 16:33:32 +0000 (18:33 +0200)]
audioscrobbler: simplify pl_Get() usage

10 years agov4l2: fix frequency conversion from Hz (fixes #10309)
Rémi Denis-Courmont [Sun, 5 Jan 2014 13:51:09 +0000 (15:51 +0200)]
v4l2: fix frequency conversion from Hz (fixes #10309)

10 years agoLua: set playlist object explicitly in state
Rémi Denis-Courmont [Sun, 5 Jan 2014 11:39:30 +0000 (13:39 +0200)]
Lua: set playlist object explicitly in state

10 years agoLua: check vlclua_get_playlist_internal() for NULL
Rémi Denis-Courmont [Sun, 5 Jan 2014 11:30:54 +0000 (13:30 +0200)]
Lua: check vlclua_get_playlist_internal() for NULL

10 years agoLua: do not call luaopen_volume() twice for interfaces
Rémi Denis-Courmont [Sun, 5 Jan 2014 11:21:39 +0000 (13:21 +0200)]
Lua: do not call luaopen_volume() twice for interfaces

10 years agoCosmetic
Rémi Denis-Courmont [Sun, 5 Jan 2014 11:27:23 +0000 (13:27 +0200)]
Cosmetic

10 years agoLua: remove cargo cult check for the private data of the input thread
Rémi Denis-Courmont [Sun, 5 Jan 2014 11:34:12 +0000 (13:34 +0200)]
Lua: remove cargo cult check for the private data of the input thread

10 years agohotkeys: fix wall-paper toggling
Rémi Denis-Courmont [Sun, 5 Jan 2014 10:14:51 +0000 (12:14 +0200)]
hotkeys: fix wall-paper toggling

10 years agoqt4: update wall-paper mode toggling
Rémi Denis-Courmont [Sun, 5 Jan 2014 10:16:30 +0000 (12:16 +0200)]
qt4: update wall-paper mode toggling

10 years agoDirectDraw: remove wall-paper playlist hack
Rémi Denis-Courmont [Sun, 5 Jan 2014 10:17:54 +0000 (12:17 +0200)]
DirectDraw: remove wall-paper playlist hack

10 years agoDirect3D: remove wall-paper playlist hack
Rémi Denis-Courmont [Sun, 5 Jan 2014 10:17:16 +0000 (12:17 +0200)]
Direct3D: remove wall-paper playlist hack

This is now managed by the playlist and video output core.

10 years agoXCB: remove wall-paper mode legacy hacks
Rémi Denis-Courmont [Sat, 4 Jan 2014 22:07:41 +0000 (00:07 +0200)]
XCB: remove wall-paper mode legacy hacks

10 years agovout: add proper core-managed object variable for wall paper mode
Rémi Denis-Courmont [Sat, 4 Jan 2014 21:55:23 +0000 (23:55 +0200)]
vout: add proper core-managed object variable for wall paper mode

10 years agovout: pass enum for window state instead of boolean (refs #10302)
Rémi Denis-Courmont [Sat, 4 Jan 2014 21:51:24 +0000 (23:51 +0200)]
vout: pass enum for window state instead of boolean (refs #10302)

10 years agoQt4: fix fullscreen and video-on-top toggle across input or video reset
Rémi Denis-Courmont [Sat, 4 Jan 2014 21:08:12 +0000 (23:08 +0200)]
Qt4: fix fullscreen and video-on-top toggle across input or video reset

10 years agoQt4: refactor
Rémi Denis-Courmont [Sat, 4 Jan 2014 20:57:08 +0000 (22:57 +0200)]
Qt4: refactor

10 years agoQt4: improve macro expansion safety
Rémi Denis-Courmont [Sat, 4 Jan 2014 20:50:39 +0000 (22:50 +0200)]
Qt4: improve macro expansion safety

10 years agotranscode: handle acodec aliases properly
Ilkka Ollakka [Sat, 4 Jan 2014 13:09:47 +0000 (15:09 +0200)]
transcode: handle acodec aliases properly

Get correct fourcc for i_acodec instead creating fourcc directly from
user input.

Fixes #9755

10 years agodate_Decrement: change assert so it doesn't to funky stuff
Ilkka Ollakka [Wed, 11 Dec 2013 07:02:49 +0000 (09:02 +0200)]
date_Decrement: change assert so it doesn't to funky stuff

If we do date_Set and right after that date_Decrement that assert
seemed to behave differently in 64bit and 32bit architectures.

Ref #9022, #10101

10 years agoconfigure: fix check for libnsl
Rémi Denis-Courmont [Fri, 3 Jan 2014 21:48:08 +0000 (23:48 +0200)]
configure: fix check for libnsl

Pointed-out-by: Jon Tibble <meths@btinternet.com>
10 years agoContribs: dvdread, use the correct libdvdcss option
Jean-Baptiste Kempf [Fri, 3 Jan 2014 11:49:22 +0000 (12:49 +0100)]
Contribs: dvdread, use the correct libdvdcss option

10 years agovlc_atomic: fix compilation warnings with MSVC.
Felix Abecassis [Fri, 3 Jan 2014 11:46:05 +0000 (12:46 +0100)]
vlc_atomic: fix compilation warnings with MSVC.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agovlc_atomic: set the atomic types to be at least 32 bits wide with MSVC.
Felix Abecassis [Fri, 3 Jan 2014 11:46:04 +0000 (12:46 +0100)]
vlc_atomic: set the atomic types to be at least 32 bits wide with MSVC.

This change is required since some atomic operations of the
Interlocked API are only available for desktop apps.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agovlc_atomic: add missing include for MSVC.
Felix Abecassis [Fri, 3 Jan 2014 11:46:03 +0000 (12:46 +0100)]
vlc_atomic: add missing include for MSVC.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agoopengl: comment texture recycling and document a possible bug.
Felix Abecassis [Fri, 3 Jan 2014 11:15:44 +0000 (12:15 +0100)]
opengl: comment texture recycling and document a possible bug.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agoopengl: allocate the texture size using the visible dimensions of the format.
Felix Abecassis [Fri, 3 Jan 2014 11:15:43 +0000 (12:15 +0100)]
opengl: allocate the texture size using the visible dimensions of the format.

Removes a green line bug at the bottom of some videos.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agomotion: use pl_CurrentItem()
Rémi Denis-Courmont [Thu, 2 Jan 2014 22:06:26 +0000 (00:06 +0200)]
motion: use pl_CurrentItem()

10 years agoaudioscrobbler: use pl_CurrentInput()
Rémi Denis-Courmont [Thu, 2 Jan 2014 22:06:11 +0000 (00:06 +0200)]
audioscrobbler: use pl_CurrentInput()

10 years agopodcast: fail safe if running in LibVLC (i.e. without playlist)
Rémi Denis-Courmont [Thu, 2 Jan 2014 22:01:15 +0000 (00:01 +0200)]
podcast: fail safe if running in LibVLC (i.e. without playlist)

10 years agoatmo: remove invalid input state callback code
Rémi Denis-Courmont [Thu, 2 Jan 2014 22:11:31 +0000 (00:11 +0200)]
atmo: remove invalid input state callback code

There is much suspicious code left. This plugin needs to be fixed if it
is still used.

10 years agostr_format_meta: fix reference counting
Rémi Denis-Courmont [Thu, 2 Jan 2014 21:35:02 +0000 (23:35 +0200)]
str_format_meta: fix reference counting

10 years agodtv: fix DVB-T2 tuning
Rémi Denis-Courmont [Thu, 2 Jan 2014 17:33:06 +0000 (19:33 +0200)]
dtv: fix DVB-T2 tuning

10 years agoRemove the deprecated vlc_atomic_t type.
Felix Abecassis [Thu, 2 Jan 2014 10:43:02 +0000 (11:43 +0100)]
Remove the deprecated vlc_atomic_t type.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
10 years agovdpau/adjust: cut&paste error
Rémi Denis-Courmont [Thu, 2 Jan 2014 11:34:44 +0000 (13:34 +0200)]
vdpau/adjust: cut&paste error

10 years agotranscode: fix memory leak
Rémi Duraffort [Wed, 1 Jan 2014 19:33:04 +0000 (20:33 +0100)]
transcode: fix memory leak

10 years agots: fix potential use of uninitialized variable
Rémi Duraffort [Wed, 1 Jan 2014 18:08:55 +0000 (19:08 +0100)]
ts: fix potential use of uninitialized variable

10 years agots: do not call stream_Size two times
Rémi Duraffort [Wed, 1 Jan 2014 18:06:47 +0000 (19:06 +0100)]
ts: do not call stream_Size two times

10 years agovod: reduce complexity and please static analyzers
Rémi Duraffort [Wed, 1 Jan 2014 17:53:35 +0000 (18:53 +0100)]
vod: reduce complexity and please static analyzers

10 years agoQt4: fix sizeof mismatch
Rémi Duraffort [Wed, 1 Jan 2014 17:53:16 +0000 (18:53 +0100)]
Qt4: fix sizeof mismatch

10 years agoxdg: fix infinite loop if the file is invalid
Rémi Duraffort [Tue, 31 Dec 2013 17:38:38 +0000 (18:38 +0100)]
xdg: fix infinite loop if the file is invalid

10 years agovlm: reduce deletion complexity and help analyzers
Rémi Duraffort [Tue, 31 Dec 2013 15:02:27 +0000 (16:02 +0100)]
vlm: reduce deletion complexity and help analyzers

10 years agochorus: remove wrong (and uneeded) dealocations
Rémi Duraffort [Tue, 31 Dec 2013 14:52:43 +0000 (15:52 +0100)]
chorus: remove wrong (and uneeded) dealocations

10 years agoRemove faulty return when vobsub doesn't define a size.
Denis Charmet [Wed, 1 Jan 2014 21:35:36 +0000 (22:35 +0100)]
Remove faulty return when vobsub doesn't define a size.

Close #10111

10 years agoinput_CreateFilename: take explicit input thread pointer
Rémi Denis-Courmont [Wed, 1 Jan 2014 18:31:26 +0000 (20:31 +0200)]
input_CreateFilename: take explicit input thread pointer

This should fix meta-data expansion in LibVLC (i.e. when recording).

10 years agostr_format_meta: take input thread pointer rather than playlist
Rémi Denis-Courmont [Wed, 1 Jan 2014 18:25:52 +0000 (20:25 +0200)]
str_format_meta: take input thread pointer rather than playlist

10 years agostr_format_meta: clean up
Rémi Denis-Courmont [Wed, 1 Jan 2014 18:17:32 +0000 (20:17 +0200)]
str_format_meta: clean up

10 years agodbus: use pl_CurrentInput()
Rémi Denis-Courmont [Wed, 1 Jan 2014 17:19:26 +0000 (19:19 +0200)]
dbus: use pl_CurrentInput()

10 years agopl_CurrentInput: more specific prototype
Rémi Denis-Courmont [Wed, 1 Jan 2014 17:19:13 +0000 (19:19 +0200)]
pl_CurrentInput: more specific prototype

10 years agointf-add: small simplification
Rémi Denis-Courmont [Wed, 1 Jan 2014 16:07:45 +0000 (18:07 +0200)]
intf-add: small simplification

10 years agolibvlc: look "syslog" value only once, simplify
Rémi Denis-Courmont [Wed, 1 Jan 2014 16:55:49 +0000 (18:55 +0200)]
libvlc: look "syslog" value only once, simplify

10 years agolibvlc: look the value of intf up only once when used
Rémi Denis-Courmont [Wed, 1 Jan 2014 16:52:01 +0000 (18:52 +0200)]
libvlc: look the value of intf up only once when used

10 years agolibvlc: remove "evil" daemon global variable and clean up
Rémi Denis-Courmont [Wed, 1 Jan 2014 16:38:19 +0000 (18:38 +0200)]
libvlc: remove "evil" daemon global variable and clean up

(The unlikely corner case of ENOMEM remains unhandled/unfixed.)

10 years agoRemove stray comment
Rémi Denis-Courmont [Wed, 1 Jan 2014 15:57:26 +0000 (17:57 +0200)]
Remove stray comment

10 years agoHappy New Year 2014!
Jean-Baptiste Kempf [Wed, 1 Jan 2014 10:31:17 +0000 (11:31 +0100)]
Happy New Year 2014!

10 years agoplaylist: remove playlist_PreparseEnqueue() (refs #5460)
Rémi Denis-Courmont [Tue, 31 Dec 2013 18:41:36 +0000 (20:41 +0200)]
playlist: remove playlist_PreparseEnqueue() (refs #5460)

10 years agoplaylist: remove playlist_AskForArtEnqueue() (refs #5460)
Rémi Denis-Courmont [Tue, 31 Dec 2013 18:36:04 +0000 (20:36 +0200)]
playlist: remove playlist_AskForArtEnqueue() (refs #5460)

10 years agolib: remove playlist dependency on media parsing (fixes #5460)
Rémi Denis-Courmont [Tue, 31 Dec 2013 18:31:52 +0000 (20:31 +0200)]
lib: remove playlist dependency on media parsing (fixes #5460)

10 years agoplaylist: add playlist-independent functions for meta data handling
Rémi Denis-Courmont [Tue, 31 Dec 2013 18:25:21 +0000 (20:25 +0200)]
playlist: add playlist-independent functions for meta data handling

This really only depends on the input item(s) and the core.

10 years agolibvlc: remove stray debug message
Rémi Denis-Courmont [Tue, 31 Dec 2013 18:19:00 +0000 (20:19 +0200)]
libvlc: remove stray debug message

10 years agoplaylist: clean up #includes for meta data modules
Rémi Denis-Courmont [Tue, 31 Dec 2013 18:06:19 +0000 (20:06 +0200)]
playlist: clean up #includes for meta data modules

10 years agoplaylist: hide fetcher underneath the preparser and simplify
Rémi Denis-Courmont [Tue, 31 Dec 2013 17:55:53 +0000 (19:55 +0200)]
playlist: hide fetcher underneath the preparser and simplify

10 years agoMove input_item_array_t to <vlc_input_item.h>
Rémi Denis-Courmont [Tue, 31 Dec 2013 17:40:06 +0000 (19:40 +0200)]
Move input_item_array_t to <vlc_input_item.h>

10 years agocontrib: disable GnuTLS for iOS
Felix Paul Kühne [Tue, 31 Dec 2013 14:46:23 +0000 (15:46 +0100)]
contrib: disable GnuTLS for iOS

10 years agocontrib/avcodec: fix compilation for iOS on ARM
Felix Paul Kühne [Tue, 31 Dec 2013 12:51:46 +0000 (13:51 +0100)]
contrib/avcodec: fix compilation for iOS on ARM

10 years agoextras/tools: update gas-pp
Felix Paul Kühne [Tue, 31 Dec 2013 12:14:51 +0000 (13:14 +0100)]
extras/tools: update gas-pp

10 years agoauhal: simplify memset in callbacks
David Fuhrmann [Tue, 31 Dec 2013 10:15:17 +0000 (11:15 +0100)]
auhal: simplify memset in callbacks

10 years agoQt: allow smaller size on start
Jean-Baptiste Kempf [Tue, 31 Dec 2013 09:21:16 +0000 (10:21 +0100)]
Qt: allow smaller size on start

Ref #9740

10 years agoextras/ios: disable gnutls
David Fuhrmann [Mon, 30 Dec 2013 22:11:59 +0000 (23:11 +0100)]
extras/ios: disable gnutls

10 years agocontribs/gnutls: disable on iOS
David Fuhrmann [Mon, 30 Dec 2013 22:11:01 +0000 (23:11 +0100)]
contribs/gnutls: disable on iOS

10 years agoQt: SeekStyle: don't use outer size for inner content (fix #9740)
Francois Cartegnie [Mon, 30 Dec 2013 19:32:36 +0000 (20:32 +0100)]
Qt: SeekStyle: don't use outer size for inner content (fix #9740)

10 years agoAdd secure transport TLS module
David Fuhrmann [Wed, 11 Dec 2013 15:26:06 +0000 (16:26 +0100)]
Add secure transport TLS module

Secure Transport is a TLS library part of the Security framework
(preinstalled on every iOS and MacOS device). This library does
certificate validation during handshake automatically using the
root certificates from the preinstalled certificate store.

The main reason for this module is proper certificate validation
on iOS devices. This is not possible with gnutls, because there is
no access to the root certificates for external applications.
The module is also intended for use on OSX.

10 years agoRTP: align MTU correctly for L24 (fixes #10269)
Rémi Denis-Courmont [Mon, 30 Dec 2013 18:23:33 +0000 (20:23 +0200)]
RTP: align MTU correctly for L24 (fixes #10269)

10 years agoQt: fix possible double-free on quit with simple volume widget
Jean-Baptiste Kempf [Mon, 30 Dec 2013 18:20:03 +0000 (19:20 +0100)]
Qt: fix possible double-free on quit with simple volume widget

10 years agolibav: do not build avio and avformat on MERGE_FFMPEG (fixes #10251)
Rémi Denis-Courmont [Mon, 30 Dec 2013 18:05:36 +0000 (20:05 +0200)]
libav: do not build avio and avformat on MERGE_FFMPEG (fixes #10251)

10 years agodemux: ogg: don't create es for finished streams.
Francois Cartegnie [Mon, 30 Dec 2013 13:14:28 +0000 (14:14 +0100)]
demux: ogg: don't create es for finished streams.

Should prevent presenting skeleton in es

10 years agodemux: ogg: better track of es state
Francois Cartegnie [Mon, 30 Dec 2013 13:13:02 +0000 (14:13 +0100)]
demux: ogg: better track of es state

10 years agodemux: asf: follow aspect ratio payload extension (fix #7433)
Francois Cartegnie [Wed, 11 Dec 2013 15:20:08 +0000 (16:20 +0100)]
demux: asf: follow aspect ratio payload extension (fix #7433)

10 years agoapi: allow to change A/R on the fly.
Francois Cartegnie [Sat, 28 Dec 2013 22:36:24 +0000 (23:36 +0100)]
api: allow to change A/R on the fly.

ASF allows specifying a new aspect ratio while playing back.
Triggering change using the "aspect-ratio" variable can't work
for unknown A/R as the variable is "Checked" type.

10 years agodemux: ogg: reuse decoders when fmt is compatible (fix #5394)
Francois Cartegnie [Fri, 27 Dec 2013 16:34:02 +0000 (17:34 +0100)]
demux: ogg: reuse decoders when fmt is compatible (fix #5394)

Avoids rebuffering.
Wrong way reverted by 1d6f8d8174d4e2c704732f7ec13c71df6dd8950d

10 years agodemux: ogg: change pts/pcr generation from packets (fix #10198, fix #9605)
Francois Cartegnie [Fri, 27 Dec 2013 16:22:11 +0000 (17:22 +0100)]
demux: ogg: change pts/pcr generation from packets (fix #10198, fix #9605)

Stop using headers granule and invalid granule for PCR/PTS.
Delays until first PTS/PCR is really known. Avoids 0 to PTS gap
for non zero starting streams.

10 years agodemux: ogg: remove discontinuity flag
Francois Cartegnie [Fri, 27 Dec 2013 16:16:29 +0000 (17:16 +0100)]
demux: ogg: remove discontinuity flag

reused decoders won't need it.

10 years agodemux: ogg: remove chained ogg boundary PTS handling
Francois Cartegnie [Fri, 27 Dec 2013 16:02:11 +0000 (17:02 +0100)]
demux: ogg: remove chained ogg boundary PTS handling

Shouldn't be needed anymore as we continue chain with offsetted PCR/PTS

10 years agodemux: ogg: remove reset/delayed format updates.
Francois Cartegnie [Fri, 27 Dec 2013 15:21:16 +0000 (16:21 +0100)]
demux: ogg: remove reset/delayed format updates.

No longer needed since ES are now created after headers.

10 years agodemux: ogg: fix es creation delaying with skeleton
Francois Cartegnie [Fri, 27 Dec 2013 14:26:27 +0000 (15:26 +0100)]
demux: ogg: fix es creation delaying with skeleton

10 years agodemux: ogg: clear initializing flag on oggds too
Francois Cartegnie [Sat, 28 Dec 2013 14:56:54 +0000 (15:56 +0100)]
demux: ogg: clear initializing flag on oggds too