Jean-Baptiste Kempf
91f2183347
android.media.mediaplayer emulator: fill some functions
This is not really useful yet, but it can help show the limitations of
our API underneath.
11 years ago
Thomas Guillem
f7c8cd5f59
libvlc: Media: add constructor from fd
11 years ago
Thomas Guillem
14d11045a2
libvlc: Media: separate path and Uri constructors
11 years ago
Thomas Guillem
707db468f1
libvlc: Media: call Uri constructor when you have a Uri
11 years ago
Thomas Guillem
0f80701db9
libvlcjni: throw exception from VLCJniObject_getInstance
This partially reverts commit 56b12f466d .
11 years ago
Thomas Guillem
91ed357ef9
libvlcjni: throw exception from VLCJniObject_new*
11 years ago
Thomas Guillem
42324e9308
libvlcjni: fix warning
11 years ago
Jean-Baptiste Kempf
db76475a64
Use ReplaceFirst where applicable
11 years ago
Jean-Baptiste Kempf
8858f46359
Make LibVLCUtil.searchLibrary not use a Context
11 years ago
Jean-Baptiste Kempf
93ad29e81e
Remove libVLC.util.URItoFileName
11 years ago
Jean-Baptiste Kempf
bca088c2d6
Move HWDecoderUtil to util
11 years ago
Jean-Baptiste Kempf
e71391475b
VideoView: first implementations
11 years ago
Thomas Guillem
45a3dbd31f
libvlcjni: fix old event handler
11 years ago
Thomas Guillem
3d208fb236
Revert "Move MediaWrapper to libVLC"
This reverts commit 455a42cab9 .
11 years ago
Thomas Guillem
1670a054da
Revert "Move MediaWrapperList to libVLC"
This reverts commit 6ceb84e0b6 .
11 years ago
Jean-Baptiste Kempf
0a4fc67959
Media: new helper to create from a URI
11 years ago
Jean-Baptiste Kempf
3d9c83fa94
Move the MediaPlayer to VLCObject
11 years ago
Jean-Baptiste Kempf
ecc62cc970
Mediaplayer: split of playMRL and create
This should avoid destroying and recreating the MediaPlayer on each play
11 years ago
Jean-Baptiste Kempf
f365c422eb
Move numerous calls from LibVLC to MediaPlayer
This changes a lot of code, so it keeps a kind of singleton MediaPlayer
to not break much more of it.
11 years ago
Jean-Baptiste Kempf
00dab3683f
New class named MediaPlayer to mimick libVLC
11 years ago
Thomas Guillem
56b12f466d
libvlcjni: add helper to get vlcobject instance
11 years ago
Jean-Baptiste Kempf
af5d7d15ae
Move libvlcjni.h to libvlcjni-modules.h
11 years ago
Jean-Baptiste Kempf
020fd734db
First step for the split between libVLC and MediaPlayer classes
11 years ago
Jean-Baptiste Kempf
35bf28e722
Add a MediaPlayer Skeleton
This is mimicking android.media.videoview and the skeleton was done
based on the public JavaDoc
This is currently useless
11 years ago
Jean-Baptiste Kempf
589666ea88
Add a VideoView Skeleton
This is mimicking android.media.videoview and the skeleton was done
based on the public JavaDoc
It is currently useless
11 years ago
Jean-Baptiste Kempf
6ceb84e0b6
Move MediaWrapperList to libVLC
11 years ago
Jean-Baptiste Kempf
455a42cab9
Move MediaWrapper to libVLC
11 years ago
Thomas Guillem
a02cd4ff3b
enable libarchive
11 years ago
Thomas Guillem
4ac43ca8b8
libvlcjni: fix bad cast between long and jlong
11 years ago
Thomas Guillem
71b2784206
libvlcjni: use WeakReference compat before gingerbread mr1
11 years ago
Thomas Guillem
78da820fee
Fix switch to video when track id is different than 0
Fixes #14429
11 years ago
Thomas Guillem
b70e12dec9
libvlcjni: fix media leak
11 years ago
Thomas Guillem
5c3bde7a04
LibVLC: add mediacodec_ndk and mediacodec_jni codecs
11 years ago
Geoffrey Métais
3950e2a08d
Add check method for HoneyComb MR1 release
11 years ago
Thomas Guillem
721f9ed499
HWDecoderUtil: No MediaCodec by default for MTK65* before Android 4.3
11 years ago
Thomas Guillem
56f9a0d75f
HWDecoderUtil: blacklist some bad samsung cpu
It's temporary, we need to get hands on these device in order to debug it.
11 years ago
Geoffrey Métais
d464b77fd6
SMB discovery for debug only
11 years ago
Thomas Guillem
8472a72632
libvlc: add std_logger.c
By default, stdout/stderr are deactivated, i.e. they are opened on /dev/null.
std_logger_Open will duplicate stdout and stderr fd on a write end of a pipe. A
thread will be created and will print the read end of the pipe.
Standard output will be printed with "VLC-std" TAG with debug priority.
Standard error will be printed with "VLC-std" TAG with error priority.
It's not activated by default since we don't want to mess up with the
application file descriptors.
11 years ago
Geoffrey Métais
15d0b1fd03
Method changeEventListener for MediaBrowser
11 years ago
Thomas Guillem
129804a808
libvlc: add setVideoTrack
12 years ago
Thomas Guillem
c0f2d9c4ad
libvlcjni: remove eventVideoPlayerActivityCreated
12 years ago
Thomas Guillem
55bfe1aed2
libvlcjni: jni_LockAndGetSubtitlesSurface returns immediatly
12 years ago
Thomas Guillem
645e32af3f
LibVLC: add a method to activate spdif and surround
12 years ago
Thomas Guillem
383fd81da6
vlcobject: get rid of java_event thread
Process java events directly from vlc event callback
12 years ago
Thomas Guillem
e50fad5fe3
libvlcjni: simplify/improve the attachment of a thread to the Java VM
There is now only one way to get a JNIEnv: jni_get_env. This function use the
thread-specific data (TSD) areas to save a JNIEnv into a TSD key. The thread
will be automatically detached to the Java VM when it's canceled or exited.
12 years ago
Thomas Guillem
abb34b9c29
Hwdec: No OMX for Exynos 4
It freeze on these devices, so don't use OMX until we found a solution.
12 years ago
Thomas Guillem
fce465410e
libvlcjni: fix local ref leak
12 years ago
Thomas Guillem
fc057c0831
No AudioTrack for Amazon Fire OS
AudioTrack seems to be broken on Amazon Fire OS tablets. Indeed,
getPlaybackHeadPosition() returns an invalid position, therefore audio/video
synchronisation is not possible.
12 years ago
Thomas Guillem
1de1ab2c59
Use HWDecoderUtil.getAudioOutputFromDevice
12 years ago
Thomas Guillem
71e7822675
HWDecoderUtil: add getAudioOutputFromDevice()
Return the audio output known to work for the running device.
Only AudioTrack before GingerBread, OpenSles and AudioTrack after.
12 years ago