- 31 Jan, 2013 12 commits
-
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
(Functions reordered to avoid forward declaration.)
-
- 30 Jan, 2013 14 commits
-
-
Rémi Denis-Courmont authored
-
KO Myung-Hun authored
This fixes the problem that SAP hangs on even if it has been canceled. Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
-
KO Myung-Hun authored
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
-
Gleb Pinigin authored
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
-
Martin Storsjö authored
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>
-
Martin Storsjö authored
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>
-
Martin Storsjö authored
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>
-
Martin Storsjö authored
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>
-
Martin Storsjö authored
Signed-off-by: Rafaël Carré <funman@videolan.org>
-
Martin Storsjö authored
Signed-off-by: Rafaël Carré <funman@videolan.org>
-
Martin Storsjö authored
Signed-off-by: Rafaël Carré <funman@videolan.org>
-
Martin Storsjö authored
Signed-off-by: Rafaël Carré <funman@videolan.org>
-
Alex Merry authored
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>
-
Alex Merry authored
Signed-off-by: Mirsal Ennaime <mirsal@videolan.org>
-
- 29 Jan, 2013 5 commits
-
-
Alex Merry authored
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>
-
Alex Merry authored
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>
-
Alex Merry authored
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>
-
Mirsal Ennaime authored
* Add missing call to vlc_object_release() in MarshalMetadata * Separate code paths with empty lines * Fix bracket position in if blocks
-
Alex Merry authored
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>
-
- 28 Jan, 2013 9 commits
-
-
Alex Merry authored
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>
-
Alex Merry authored
Several of these entries, such as xesam:artist, should be lists of strings, not strings. Signed-off-by: Mirsal Ennaime <mirsal@videolan.org>
-
Rafaël Carré authored
-
Alex Merry authored
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>
-
Alex Merry authored
This is in preparation for implementing GetAllProperties for the player and tracklist interfaces. Signed-off-by: Mirsal Ennaime <mirsal@videolan.org>
-
Erwan Tulou authored
-
Erwan Tulou authored
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.
-
Erwan Tulou authored
-
Erwan Tulou authored
-