]> git.sesse.net Git - vlc/log
vlc
11 years agoQt: SeekSlider: SeekStyle: fix memleak
Francois Cartegnie [Mon, 11 Feb 2013 15:55:40 +0000 (16:55 +0100)]
Qt: SeekSlider: SeekStyle: fix memleak

11 years agoDnD from Internet Explorer to VLC and support of links (*.lnk)
Mario Speiß [Sun, 10 Feb 2013 21:31:59 +0000 (22:31 +0100)]
DnD from Internet Explorer to VLC and support of links (*.lnk)

On Windows a Drag and Drop seems to be a Qt::LinkAction. And support for
symbolic links is added.

Playlist widget now uses the p_mi->dropEvent (used to have two implementation,
one calling p_mi->dropEvent already, the other had its own body. That body is
removed)

Regards,
Mario

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agomacosx: update copyright headers for some recently changed files
David Fuhrmann [Sun, 10 Feb 2013 19:14:22 +0000 (20:14 +0100)]
macosx: update copyright headers for some recently changed files

11 years agomacosx: fix another wrong occurrence of the fspanel
David Fuhrmann [Sun, 10 Feb 2013 19:03:37 +0000 (20:03 +0100)]
macosx: fix another wrong occurrence of the fspanel

11 years agoopengl: update author lists
Felix Paul Kühne [Sun, 10 Feb 2013 15:46:14 +0000 (16:46 +0100)]
opengl: update author lists

11 years agomacosx_vout: update author list
Felix Paul Kühne [Sun, 10 Feb 2013 15:01:00 +0000 (16:01 +0100)]
macosx_vout: update author list

11 years agoRevert "Emit a fullscreen toggle action on double click"
Rémi Denis-Courmont [Sun, 10 Feb 2013 10:22:52 +0000 (12:22 +0200)]
Revert "Emit a fullscreen toggle action on double click"

This reverts commit 96824f0c8d6134b62fbcf9876a5411258486d390.
This hack is not needed anymore.

11 years agomouse wheel handling: fix left / right scrolling events
David Fuhrmann [Sun, 10 Feb 2013 09:01:26 +0000 (10:01 +0100)]
mouse wheel handling: fix left / right scrolling events

scrolling right should set position forwards, not backwards

11 years agodvdnav/dvdread: run autoreconf
Rafaël Carré [Sat, 9 Feb 2013 22:54:55 +0000 (23:54 +0100)]
dvdnav/dvdread: run autoreconf

autogen.sh does not exist anymore

11 years agomacosx: update fullscreen menu item checkbox according to vout fullscreen variable
David Fuhrmann [Sat, 9 Feb 2013 14:50:15 +0000 (15:50 +0100)]
macosx: update fullscreen menu item checkbox according to vout fullscreen variable

11 years agomacosx: allow again to select lion fullscreen and nonembedded windows in simple prefs
David Fuhrmann [Sat, 9 Feb 2013 14:11:37 +0000 (15:11 +0100)]
macosx: allow again to select lion fullscreen and nonembedded windows in simple prefs

11 years agomacosx: directly toggle vout fullscreen variable to support multiple windows in fulls...
David Fuhrmann [Sat, 9 Feb 2013 14:06:40 +0000 (15:06 +0100)]
macosx: directly toggle vout fullscreen variable to support multiple windows in fullscreen

11 years agomacosx: also hide mouse cursor when detached window is in fullscreen
David Fuhrmann [Sat, 9 Feb 2013 10:07:44 +0000 (11:07 +0100)]
macosx: also hide mouse cursor when detached window is in fullscreen

11 years agomacosx: fix closing detached windows when in lion fullscreen
David Fuhrmann [Sat, 9 Feb 2013 09:51:12 +0000 (10:51 +0100)]
macosx: fix closing detached windows when in lion fullscreen

11 years agomacosx: only show fspanel when needed, additional fixed for lion fullscreen behavior
David Fuhrmann [Sat, 9 Feb 2013 09:18:14 +0000 (10:18 +0100)]
macosx: only show fspanel when needed, additional fixed for lion fullscreen behavior

11 years agomacosx: support multiple VLC windows in fullscreen, try to just display fspanel when...
David Fuhrmann [Fri, 8 Feb 2013 18:39:11 +0000 (19:39 +0100)]
macosx: support multiple VLC windows in fullscreen, try to just display fspanel when sensible

This allows main window and video window in fullscreen
Note that still the fspanel is displayed to often.

11 years agomacosx: add lion fullscreen support for detached windows
David Fuhrmann [Fri, 8 Feb 2013 17:48:44 +0000 (18:48 +0100)]
macosx: add lion fullscreen support for detached windows

11 years agoiOS: no tabs, in source-code
Jean-Baptiste Kempf [Sat, 9 Feb 2013 15:23:52 +0000 (16:23 +0100)]
iOS: no tabs, in source-code

11 years agoandroidsurface: simplify dlopen code
Rafaël Carré [Sat, 9 Feb 2013 13:34:04 +0000 (14:34 +0100)]
androidsurface: simplify dlopen code

11 years agoandroidsurface: cosmetics
Rafaël Carré [Sat, 9 Feb 2013 13:33:22 +0000 (14:33 +0100)]
androidsurface: cosmetics

11 years agoios vout: Avoid opengles1.1 naming convention for 2.0 version
Gleb Pinigin [Sat, 9 Feb 2013 11:01:57 +0000 (18:01 +0700)]
ios vout: Avoid opengles1.1 naming convention for 2.0 version

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
11 years agoskins2: fix memory leak
Erwan Tulou [Sat, 9 Feb 2013 08:18:36 +0000 (09:18 +0100)]
skins2: fix memory leak

11 years agoskins2: ensure that skins2 displays items exactly as qt4 does
Erwan Tulou [Sat, 9 Feb 2013 08:03:00 +0000 (09:03 +0100)]
skins2: ensure that skins2 displays items exactly as qt4 does

This patch copies qt4 getTitle function so that user can read the same
wording from skins2 as he/she reads from the qt4 interface.

11 years agoNEWS: mention OpenGL ES shader support and fix some typos
Felix Paul Kühne [Sat, 9 Feb 2013 00:33:09 +0000 (01:33 +0100)]
NEWS: mention OpenGL ES shader support and fix some typos

11 years agoopengl: remove debug
Felix Paul Kühne [Fri, 8 Feb 2013 21:56:58 +0000 (22:56 +0100)]
opengl: remove debug

11 years agoopengl: save a few #if since those are valuable
Felix Paul Kühne [Fri, 8 Feb 2013 21:55:20 +0000 (22:55 +0100)]
opengl: save a few #if since those are valuable

11 years agoopengl: protect precision settings, since current OS X OpenGL implementations don...
Felix Paul Kühne [Fri, 8 Feb 2013 21:45:16 +0000 (22:45 +0100)]
opengl: protect precision settings, since current OS X OpenGL implementations don't support it (yet)

11 years agoopengl: implement manual unpacking for OpenGL ES
Ilkka Ollakka [Fri, 8 Feb 2013 21:29:39 +0000 (22:29 +0100)]
opengl: implement manual unpacking for OpenGL ES

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
11 years agoopengl: fix compilation for OS X
Felix Paul Kühne [Fri, 8 Feb 2013 20:41:37 +0000 (21:41 +0100)]
opengl: fix compilation for OS X

11 years agoHandle case where dwFormat is WAVE_FORMAT_EXTENSIBLE
Denis Charmet [Fri, 8 Feb 2013 20:37:01 +0000 (21:37 +0100)]
Handle case where dwFormat is WAVE_FORMAT_EXTENSIBLE

11 years agoopengl: fixed shader support for iOS
Felix Paul Kühne [Fri, 8 Feb 2013 20:34:01 +0000 (21:34 +0100)]
opengl: fixed shader support for iOS

note that certain samples are not supported so far

11 years agovout_ios: use OpenGL ES 2 for rendering
Felix Paul Kühne [Fri, 8 Feb 2013 20:19:05 +0000 (21:19 +0100)]
vout_ios: use OpenGL ES 2 for rendering

11 years agoopengl: use OpenGL ES 2 on iOS and fix a compilation warning
Felix Paul Kühne [Fri, 8 Feb 2013 17:09:31 +0000 (18:09 +0100)]
opengl: use OpenGL ES 2 on iOS and fix a compilation warning

11 years agovout_ios: use a 32bit color scheme
Felix Paul Kühne [Fri, 8 Feb 2013 17:01:55 +0000 (18:01 +0100)]
vout_ios: use a 32bit color scheme

11 years agoconfigure: don't enforce OpenGL ES 1 on iOS
Felix Paul Kühne [Fri, 8 Feb 2013 17:01:05 +0000 (18:01 +0100)]
configure: don't enforce OpenGL ES 1 on iOS

11 years agotranscode: use 1001 as framerate base
Ilkka Ollakka [Fri, 8 Feb 2013 13:02:35 +0000 (15:02 +0200)]
transcode: use 1001 as framerate base

11 years agotranscode: reinit filter-chain when aspect-ratio changes
Ilkka Ollakka [Sat, 14 Jan 2012 21:20:04 +0000 (23:20 +0200)]
transcode: reinit filter-chain when aspect-ratio changes

11 years agoextras/package: compile for iOS 6.1 since it is public now
Felix Paul Kühne [Fri, 8 Feb 2013 13:08:09 +0000 (14:08 +0100)]
extras/package: compile for iOS 6.1 since it is public now

11 years agognutls: retry handshake if it returns a non-fatal error
Ludovic Fauvet [Thu, 7 Feb 2013 16:21:06 +0000 (17:21 +0100)]
gnutls: retry handshake if it returns a non-fatal error

Based on the gnutls_handshake manual the function must be called again
until it returns 0 (or a fatal error).

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agoaudioqueue: fix buffer leak (close #8140)
Felix Paul Kühne [Fri, 8 Feb 2013 09:40:51 +0000 (10:40 +0100)]
audioqueue: fix buffer leak (close #8140)

11 years agoauhal: fix prototype/definition mismatch (close #8148)
Felix Paul Kühne [Fri, 8 Feb 2013 09:32:23 +0000 (10:32 +0100)]
auhal: fix prototype/definition mismatch (close #8148)

11 years agoGestures: use left button, by default
Ludovic Fauvet [Thu, 7 Feb 2013 18:54:58 +0000 (19:54 +0100)]
Gestures: use left button, by default

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agoGestures: use the proper event name
Ludovic Fauvet [Thu, 7 Feb 2013 18:46:05 +0000 (19:46 +0100)]
Gestures: use the proper event name

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agomacosx: replace all 'key-action' calls with their proper counter-parts
Felix Paul Kühne [Thu, 7 Feb 2013 18:15:15 +0000 (19:15 +0100)]
macosx: replace all 'key-action' calls with their proper counter-parts

This excludes 'ACTIONID_POSITION' for which there doesn't seem to be a replacement.

11 years agoavi: Fix seek bar position when streaming through network (fixes #2151)
Samuel Pitoiset [Tue, 21 Aug 2012 17:48:37 +0000 (17:48 +0000)]
avi: Fix seek bar position when streaming through network (fixes #2151)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agoQt: Add moving main window on any part of a window
Alexander Terentyev [Wed, 5 Dec 2012 00:00:04 +0000 (11:00 +1100)]
Qt: Add moving main window on any part of a window

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agostream: Fix segfault caused by invalid seek
Rafaël Carré [Tue, 5 Feb 2013 22:58:47 +0000 (23:58 +0100)]
stream: Fix segfault caused by invalid seek

Sample can be found on https://www.dropbox.com/s/cd56gjk4ablimp5/A_lawnmower.wmv
md5: d87c039c304b41cc30bddfe21e88af36

11 years agolua: assembleenationale: Fix after website changes
François Revol [Sat, 2 Feb 2013 23:35:18 +0000 (00:35 +0100)]
lua: assembleenationale: Fix after website changes

Base urls not probed correctly yet, but hardcoded, I'm too lazy right now.

Parse direct.js some more to get stream name lists.

Fix the live streams list check.

Signed-off-by: François Revol <revol@free.fr>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agofix regression from 3118035
Sébastien Escudier [Thu, 7 Feb 2013 11:12:16 +0000 (12:12 +0100)]
fix regression from 3118035
Closes #8076

11 years agofix regression from 1925313da2 : vod creation failed in rtp stream out module because...
Sébastien Escudier [Thu, 7 Feb 2013 10:07:48 +0000 (11:07 +0100)]
fix regression from 1925313da2 : vod creation failed in rtp stream out module because it couldn't access some variable (vod-media and vod-session)

11 years agodbus: Oops, abandon the correct container on error paths
Mirsal Ennaime [Thu, 7 Feb 2013 03:18:12 +0000 (04:18 +0100)]
dbus: Oops, abandon the correct container on error paths

11 years agodbus: Add another memory allocation failure check
Mirsal Ennaime [Thu, 7 Feb 2013 02:54:11 +0000 (03:54 +0100)]
dbus: Add another memory allocation failure check

11 years agoTAB_FIND/TAB_REMOVE: remove inner variable, improve expansion safety
Rémi Denis-Courmont [Wed, 6 Feb 2013 18:56:02 +0000 (20:56 +0200)]
TAB_FIND/TAB_REMOVE: remove inner variable, improve expansion safety

11 years agodbus: Add memory allocation failure check
Mirsal Ennaime [Wed, 6 Feb 2013 14:16:26 +0000 (15:16 +0100)]
dbus: Add memory allocation failure check

11 years agoRemove aout_Packet from directsound audio output
Denis Charmet [Mon, 4 Feb 2013 21:42:23 +0000 (22:42 +0100)]
Remove aout_Packet from directsound audio output

11 years agoContribs: update dvdread to a new fork
Jean-Baptiste Kempf [Tue, 5 Feb 2013 18:59:38 +0000 (19:59 +0100)]
Contribs: update dvdread to a new fork

11 years agorename configuration page title for x264 options
Vittorio Giovara [Tue, 5 Feb 2013 18:39:47 +0000 (19:39 +0100)]
rename configuration page title for x264 options

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
11 years agoContrib: use a new DVDnav fork
Jean-Baptiste Kempf [Tue, 5 Feb 2013 18:24:02 +0000 (19:24 +0100)]
Contrib: use a new DVDnav fork

Should close #8125

11 years agoWin32: really fix poll() loop *cough* *cough*
Rémi Denis-Courmont [Tue, 5 Feb 2013 17:55:29 +0000 (19:55 +0200)]
Win32: really fix poll() loop *cough* *cough*

11 years agodbus: Add missing memory allocation failure handling
Mirsal Ennaime [Fri, 1 Feb 2013 17:25:45 +0000 (18:25 +0100)]
dbus: Add missing memory allocation failure handling

Handle memory allocation failures when sending the PropertyChanged
signal in the TrackList interface implementation.

11 years agodbus: Remove useless comment
Mirsal Ennaime [Fri, 1 Feb 2013 16:18:29 +0000 (17:18 +0100)]
dbus: Remove useless comment

11 years agodbus: Fix memleaks on error paths
Mirsal Ennaime [Fri, 1 Feb 2013 16:17:59 +0000 (17:17 +0100)]
dbus: Fix memleaks on error paths

11 years agomacosx: work-around for Mountain Lion which treats folder with the name 'BDMV' and...
Felix Paul Kühne [Tue, 5 Feb 2013 00:00:46 +0000 (01:00 +0100)]
macosx: work-around for Mountain Lion which treats folder with the name 'BDMV' and the sub item 'INDEX.BDM' as a file with the UTI 'public.directory'

11 years agoaudioqueue: fix compilation for OSX
Felix Paul Kühne [Mon, 4 Feb 2013 23:06:19 +0000 (00:06 +0100)]
audioqueue: fix compilation for OSX

11 years agoaudioqueue: use the AudioSession API to overwrite the mute switch during media playba...
Felix Paul Kühne [Mon, 4 Feb 2013 22:50:27 +0000 (23:50 +0100)]
audioqueue: use the AudioSession API to overwrite the mute switch during media playback (iOS only)

11 years agoaudioqueue: fix potential p_block leak
Felix Paul Kühne [Mon, 4 Feb 2013 22:03:09 +0000 (23:03 +0100)]
audioqueue: fix potential p_block leak

11 years agoaudioqueue: more cleanup
Felix Paul Kühne [Mon, 4 Feb 2013 21:48:50 +0000 (22:48 +0100)]
audioqueue: more cleanup

repack a struct and rename variables so they actually make sense

11 years agoaudioqueue: switch from section comments to more useful pragma marks since those...
Felix Paul Kühne [Mon, 4 Feb 2013 19:51:41 +0000 (20:51 +0100)]
audioqueue: switch from section comments to more useful pragma marks since those are recognized by Xcode

11 years agoaudioqueue: fix copyright years and add missing copyright holders
Felix Paul Kühne [Mon, 4 Feb 2013 19:07:03 +0000 (20:07 +0100)]
audioqueue: fix copyright years and add missing copyright holders

11 years agoaudioqueue: clean-up
Felix Paul Kühne [Mon, 4 Feb 2013 18:58:31 +0000 (19:58 +0100)]
audioqueue: clean-up

11 years agoaudioqueue: fixed potential TimeGet issue
Rafaël Carré [Mon, 4 Feb 2013 18:35:23 +0000 (19:35 +0100)]
audioqueue: fixed potential TimeGet issue

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
11 years agoNEWS: updates for Mac
Felix Paul Kühne [Mon, 4 Feb 2013 18:05:55 +0000 (19:05 +0100)]
NEWS: updates for Mac

11 years agowin32: do not get stuck in poll() with infinite timeout
Rémi Denis-Courmont [Mon, 4 Feb 2013 17:14:33 +0000 (19:14 +0200)]
win32: do not get stuck in poll() with infinite timeout

This really should be fixed more properly.

11 years agolibvlc_audio_set_track: return -1 on error
Rémi Denis-Courmont [Mon, 4 Feb 2013 16:38:04 +0000 (18:38 +0200)]
libvlc_audio_set_track: return -1 on error

Surprisingly, my gcc did not generate a possible unitilization warning.

11 years agolive555: buffer sizes are not considered safe
Rémi Denis-Courmont [Mon, 4 Feb 2013 16:26:06 +0000 (18:26 +0200)]
live555: buffer sizes are not considered safe

...so far.

11 years agoaudioqueue: don't avoid impossible case
Rafaël Carré [Mon, 4 Feb 2013 16:13:17 +0000 (17:13 +0100)]
audioqueue: don't avoid impossible case

Play() should always be fed with valid block_t *

11 years agoomxil: Remove a few audio codec mappings
Martin Storsjö [Mon, 4 Feb 2013 14:19:17 +0000 (16:19 +0200)]
omxil: Remove a few audio codec mappings

This reverts most of 2b101ff4a0.

VLC_CODEC_MP3 seems to work fine with multiple OMX mp3 decoders,
so keep it mapped.

VLC_CODEC_MPGA does work with some OMX mp3 decoders (OMX.SEC.mp3.dec
seems to handle it) but not with all (OMX.google.mp3.decoder doesn't
seem to handle it).

Vorbis does not work with OMX decoders in the current form. The only
such decoder I've seen is OMX.google.vorbis.decoder, and using it
requires us to modify the packets sent a little. Even if this can be
done pretty easily, the packet format feels more like an android
internal hack than an official spec of any sort, so disable this
mapping since there isn't much value in using it currently.

WMA does not work with OMX in the current form (tested with
OMX.SEC.wma.dec). I've got work in progress code that makes certain
WMA files work with it, but not all, so disable it until at least
most of them work properly.

11 years agolive555 : Add an option to change the frame buffer size, and increase the default...
Sébastien Escudier [Mon, 4 Feb 2013 11:02:27 +0000 (12:02 +0100)]
live555 : Add an option to change the frame buffer size, and increase the default value a little.
Closes #8103

11 years agoNEWS: announce that the infamous audio output failure on TASCAM's USD-based MIDI...
Felix Paul Kühne [Sun, 3 Feb 2013 20:32:58 +0000 (21:32 +0100)]
NEWS: announce that the infamous audio output failure on TASCAM's USD-based MIDI-interfaces is fixed

11 years agomacosx: fixed compilation warning and potential runtime exception
Felix Paul Kühne [Sun, 3 Feb 2013 20:05:23 +0000 (21:05 +0100)]
macosx: fixed compilation warning and potential runtime exception

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