]> git.sesse.net Git - vlc/log
vlc
11 years agotoo long timeouts in win32 vlc_poll
Mario Speiß [Sun, 3 Feb 2013 17:25:35 +0000 (19:25 +0200)]
too long timeouts in win32 vlc_poll

When vlc_poll is called with timeout of i.e. 5000ms it may happen that the
waiting time might be as long as 2500s ! Probably poll should be called with
the 50ms timeout as many times until the original provided timeout has been
reached.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
11 years agosrc: Win32: add message categories to debug logs
Edward Wang [Sun, 3 Feb 2013 14:12:04 +0000 (09:12 -0500)]
src: Win32: add message categories to debug logs

Signed-off-by: Rafaël Carré <funman@videolan.org>
11 years agoconfigure: remove a wrongly placed test
KO Myung-Hun [Sun, 3 Feb 2013 09:04:28 +0000 (18:04 +0900)]
configure: remove a wrongly placed test

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
11 years agoomxil: Only try to enable the samsung-specific 420p mode on video decoders
Martin Storsjö [Sat, 2 Feb 2013 17:38:17 +0000 (19:38 +0200)]
omxil: Only try to enable the samsung-specific 420p mode on video decoders

It doesn't make any sense for audio decoders and only leads to
extra log warnings.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoRevert "omxil: Set the WMV type"
Martin Storsjö [Sat, 2 Feb 2013 13:24:20 +0000 (15:24 +0200)]
Revert "omxil: Set the WMV type"

This reverts commit c73e88ce9a79f1b76e7e6a9ec1cf5781555994a5.

The WMV1/2 decoders use a different role name, and this parameter
is unsupported on them. Therefore, there's not much use in trying to
set it at all.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoomxil: Use the role names video_decoder.wmv1/2
Martin Storsjö [Sat, 2 Feb 2013 13:22:32 +0000 (15:22 +0200)]
omxil: Use the role names video_decoder.wmv1/2

The role name without a suffix, "video_decoder.wmv", is only for
vc1/wmv3/9 (on Samsung Galaxy S III at least). Since certain roles
are substrings of others, require the full string to match when looking
for suitable codecs instead of using strncmp.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoomxil: Factorize samsung decoder quirk identification to a separate function
Martin Storsjö [Sat, 2 Feb 2013 14:33:13 +0000 (16:33 +0200)]
omxil: Factorize samsung decoder quirk identification to a separate function

Previously, we tried to see if the samsung decoder name followed
a certain pattern (ending .Decoder, for good decoders, assuming
we should ignore the padding specified by all other samsung
decoders). This simple pattern didn't turn out to apply for some
other deocders, so instead explicitly list the components that
we know we should ignore the specified padding values.

Also refactor the same check from both the omxil and mediacodec
files into one utility function.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoomxil: If OMX_IndexParamVideoInit failed, assume 2 ports with index 0 and 1
Martin Storsjö [Sat, 3 Dec 2011 21:46:04 +0000 (23:46 +0200)]
omxil: If OMX_IndexParamVideoInit failed, assume 2 ports with index 0 and 1

This is required to use the OMX.google.* sw decoder components
(which are useful for testing).

Only do this workaround on android builds for now, to limit the
scope of the hack.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoomxil: Make sure i_channels is nonzero before dividing by it
Martin Storsjö [Fri, 1 Feb 2013 10:53:22 +0000 (12:53 +0200)]
omxil: Make sure i_channels is nonzero before dividing by it

At startup of the decoder, i_channels might be set to 0 if the decoder
hasn't processed the sent CODECCONFIG data yet. (In these cases, the
returned buffers are 0 bytes long so we don't miss anything either.)
A port reconfigure event is sent in these cases, so i_channels gets
initialized to the right value before we handle any later buffers with
actual content.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoomxil: Don't require SetAudioParameters on the decoder output port to succeed
Martin Storsjö [Wed, 11 Apr 2012 16:25:36 +0000 (19:25 +0300)]
omxil: Don't require SetAudioParameters on the decoder output port to succeed

It's mostly enough to call it on the input port, while we later get
back what the decoder itself set on the output port (based on the
input port and codec config data), so if this fails, just ignore it.

This is required for using google SW audio codecs via OMX, which is
useful mostly for testing. (Using them still requires a few more
hacks though.)

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoomxil: Set OMX_AUDIO_AACStreamFormatMP4FF for AAC
Martin Storsjö [Wed, 30 Jan 2013 19:23:45 +0000 (21:23 +0200)]
omxil: Set OMX_AUDIO_AACStreamFormatMP4FF for AAC

This does work with the Samsung AAC decoder (which seems to support
both), while the google SW AAC decoder doesn't support the previous
value (but works fine with this one).

As far as I can read the specs, the two formats are identical (one
is defined as "AAC inside MPEG-4/ISO File Format" while the other
one is defined as "AAC Raw Format (access units)").

The Android media stack seems to be using this one internally
(with a bunch of references to this one, and no references to the
RAW one), which is a good indication that at least most android
AAC decoders should be able to handle it.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoomxil: Set the right channel mode for aac/mp3
Martin Storsjö [Fri, 1 Feb 2013 10:10:26 +0000 (12:10 +0200)]
omxil: Set the right channel mode for aac/mp3

This doesn't seem to have any effect in practice, but it does make
the code more correct.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoomxil: Skip a kinda-broken samsung mp3 decoder
Martin Storsjö [Fri, 1 Feb 2013 09:42:19 +0000 (11:42 +0200)]
omxil: Skip a kinda-broken samsung mp3 decoder

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoRemove the filesize verification when using FindNextElement
Denis Charmet [Fri, 1 Feb 2013 00:39:29 +0000 (01:39 +0100)]
Remove the filesize verification when using FindNextElement

The dummy support patch also fix #5287.

11 years agohotkeys: use only one channel for sliders
Rémi Denis-Courmont [Fri, 1 Feb 2013 16:30:38 +0000 (18:30 +0200)]
hotkeys: use only one channel for sliders

We don't display both sliders at once anyway.

11 years agohotkeys: put all text on the default SPU channel
Rémi Denis-Courmont [Fri, 1 Feb 2013 16:25:21 +0000 (18:25 +0200)]
hotkeys: put all text on the default SPU channel

Never more than one piece of text is displayed at a time anyway.
Also simplify format string handling and use single precision maths.

11 years agolibvlc: use input navigation controls
Rémi Denis-Courmont [Fri, 1 Feb 2013 15:58:31 +0000 (17:58 +0200)]
libvlc: use input navigation controls

11 years agodvdnav: implement navigation controls, remove key-action callback
Rémi Denis-Courmont [Fri, 1 Feb 2013 15:55:17 +0000 (17:55 +0200)]
dvdnav: implement navigation controls, remove key-action callback

11 years agohotkeys: implement navigation actions
Rémi Denis-Courmont [Fri, 1 Feb 2013 15:55:00 +0000 (17:55 +0200)]
hotkeys: implement navigation actions

11 years agoinput: define proper controls for menu navigation
Rémi Denis-Courmont [Fri, 1 Feb 2013 15:54:34 +0000 (17:54 +0200)]
input: define proper controls for menu navigation

11 years agoUpdate default DVD and CD paths on Linux
Rémi Denis-Courmont [Fri, 1 Feb 2013 15:52:32 +0000 (17:52 +0200)]
Update default DVD and CD paths on Linux

11 years agoMpegVideo packetizer: fix frame rates
Jean-Baptiste Kempf [Thu, 31 Jan 2013 21:57:31 +0000 (22:57 +0100)]
MpegVideo packetizer: fix frame rates

11 years agohotkeys: remove special key event
Rémi Denis-Courmont [Thu, 31 Jan 2013 21:25:15 +0000 (23:25 +0200)]
hotkeys: remove special key event

11 years agohotkeys: add context menu action
Rémi Denis-Courmont [Thu, 31 Jan 2013 21:23:55 +0000 (23:23 +0200)]
hotkeys: add context menu action

11 years agohotkeys: map mouse wheel actions in core
Rémi Denis-Courmont [Thu, 31 Jan 2013 21:16:35 +0000 (23:16 +0200)]
hotkeys: map mouse wheel actions in core

11 years agohotkeys: move mouse wheel setting to core with other hotkey stuff
Rémi Denis-Courmont [Thu, 31 Jan 2013 21:16:10 +0000 (23:16 +0200)]
hotkeys: move mouse wheel setting to core with other hotkey stuff

11 years agocore: remove OSD menu keys configuration
Rémi Denis-Courmont [Thu, 31 Jan 2013 21:07:07 +0000 (23:07 +0200)]
core: remove OSD menu keys configuration

11 years agoquartztext: compilation fix
Felix Paul Kühne [Thu, 31 Jan 2013 17:59:54 +0000 (18:59 +0100)]
quartztext: compilation fix

11 years agoRemove unused typedefs
Rémi Denis-Courmont [Thu, 31 Jan 2013 17:48:56 +0000 (19:48 +0200)]
Remove unused typedefs

11 years agoconfigure: remove osdmenu
Rémi Denis-Courmont [Thu, 31 Jan 2013 17:01:14 +0000 (19:01 +0200)]
configure: remove osdmenu

11 years agoosd: remove dead core OSD menu functions
Rémi Denis-Courmont [Thu, 31 Jan 2013 17:00:34 +0000 (19:00 +0200)]
osd: remove dead core OSD menu functions

11 years agoosd_parser/osdmenu: remove dead plugins
Rémi Denis-Courmont [Thu, 31 Jan 2013 16:55:46 +0000 (18:55 +0200)]
osd_parser/osdmenu: remove dead plugins

11 years agoUseless #includes
Rémi Denis-Courmont [Thu, 31 Jan 2013 17:28:36 +0000 (19:28 +0200)]
Useless #includes

11 years agoLua: remove non-working menu object
Rémi Denis-Courmont [Thu, 31 Jan 2013 16:52:40 +0000 (18:52 +0200)]
Lua: remove non-working menu object

11 years agoLua RC: remove non-working menu command
Rémi Denis-Courmont [Thu, 31 Jan 2013 16:54:05 +0000 (18:54 +0200)]
Lua RC: remove non-working menu command

11 years agoOld RC: remove non-working menu command
Rémi Denis-Courmont [Thu, 31 Jan 2013 16:50:19 +0000 (18:50 +0200)]
Old RC: remove non-working menu command

11 years agoLIRC: remove non-working menu
Rémi Denis-Courmont [Thu, 31 Jan 2013 16:54:47 +0000 (18:54 +0200)]
LIRC: remove non-working menu

11 years agohotkeys: remove unused OSD menu actions
Rémi Denis-Courmont [Thu, 31 Jan 2013 16:49:46 +0000 (18:49 +0200)]
hotkeys: remove unused OSD menu actions

11 years agovout: remove dead OSD code
Rémi Denis-Courmont [Thu, 31 Jan 2013 17:09:57 +0000 (19:09 +0200)]
vout: remove dead OSD code

11 years agoosd: privatize osd_ShowText(Absolute|Relative)
Rémi Denis-Courmont [Thu, 31 Jan 2013 16:37:26 +0000 (18:37 +0200)]
osd: privatize osd_ShowText(Absolute|Relative)

(Functions reordered to avoid forward declaration.)

11 years agohotkeys: reorder the Big Switch and remove some useless checks
Rémi Denis-Courmont [Wed, 30 Jan 2013 18:18:49 +0000 (20:18 +0200)]
hotkeys: reorder the Big Switch and remove some useless checks

11 years agovlccore: pass a proper argument to vlc_cancel_self() in vlc_testcancel()
KO Myung-Hun [Wed, 30 Jan 2013 07:34:53 +0000 (16:34 +0900)]
vlccore: pass a proper argument to vlc_cancel_self() in vlc_testcancel()

This fixes the problem that SAP hangs on even if it has been canceled.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agoconfigure: do not add -fvisibility=hidden flag on OS/2
KO Myung-Hun [Wed, 30 Jan 2013 07:34:50 +0000 (16:34 +0900)]
configure: do not add -fvisibility=hidden flag on OS/2

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agoAdd option to specify arhitecture variant for building vlc for iOS
Gleb Pinigin [Wed, 30 Jan 2013 13:42:21 +0000 (20:42 +0700)]
Add option to specify arhitecture variant for building vlc for iOS

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agomediacodec: Handle VC1
Martin Storsjö [Tue, 29 Jan 2013 15:55:10 +0000 (17:55 +0200)]
mediacodec: Handle VC1

This is tested to be working on Galaxy S3 on 4.1.2 (and
on 4.1.1 as well).

(WMV3 doesn't seem to work though, even after reformatting the
extradata as in the omxil decoder, MediaCodec.configure()
throws an exception.)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agoomxil: Wait for the right event when deinitializing
Martin Storsjö [Tue, 29 Jan 2013 15:55:09 +0000 (17:55 +0200)]
omxil: Wait for the right event when deinitializing

Previously, we checked that the event queue had an OMX_EventCmdComplete
item, but we didn't make sure that it was for the previously issued
OMX_CommandStateSet. In many cases, it was from a OMX_CommandFlush,
which made the code proceed with other deinitialization. If the decoder
hadn't actually transitioned to idle state yet, the buffers weren't
actually ever freed (in the state == OMX_StateIdle block), which lead
to crashes when the handle was freed at the end.

This fixes crashes when finishing playback of wmv3 videos on Galaxy S3.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agoomxil: Skip OMX.SEC.WMV.Decoder
Martin Storsjö [Tue, 29 Jan 2013 15:55:08 +0000 (17:55 +0200)]
omxil: Skip OMX.SEC.WMV.Decoder

This one doesn't seem to work for either VC1 or WMV3 at the moment
(on Android 4.1.2 on Galaxy S3), while OMX.SEC.vc1.dec works (for
both codecs).

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agoomxil: Pass extradata for WMV3 according to OMX specs
Martin Storsjö [Tue, 29 Jan 2013 15:55:07 +0000 (17:55 +0200)]
omxil: Pass extradata for WMV3 according to OMX specs

Some OMX decoders that can handle WMV3 (such as the broadcom one
in raspberry pi) can handle the WMV3 extradata both in the original
form as in ASF, and in this format, while the one in Samsung Galaxy
S3 requires it to be in this format (as the OMX IL 1.2 specs specify).

This makes HW-accelerated WMV3 decoding work on Galaxy S3.

The code can be split out to a reusable function if/when the same
needs to be done elsewhere.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agomediacodec: Remove an unused variable
Martin Storsjö [Wed, 30 Jan 2013 10:54:08 +0000 (12:54 +0200)]
mediacodec: Remove an unused variable

Signed-off-by: Rafaël Carré <funman@videolan.org>
11 years agoomxil/mediacodec: Extend the quirk workaround for OMX.SEC to ignore horizontal paddin...
Martin Storsjö [Wed, 30 Jan 2013 10:54:07 +0000 (12:54 +0200)]
omxil/mediacodec: Extend the quirk workaround for OMX.SEC to ignore horizontal padding as well

Signed-off-by: Rafaël Carré <funman@videolan.org>
11 years agoomxil: Update the explanation of the OMX.SEC quirk/workaround
Martin Storsjö [Wed, 30 Jan 2013 10:54:06 +0000 (12:54 +0200)]
omxil: Update the explanation of the OMX.SEC quirk/workaround

Signed-off-by: Rafaël Carré <funman@videolan.org>
11 years agomediacodec: Update a comment with the current state of affairs
Martin Storsjö [Wed, 30 Jan 2013 10:54:05 +0000 (12:54 +0200)]
mediacodec: Update a comment with the current state of affairs

Signed-off-by: Rafaël Carré <funman@videolan.org>
11 years agodbus: Add CanGoNext/Previous
Alex Merry [Tue, 29 Jan 2013 00:55:23 +0000 (00:55 +0000)]
dbus: Add CanGoNext/Previous

These are required by the spec.  We just set them to true, to match the
fact that the buttons on the main interface are never disabled.

Signed-off-by: Mirsal Ennaime <mirsal@videolan.org>
11 years agoAdd Properties.GetAll support to all D-Bus interfaces
Alex Merry [Tue, 29 Jan 2013 00:55:22 +0000 (00:55 +0000)]
Add Properties.GetAll support to all D-Bus interfaces

Signed-off-by: Mirsal Ennaime <mirsal@videolan.org>
11 years agodbus: Standardise property getters
Alex Merry [Tue, 29 Jan 2013 00:55:21 +0000 (00:55 +0000)]
dbus: Standardise property getters

There was a lot of repeated code, some of which properly checked return
values and some of which didn't.  This is all replaced and folded into
the GetProperty function of each interface.

A side-effect is that it should be more efficient (we only check the
interface argument once instead of once for each property, and there
should be a smaller overall code size).

Signed-off-by: Mirsal Ennaime <mirsal@videolan.org>
11 years agodbus: Separate out property marshalling code in D-Bus interfaces
Alex Merry [Tue, 29 Jan 2013 00:55:20 +0000 (00:55 +0000)]
dbus: Separate out property marshalling code in D-Bus interfaces

Pull out code to marshal the various properties into separate functions
(and make sure the return type of those functions is int).  This is in
preparation for adding org.freedesktop.DBus.Properties.GetAll support.

Signed-off-by: Mirsal Ennaime <mirsal@videolan.org>
11 years agodbus: Standardise property marshalling for PropertiesChanged signal
Alex Merry [Tue, 29 Jan 2013 00:55:19 +0000 (00:55 +0000)]
dbus: Standardise property marshalling for PropertiesChanged signal

Re-use the AddProperty method (used in GetAllProperties) and use macros
to reduce repetition of code.  Now all the calls should be
error-checked.

Signed-off-by: Mirsal Ennaime <mirsal@videolan.org>
11 years agodbus: Fix code style and add missing decref on error path
Mirsal Ennaime [Tue, 29 Jan 2013 13:40:23 +0000 (14:40 +0100)]
dbus: Fix code style and add missing decref on error path

 * Add missing call to vlc_object_release() in MarshalMetadata
 * Separate code paths with empty lines
 * Fix bracket position in if blocks

11 years agoFix Metadata marshalling when sending the PropertiesChanged signal
Alex Merry [Tue, 29 Jan 2013 00:55:18 +0000 (00:55 +0000)]
Fix Metadata marshalling when sending the PropertiesChanged signal

VLC was getting kicked from the D-Bus when a track was stopped, because
it was generating invalid data on the wire when sending the
PropertiesChanged signal for the Metadata property.

The issue was that if there was now no current track, GetInputMeta would
never be called and the the variant would never be populated with the
"a{sv}" structure that the call to dbus_message_iter_open_container
claimed it would be.

We now share the code that GetProperties used, which dealt with this
correctly, although now both use CurrentInput (which is what the signal
previously used) instead of CurrentPlayingItem (which is what
GetProperties previously used).

Signed-off-by: Mirsal Ennaime <mirsal@videolan.org>
11 years agoFix Rate property on org.mpris.MediaPlayer2.Player
Alex Merry [Mon, 28 Jan 2013 11:54:16 +0000 (11:54 +0000)]
Fix Rate property on org.mpris.MediaPlayer2.Player

Rate should never be 0.0 (according to the spec), so we pick a sensible
default when we do not have a current track: 1.0.

Also, when the current item changes, the Rate may also change.  So add
it to the PropertiesChanged signal just to be sure.

Signed-off-by: Mirsal Ennaime <mirsal@videolan.org>
11 years agoFix MPRIS2 metadata entry types
Alex Merry [Mon, 28 Jan 2013 11:54:15 +0000 (11:54 +0000)]
Fix MPRIS2 metadata entry types

Several of these entries, such as xesam:artist, should be lists of
strings, not strings.

Signed-off-by: Mirsal Ennaime <mirsal@videolan.org>
11 years agopeflags: add -AppContainer option
Rafaël Carré [Mon, 28 Jan 2013 17:55:24 +0000 (18:55 +0100)]
peflags: add -AppContainer option

11 years agoAdd Fullscreen property to GetAllProperties on DBus root interface
Alex Merry [Mon, 28 Jan 2013 11:54:12 +0000 (11:54 +0000)]
Add Fullscreen property to GetAllProperties on DBus root interface

Previously, Fullscreen could be requested via
org.freedesktop.DBus.Properties.Get, but would not be returned by
org.freedesktop.DBus.Properties.GetAll.

Signed-off-by: Mirsal Ennaime <mirsal@videolan.org>
11 years agoMove helpers for GetAllProperties into dbus.c
Alex Merry [Mon, 28 Jan 2013 11:54:11 +0000 (11:54 +0000)]
Move helpers for GetAllProperties into dbus.c

This is in preparation for implementing GetAllProperties for the player
and tracklist interfaces.

Signed-off-by: Mirsal Ennaime <mirsal@videolan.org>
11 years agoskins2: ensure playlist is also updated when new input is launched
Erwan Tulou [Mon, 28 Jan 2013 13:32:53 +0000 (14:32 +0100)]
skins2: ensure playlist is also updated when new input is launched

11 years agoskins2: update current input if its associated item changes.
Erwan Tulou [Mon, 28 Jan 2013 11:54:47 +0000 (12:54 +0100)]
skins2: update current input if its associated item changes.

This is the right place to make sure an art file that was not available at
input launch time gets a chance to be displayed as soon as it becomes available.

11 years agoskins2: rename command to better readability
Erwan Tulou [Mon, 28 Jan 2013 11:38:45 +0000 (12:38 +0100)]
skins2: rename command to better readability

11 years agoskins2: factorize some code
Erwan Tulou [Mon, 28 Jan 2013 11:35:00 +0000 (12:35 +0100)]
skins2: factorize some code

11 years agoskins2: cleanup
Erwan Tulou [Mon, 28 Jan 2013 11:23:36 +0000 (12:23 +0100)]
skins2: cleanup

11 years agoskins2: remove useless event
Erwan Tulou [Mon, 28 Jan 2013 11:20:41 +0000 (12:20 +0100)]
skins2: remove useless event

11 years agoQt: add pixmap source
Francois Cartegnie [Mon, 28 Jan 2013 13:11:11 +0000 (14:11 +0100)]
Qt: add pixmap source

11 years agoQt: add SD pixmaps sources.
Francois Cartegnie [Mon, 28 Jan 2013 12:30:23 +0000 (13:30 +0100)]
Qt: add SD pixmaps sources.

11 years agoQt: add sidebar pixmaps sources.
Francois Cartegnie [Mon, 28 Jan 2013 12:25:21 +0000 (13:25 +0100)]
Qt: add sidebar pixmaps sources.

disc.svg, network.svg derivative work from Gnome's elementary icons (GPL)

11 years agocache: fix f71b33de
Rémi Duraffort [Mon, 28 Jan 2013 08:44:42 +0000 (09:44 +0100)]
cache: fix f71b33de

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agoSkins2: simpler and more correct code for SHFileOperation since wcsncpy padds NULL
Jean-Baptiste Kempf [Sun, 27 Jan 2013 23:38:04 +0000 (00:38 +0100)]
Skins2: simpler and more correct code for SHFileOperation since wcsncpy padds NULL

11 years agofreetype: Fix non-ascii font selection on UNICODE and ANSI build.
Naohiro KORIYAMA [Sat, 26 Jan 2013 18:27:38 +0000 (03:27 +0900)]
freetype: Fix non-ascii font selection on UNICODE and ANSI build.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agolibmp4: small bug fix
Frédéric Yhuel [Sun, 27 Jan 2013 22:02:57 +0000 (23:02 +0100)]
libmp4: small bug fix

When MP4_ReadBoxContainerChildren() returns, one expects the position in
the stream to be that of the next box after the last parsed box.

Without this very patch, if the last parsed box is an "unknown" one,
the position in the stream would be at the begining of that box,
preventing playback of latest Anevia's MS Smooth Streaming live streams,
for example.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agoSkins2: fix usage of SHFileOperation on Win32
Jean-Baptiste Kempf [Sun, 27 Jan 2013 21:33:31 +0000 (22:33 +0100)]
Skins2: fix usage of SHFileOperation on Win32

11 years agoAdd FourCC for VP9
Jean-Baptiste Kempf [Sun, 27 Jan 2013 17:19:53 +0000 (18:19 +0100)]
Add FourCC for VP9

11 years agoAdd FourCC for HEVC
Jean-Baptiste Kempf [Sun, 27 Jan 2013 17:18:43 +0000 (18:18 +0100)]
Add FourCC for HEVC

11 years agodecode_URI: simplify/relax non-encoded characters handling
Rémi Denis-Courmont [Sun, 27 Jan 2013 20:03:39 +0000 (22:03 +0200)]
decode_URI: simplify/relax non-encoded characters handling

Since non-ASCII or non-printable characters are not supposed to occur
in URL, it does not matter much how they are dealt with.

The caller of decode_URI() can anyway not assume anything about the
decoded string. In particular, decode_URI() does not validate UTF-8
sequences in any case.

11 years agomodules: do not use non-portable union to store item flags in cache
Rémi Denis-Courmont [Sun, 27 Jan 2013 17:21:30 +0000 (19:21 +0200)]
modules: do not use non-portable union to store item flags in cache

Pointed-out-by: Mario Speiß <1034-135@online.de>
11 years agoskins2: fix art file failing to display when changing skin theme
Erwan Tulou [Sun, 27 Jan 2013 16:32:02 +0000 (17:32 +0100)]
skins2: fix art file failing to display when changing skin theme

When changing a skin theme on the fly, an input may already be running
 and the art file is expected to display in the new theme.

This patch takes into account a possible art file already kwown
at initialisation of a new image control with art enabled.

11 years agoskins2: fix art display misfunctioning in latest git vlc
Erwan Tulou [Sun, 27 Jan 2013 16:23:15 +0000 (17:23 +0100)]
skins2: fix art display misfunctioning in latest git vlc

Art display used to rely on an event issued by vlc core which has been renamed into "activity" lately. The issue was that it seems no longer fired when a new
 input is launched.

11 years agoFix #6449
Rafaël Carré [Sat, 26 Jan 2013 15:25:49 +0000 (16:25 +0100)]
Fix #6449

A relative jump of +1 is the same than 0, we need +2 to skip the next
instruction.
Use named label so it is more clear than +2.

Read the InstallDir regkey, "" points to vlc.exe

11 years agoWin32 one instance: fix segfault
Rafaël Carré [Sat, 26 Jan 2013 13:40:07 +0000 (14:40 +0100)]
Win32 one instance: fix segfault

11 years agoWin32: disable AppContainer flags, because it fails on W8
Jean-Baptiste Kempf [Fri, 25 Jan 2013 19:00:25 +0000 (20:00 +0100)]
Win32: disable AppContainer flags, because it fails on W8

11 years agoQt: PLSelector: add more sd icons
Francois Cartegnie [Fri, 25 Jan 2013 16:28:21 +0000 (17:28 +0100)]
Qt: PLSelector: add more sd icons

11 years agoAvcodec, restore the threads count to auto
Jean-Baptiste Kempf [Fri, 25 Jan 2013 16:00:19 +0000 (17:00 +0100)]
Avcodec, restore the threads count to auto

Mpeg-4, H.264, VP8 and other deadlocks with -mt have been fixed
and fuzzed by Janne, notably, since a few weeks/months.

11 years agoMake sure we use the correct luac version when using contribs
Rafaël Carré [Fri, 25 Jan 2013 04:31:48 +0000 (05:31 +0100)]
Make sure we use the correct luac version when using contribs

11 years agowin32 opendir: remove broken and obsolete special mode
Rafaël Carré [Fri, 25 Jan 2013 12:01:43 +0000 (13:01 +0100)]
win32 opendir: remove broken and obsolete special mode

11 years agoQt: unbreak the update of metadata
Jean-Baptiste Kempf [Fri, 25 Jan 2013 15:46:16 +0000 (16:46 +0100)]
Qt: unbreak the update of metadata

11 years agoconfigure: reject libavcodec >= 55
Rémi Denis-Courmont [Fri, 25 Jan 2013 15:43:38 +0000 (17:43 +0200)]
configure: reject libavcodec >= 55

That future version is expected to remove a number of already
deprecated interfaces, such as CODEC_ID_* or the Snow codec.
VLC still uses these interfaces as of today.

11 years agoQt: correctly clear the info panel cover Art
Jean-Baptiste Kempf [Fri, 25 Jan 2013 15:15:26 +0000 (16:15 +0100)]
Qt: correctly clear the info panel cover Art

11 years agoQt: capture panel: Disable advanced options instead of being silent on
Francois Cartegnie [Fri, 25 Jan 2013 13:19:55 +0000 (14:19 +0100)]
Qt: capture panel: Disable advanced options instead of being silent on
late failure

11 years agoQt: capture panel: fix segfault on null value.
Francois Cartegnie [Fri, 25 Jan 2013 13:01:32 +0000 (14:01 +0100)]
Qt: capture panel: fix segfault on null value.

11 years agoUse precise version check for FFmpeg/libav
Rafaël Carré [Fri, 25 Jan 2013 06:10:37 +0000 (07:10 +0100)]
Use precise version check for FFmpeg/libav

Pointed-out-by: thresh
11 years agoAdd LIBAVUTIL_VERSION_CHECK (based on LIBAVCODEC_VERSION_CHECK)
Rafaël Carré [Fri, 25 Jan 2013 06:08:11 +0000 (07:08 +0100)]
Add LIBAVUTIL_VERSION_CHECK (based on LIBAVCODEC_VERSION_CHECK)

11 years agoFFmpeg doesn't use the same version numbers than Libav
Rafaël Carré [Fri, 25 Jan 2013 05:38:53 +0000 (06:38 +0100)]
FFmpeg doesn't use the same version numbers than Libav

Found-by: Timo Rothenpieler
11 years agoplaylist: update status on PLAYLIST_PLAY
Rafaël Carré [Fri, 25 Jan 2013 04:00:07 +0000 (05:00 +0100)]
playlist: update status on PLAYLIST_PLAY

Fixes #8082