Commit graph

44 commits

Author SHA1 Message Date
Jan Schmidt
1e0b3ed778 Don't crash if no uri is passed in the intent
If we receive an intent with no attached data, don't
throw a null pointer exception - just don't set a URI
on the player.
2017-05-20 17:30:08 +02:00
Jan Schmidt
1116ae85e2 Play.java: Don't lookup R.id.surface_video twice.
R.id.surface_video was stored in the gsv variable just
above, don't look it up a second time.
2017-05-20 17:28:41 +02:00
Jan Schmidt
0436ec5b1c Support GSTREAMER_ROOT_ANDROID env var
If GSTREAMER_ROOT_ANDROID is set, try using
that for the location of the GStreamer Android tree,
but still allow it to be overridden in local
gradle properties
2017-05-20 17:28:17 +02:00
Arun Raghavan
71d85d3393 playback/player/android: Make plugin list in Android.mk easier to read
Minor Makefile reformatting to make how users can select what plugins
they want easier to figure out.
2017-04-03 13:23:50 +05:30
Arun Raghavan
e17b52b501 playback/player/android: Fix assets directory
Needed with GStreamer <= 1.10 and newer Android Studio so that we
correctly place the assets with respect to the rest of the code.
2017-01-06 19:00:17 +05:30
Arun Raghavan
0ede8b3796 playback/player/android: Force externalNativeBuild before Java building
This is needed so that we copy over the Java files from gst-android that
include the GStreamer class which is used while compiling app.
2017-01-02 11:21:11 +05:30
Sebastian Dröge
4cd72781af playback/player/android: Add .gitignore 2016-10-03 13:15:27 +03:00
Sebastian Dröge
8b0ea8257f playback/player/android: Switch to native gradle ndk-build support
Based on a patch by Olivier Crete for another project
  be9470a7e1
2016-10-03 13:15:19 +03:00
Arun Raghavan
a5cdde9119 playback/player/android: Switch to building against universal packages 2016-09-04 10:12:52 +03:00
Sebastian Dröge
fc41dd802f Add meson build system for playback/player/{gst-play,gtk} and network/http-launch 2016-08-26 19:02:24 +03:00
Arun Raghavan
5743b39d4e playback/player: android: Update build tools and gradle
New build tools needed for Instant Run, and Android Studio wants us to
update that and the gradle version.
2016-08-23 09:52:00 +03:00
Sebastian Dröge
2435b0e37c playback/player: android: Update build tools version and ship gradle wrapper script 2016-05-10 22:01:54 +03:00
Arun Raghavan
e8906735ae playback/player: android: Move to gradle based build 2016-02-11 21:52:44 +05:30
Sebastian Dröge
048de74441 playback/player: android: Register native_stop() with JNI
https://github.com/sdroege/gst-player/issues/143
2016-01-07 00:22:26 +02:00
Sebastian Dröge
f509043c1d playback/player: player: Build against GstPlayer version from gst-plugins-bad everywhere
The old version with everything included and buildable against GStreamer 1.6
can still be found in the gst-player-0.1 branch and will be continued to be
updated for a while.
2016-01-04 10:21:21 +02:00
Sebastian Dröge
addb63586b playback/player: player: Remove gst_player_new() and make gst_player_new_full() the normal constructor
In very few cases the simple version was actually needed and having the
parameters hidden by a _full() version caused application that actually needed
it to not use it.
2016-01-04 09:59:40 +02:00
Sebastian Dröge
8ccf31fcf9 playback/player: android: Fix compilation 2015-12-22 12:08:53 +01:00
Sebastian Dröge
af371bf38e playback/player: android: Allow building for multiple Android ABIs 2015-12-09 09:48:38 +02:00
Sebastian Dröge
eaed96145e playback/player: android: Don't do custom surface width/height calculations if we have no media width/height 2015-11-13 10:36:52 +01:00
Sebastian Dröge
00cad0da11 playback/player: android: Add more URI schemes, mimetypes and file extensions
Based on the AndroidManifest.xml of VLC for Android.
2015-11-13 10:36:24 +01:00
caseten
de7130efc2 playback/player: android: Fix typo for restricted codecs plugin 2015-11-08 15:22:51 +01:00
Sebastian Dröge
1d5a020a03 playback/player: Revert "android: Use gradle & ndk-build combo to generate the Android App"
This reverts commit a95ee9c61c371ec2b8d4ff59cace26451b11225a.

The gradle based build system has various problems currently.
2015-11-06 11:04:17 +01:00
Sebastian Dröge
9d8f476174 playback/player: Revert "android: Fix Windows build of the app"
This reverts commit 5d8c1868beec85ac02bcc6e0bfd0ad9dbb99a3b8.

The gradle based build system has various problems currently.
2015-11-06 11:04:14 +01:00
Sebastian Dröge
9ffdefc14f playback/player: Revert "README.md formatting."
This reverts commit 499f68c42371081204b6285227073a7eb165c652.

The gradle based build system has various problems currently.
2015-11-06 11:03:56 +01:00
Sebastian Dröge
c581233464 playback/player: android: Fix video rendering after GstPlayerVideoRenderer refactoring 2015-08-18 13:20:15 +03:00
Sebastian Dröge
21eb4b1ac7 playback/player: android: Unref player in native_free()
This makes sure it is actually shut down and does not emit any signals anymore
later, and also prevents a memory leak.
2015-05-11 09:23:27 +02:00
Sebastian Roth
4e899336b3 playback/player: README.md formatting. 2015-05-11 08:50:41 +02:00
Sebastian Roth
d33cc6c876 playback/player: android: Fix Windows build of the app
Fixes #36
2015-05-08 10:06:11 +02:00
Sebastian Roth
a31f95d06d playback/player: android: Use gradle & ndk-build combo to generate the Android App
Also add a video List selector.
2015-05-07 14:58:03 +02:00
Alex Moreno
696e1c9ab8 playback/player: android: fixed compilation error 2015-05-06 10:43:28 +02:00
Alex Moreno
261081aade playback/player: android: check return values from JNI methods in 'JNI_OnLoad' 2015-05-06 10:43:28 +02:00
Alex Moreno
c3928830cf playback/player: android: remove unused variable 'gst_app_thread' 2015-05-06 10:43:28 +02:00
Sebastian Dröge
2a5ba6574f playback/player: android: Add gstplayer-media-info.c to the build
JNI bindings still need updating for the new media info API.

https://github.com/sdroege/gst-player/issues/30
2015-05-04 22:38:15 +02:00
Sebastian Dröge
8ba8714b20 playback/player: Stop using GSlice for allocations, it's deprecated soon and slower than malloc in most places 2015-03-06 09:38:16 +01:00
Xavier Claessens
8b41422c77 playback/player: android: Cast pointers to gintptr to simplify code 2015-03-03 18:04:36 +01:00
Sebastian Dröge
5035124050 playback/player: Update Android bindings to the latest API 2015-03-01 14:20:17 +01:00
Thibault Saunier
97c4cfc670 playback/player: android: Link against GLib 2.0 as it is necessary 2014-11-12 16:36:39 +01:00
Sebastian Dröge
d0dc785d77 playback/player: Fix indention with gst-indent 2014-08-07 10:59:37 +02:00
Sebastian Dröge
7cb352aaa6 playback/player: Implement seek throttling 2014-08-05 19:12:02 +02:00
Sebastian Dröge
038cd47bfb playback/player: Add our own error domain and code 2014-08-03 17:06:26 +02:00
Sebastian Dröge
e85d26115a playback/player: Move dispatch-to-main-context out of the constructor and make it a normal property 2014-08-03 16:08:14 +02:00
Sebastian Dröge
090c766562 playback/player: Add initial build system with docs and tests and magic 2014-08-03 12:38:37 +02:00
Sebastian Dröge
b34e62884c playback/player: Move library around into a proper directory 2014-08-02 20:33:38 +02:00
Sebastian Dröge
be4f88ef41 playback/player: Add start of an Android player 2014-07-28 20:13:13 +02:00