Commit graph

104 commits

Author SHA1 Message Date
Sebastian Dröge
68b9eb58fd Port Android tutorials to 1.0 2013-10-31 10:25:59 +01:00
Xavi Artigas
dfb803a463 Fix memory leak in version string. 2013-05-02 12:52:17 +02:00
Xavi Artigas
636a0843b6 New icons 2012-11-08 12:16:45 +01:00
Xavi Artigas
ba19badffa Change screen name from Android tutorials to GStreamer tutorials. It think this makes more sense once the tutorials are installed on the device. 2012-10-23 16:22:37 +02:00
Xavi Artigas
efbde418b2 Package for the GStreamer class changed to com.gstreamer 2012-10-19 10:37:21 +02:00
Xavi Artigas
332de96d51 Fix tutorial number in debug output 2012-10-15 13:21:47 +02:00
Xavi Artigas
6bdae5f2a6 Do not use GST_ERROR before GStreamer has been initialized 2012-10-15 13:19:27 +02:00
Xavi Artigas
bce0f1d2fc New icons to better follow the Android design guidelines (and get rid of some Android Lint warnings) 2012-10-09 12:42:24 +02:00
Xavi Artigas
768e602485 Changed all comments to //, because Confluence has problems syntax highlighting Java with /* */ comments. Awesome. 2012-10-09 10:39:38 +02:00
Xavi Artigas
3c3388a5a6 Remove unused GIO module from Android.mk 2012-10-05 15:31:50 +02:00
Xavi Artigas
3df9913eb9 More copyright notices removed 2012-10-05 14:56:03 +02:00
Xavi Artigas
e7b066f06e Remove copyright notices 2012-10-05 11:21:26 +02:00
Xavi Artigas
a99fac623c Whitespacey 2012-10-04 17:54:41 +02:00
Xavi Artigas
87daf274ca First tutorial. 2012-10-04 12:15:02 +02:00
Xavi Artigas
e030812824 Rename tutorial-1 to tutorial-5 2012-10-03 14:17:08 +02:00
Xavi Artigas
90638fdd0e Highlight selected file in the file dialog chooser (could be highlighted MORE). 2012-10-03 13:40:50 +02:00
Sebastian Dröge
ac82125966 Link with all the useful plugins 2012-10-03 12:14:45 +02:00
Sebastian Dröge
2bec2df002 Add copyright/license foo for the file dialog 2012-10-03 11:07:17 +02:00
Sebastian Dröge
e67b567904 Add new filechooser 2012-10-02 16:54:27 +02:00
Sebastian Dröge
e3b897f4b5 Add support for selecting files 2012-10-02 13:31:54 +02:00
Sebastian Dröge
9a4b1977d4 Fix seeking 2012-10-01 16:56:49 +02:00
Sebastian Dröge
5ad29d568e Don't queue multiple timeouts for delayed seeking 2012-10-01 15:46:17 +02:00
Sebastian Dröge
3123532841 Implement throttling of seeks, only one seek per 500ms 2012-10-01 14:43:33 +02:00
Xavi Artigas
76c883fb8b Fix restoration of playing state after orientation change 2012-10-01 14:27:25 +02:00
Xavi Artigas
af9437ff7d Now that playbin2 is used, remove the vsink variable, and use factory_make instead of parse_launch. 2012-10-01 12:47:09 +02:00
Xavi Artigas
b809b23b24 Whitespacey 2012-10-01 12:37:57 +02:00
Xavi Artigas
ceaab451f2 Fix Seeking: Disable scrubbing seek for remote files, remember playing state after seek. Use media from gstreamer.com instead of freedesktop.org (weird buffering from the later) 2012-10-01 12:37:07 +02:00
Xavi Artigas
cf083414f6 Add API to set the URI instead of hardcoding it in the gst_launch 2012-10-01 10:41:23 +02:00
Sebastian Dröge
74543783c0 Only set GSTREAMER_SDK_ROOT if it wasn't set yet 2012-10-01 10:08:52 +02:00
Xavi Artigas
929f8eb55f Some debug output beautifying 2012-09-28 15:27:33 +02:00
Xavi Artigas
9eb55274bc Fix Android.mk and make it use GSTREAMER_SDK_ROOT_ANDROID 2012-09-28 12:12:21 +02:00
Sebastian Dröge
2ca5b7356c Use the OGV variant by default and use the fd.o server 2012-09-28 09:31:35 +02:00
Sebastian Dröge
555c456e9e Add some UI feedback for the buffering messages 2012-09-27 14:18:05 +02:00
Sebastian Dröge
6184907bbf Make sure to not go out of the target state due to buffering messages
E.g. go to PLAYING although we're only requested to PAUSED
2012-09-26 13:46:47 +02:00
Sebastian Dröge
3e795c9a19 Implement handling of buffering and clock-lost messages 2012-09-26 10:27:27 +02:00
Sebastian Dröge
a247dddc71 The volume element is needed by playbin2 too 2012-09-24 14:06:15 +02:00
Sebastian Dröge
5d66cfd40f Also link OpenSL ES plugin 2012-09-24 13:50:06 +02:00
Sebastian Dröge
4909c6489d Catch DURATION message and query new duration on the next UI refresh
This makes sure we always show the latest, real duration. Might
help with OGV streaming.
2012-09-24 11:29:39 +02:00
Sebastian Dröge
c375592018 Make the playbin2 pipeline the default 2012-09-24 11:23:40 +02:00
Sebastian Dröge
634bad5edd videofilter plugin is needed for playbin2 too 2012-09-24 10:19:00 +02:00
Xavi Artigas
a11dffbbc1 Better handling of state tracking in the UI. It now tracks what gst does, instead of just guessing from the buttons the user pressed. 2012-09-21 14:29:11 +02:00
Xavi Artigas
81bb469d72 Catch the exception thrown by GStreamer.init() and terminate application. 2012-09-21 10:58:17 +02:00
Xavi Artigas
56697bc5d5 Add some resilience. In many occasions native methods can be called where Gst is not yet initialized or being re-initialized. 2012-09-21 10:57:33 +02:00
Xavi Artigas
d7735e0f6d Reduce the number of gst plugins used, to approach what will be really needed. 2012-09-21 10:56:35 +02:00
Andoni Morales Alastruey
ec83a11e33 android-tutorial-1: update Android.mk with last changes 2012-09-20 12:29:40 +02:00
Xavi Artigas
eb5a50c851 Remove unused constructor 2012-09-20 11:38:35 +02:00
Sebastian Dröge
d685fd9281 Use the WebM video by default 2012-09-20 11:16:12 +02:00
Sebastian Dröge
20ab7db117 It's GStreamer.init(), not Init() 2012-09-20 11:13:36 +02:00
Sebastian Dröge
56e49fac4e Call GStreamer.Init() from onCreate(), otherwise the Context is not set up yet 2012-09-20 11:13:35 +02:00
Xavi Artigas
2baed2a80c Whitespacey 2012-09-20 10:32:49 +02:00