]> git.sesse.net Git - vlc/log
vlc
10 years agodifferentiate mpga (layer 2) and mp3 (layer 3) codecs
Ilkka Ollakka [Mon, 6 Jan 2014 20:15:55 +0000 (22:15 +0200)]
differentiate mpga (layer 2) and mp3 (layer 3) codecs

Fixes #10318

10 years agocore: differentiate mp2 from mp3 audio layers
Ilkka Ollakka [Mon, 6 Jan 2014 19:49:25 +0000 (21:49 +0200)]
core: differentiate mp2 from mp3 audio layers

ref #10318

10 years agoMap Bink Audio and Video codecs
Jean-Baptiste Kempf [Thu, 9 Jan 2014 20:58:43 +0000 (21:58 +0100)]
Map Bink Audio and Video codecs

For some reasons, the video part does not work yet.

10 years agovlc_readdir: fix integer overflow on error
Rémi Denis-Courmont [Thu, 9 Jan 2014 19:04:36 +0000 (21:04 +0200)]
vlc_readdir: fix integer overflow on error

10 years agotest: check POTFILES.in in test suite
Rémi Denis-Courmont [Wed, 8 Jan 2014 17:40:16 +0000 (19:40 +0200)]
test: check POTFILES.in in test suite

(It is already tested in dist(check) but that is way too slow.)

10 years agoAdd Atrac3+ decoder mapping
Jean-Baptiste Kempf [Thu, 9 Jan 2014 18:54:06 +0000 (19:54 +0100)]
Add Atrac3+ decoder mapping

10 years agotwolame: fix build after revert
Ilkka Ollakka [Thu, 9 Jan 2014 08:56:34 +0000 (10:56 +0200)]
twolame: fix build after revert

10 years agofaad: set decode_audio at the end
Ilkka Ollakka [Wed, 2 Oct 2013 07:50:58 +0000 (10:50 +0300)]
faad: set decode_audio at the end

10 years agotwolame: set pf_encode at the end
Ilkka Ollakka [Thu, 9 Jan 2014 08:39:57 +0000 (10:39 +0200)]
twolame: set pf_encode at the end

10 years agoRevert "twolame: use FL32 as input"
Ilkka Ollakka [Thu, 9 Jan 2014 08:35:44 +0000 (10:35 +0200)]
Revert "twolame: use FL32 as input"

This reverts commit 2363d00e1131bc4b50e3a15a6593e824bee68dd7.

Twolame converts from FL32 to S16 internally anyway so no point
using this instead of converting inside vlc.

Pointed-out-by: Rémi Denis-Courmont
10 years agoopus: always sync i_buffer with i_nb_samples (fixes #10135)
Tristan Matthews [Thu, 9 Jan 2014 06:28:47 +0000 (01:28 -0500)]
opus: always sync i_buffer with i_nb_samples (fixes #10135)

Specifically, the crash at the end of playback was happening when end trim was
not being subtracted from i_buffer.

10 years agovorbis: fix format string
Tristan Matthews [Thu, 9 Jan 2014 05:25:55 +0000 (00:25 -0500)]
vorbis: fix format string

10 years agodemux: flac: use frame pts (fix #10328)
Francois Cartegnie [Wed, 8 Jan 2014 14:22:03 +0000 (15:22 +0100)]
demux: flac: use frame pts (fix #10328)

10 years agopacketizer: flac: generate PTS from frame info.
Francois Cartegnie [Wed, 8 Jan 2014 14:03:54 +0000 (15:03 +0100)]
packetizer: flac: generate PTS from frame info.

10 years agodemux: flac: use CLOCK_FREQ
Francois Cartegnie [Wed, 8 Jan 2014 14:22:32 +0000 (15:22 +0100)]
demux: flac: use CLOCK_FREQ

10 years agoQt: add a right-click action to save the playlist
Jean-Baptiste Kempf [Wed, 8 Jan 2014 13:37:39 +0000 (14:37 +0100)]
Qt: add a right-click action to save the playlist

10 years agoDistcheck: playlist.h is gone
Jean-Baptiste Kempf [Wed, 8 Jan 2014 11:58:24 +0000 (12:58 +0100)]
Distcheck: playlist.h is gone

10 years agotranscode: set pts on module open
Ilkka Ollakka [Tue, 17 Dec 2013 14:42:00 +0000 (16:42 +0200)]
transcode: set pts on module open

10 years agotwolame: use FL32 as input
Ilkka Ollakka [Mon, 6 Jan 2014 19:49:55 +0000 (21:49 +0200)]
twolame: use FL32 as input

as FL32 is used in filters/resamplers also, this hopefully
removes a need of one conversion.

10 years agotwolame: implement flushing on close
Ilkka Ollakka [Mon, 6 Jan 2014 18:15:37 +0000 (20:15 +0200)]
twolame: implement flushing on close

10 years agosrc: simplify and inline pl_Get()
Rémi Denis-Courmont [Sun, 5 Jan 2014 16:38:12 +0000 (18:38 +0200)]
src: simplify and inline pl_Get()

10 years agoplaylist: create instance only when needed
Rémi Denis-Courmont [Thu, 2 Jan 2014 21:36:35 +0000 (23:36 +0200)]
playlist: create instance only when needed

This avoids checking that the playlist exists over and over again. The
playlist always exists when an interface is running.

10 years agolib: add helper for playlist startup
Rémi Denis-Courmont [Tue, 7 Jan 2014 21:26:35 +0000 (23:26 +0200)]
lib: add helper for playlist startup

Also remove a useless and unsynchronized test.

10 years agolib: remove unneeded code
Rémi Denis-Courmont [Wed, 1 Jan 2014 17:25:51 +0000 (19:25 +0200)]
lib: remove unneeded code

10 years agosrc: helper for command line item handling
Rémi Denis-Courmont [Mon, 6 Jan 2014 08:23:43 +0000 (10:23 +0200)]
src: helper for command line item handling

10 years agointerface: create the playlist first and use it as parent
Rémi Denis-Courmont [Wed, 1 Jan 2014 17:08:21 +0000 (19:08 +0200)]
interface: create the playlist first and use it as parent

10 years agoplaylist: merge interface and playlist locks as one
Rémi Denis-Courmont [Mon, 6 Jan 2014 08:32:07 +0000 (10:32 +0200)]
playlist: merge interface and playlist locks as one

This restores symmetry in the playlist API, but most importantly, it
is necessary to fix some corner case races (in later commits).

10 years agosrc: move one declaration
Rémi Denis-Courmont [Mon, 6 Jan 2014 08:23:18 +0000 (10:23 +0200)]
src: move one declaration

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)