Xavi Artigas [Mon, 6 May 2013 15:13:03 +0000 (17:13 +0200)]
Add comments, debug output, a bit of variable renaming and some code reorganization.
Xavi Artigas [Mon, 6 May 2013 14:49:03 +0000 (16:49 +0200)]
Large revamp to bring it closer to the Android tutorial 2.
Xavi Artigas [Mon, 6 May 2013 08:29:43 +0000 (10:29 +0200)]
Whitespace
Xavi Artigas [Mon, 6 May 2013 08:29:22 +0000 (10:29 +0200)]
Remove apparently superfluous parameter in call to sprintf
Xavi Artigas [Thu, 2 May 2013 11:43:43 +0000 (13:43 +0200)]
Match variable names to other tutorials
Xavi Artigas [Thu, 2 May 2013 11:30:17 +0000 (13:30 +0200)]
Merge branch 'master' of ssh://git.freedesktop.org/git/gstreamer-sdk/gst-sdk-tutorials
Xavi Artigas [Thu, 2 May 2013 11:30:02 +0000 (13:30 +0200)]
Change welcome string to match other tutorials
Xavi Artigas [Thu, 2 May 2013 10:53:04 +0000 (12:53 +0200)]
Merge branch 'master' of ssh://git.freedesktop.org/git/gstreamer-sdk/gst-sdk-tutorials
Xavi Artigas [Thu, 2 May 2013 10:52:17 +0000 (12:52 +0200)]
Fix memory leak in version string.
Xavi Artigas [Thu, 2 May 2013 10:00:00 +0000 (12:00 +0200)]
Whitespace
Xavi Artigas [Tue, 30 Apr 2013 12:10:25 +0000 (14:10 +0200)]
Add App Icons for Tutorial 2
Xavi Artigas [Tue, 30 Apr 2013 11:59:04 +0000 (13:59 +0200)]
Add App Icon for Tutorial 1
Xavi Artigas [Tue, 30 Apr 2013 11:13:08 +0000 (13:13 +0200)]
gitignore OS and xcode-generated files
Xavi Artigas [Tue, 30 Apr 2013 11:03:43 +0000 (13:03 +0200)]
Initial import of Tutorial 2 from thiagoss
Xavi Artigas [Tue, 30 Apr 2013 09:42:51 +0000 (11:42 +0200)]
Fix initialization function name
Xavi Artigas [Tue, 30 Apr 2013 09:19:04 +0000 (11:19 +0200)]
New template for autogenerated files
Xavi Artigas [Tue, 30 Apr 2013 08:51:00 +0000 (10:51 +0200)]
Remove copyright notices
Xavi Artigas [Tue, 30 Apr 2013 08:19:25 +0000 (10:19 +0200)]
Center label on screen
Xavi Artigas [Mon, 29 Apr 2013 15:45:38 +0000 (17:45 +0200)]
Initial import for iOS Tutorial 1
Xavi Artigas [Mon, 12 Nov 2012 09:09:56 +0000 (10:09 +0100)]
Allow the file chooser to preserve the current path across device orientation changes.
Xavi Artigas [Thu, 8 Nov 2012 11:16:45 +0000 (12:16 +0100)]
New icons
Xavi Artigas [Wed, 7 Nov 2012 13:06:11 +0000 (14:06 +0100)]
Better placement of the last_folder initialization.
Xavi Artigas [Wed, 7 Nov 2012 12:16:09 +0000 (13:16 +0100)]
Save last visited folder in the application state, so that it survives orientation changes, for example
Xavi Artigas [Wed, 7 Nov 2012 12:11:56 +0000 (13:11 +0100)]
Disable seek bar when media duration could not be queried (for still pictures, for example)
Xavi Artigas [Wed, 7 Nov 2012 11:00:09 +0000 (12:00 +0100)]
Remove unnecessary 'final' keywords
Xavi Artigas [Wed, 7 Nov 2012 10:55:45 +0000 (11:55 +0100)]
Handle media with no position or duration correctly (pictures, for example)
Xavi Artigas [Wed, 7 Nov 2012 09:35:53 +0000 (10:35 +0100)]
Somebody copy&pasted code from some other project... :)
Xavi Artigas [Tue, 6 Nov 2012 17:16:36 +0000 (18:16 +0100)]
Android format of XML
Xavi Artigas [Tue, 6 Nov 2012 16:49:04 +0000 (17:49 +0100)]
Whitespace and format
Xavi Artigas [Tue, 6 Nov 2012 16:46:50 +0000 (17:46 +0100)]
Clicking on the currently selected file accepts it.
Xavi Artigas [Tue, 6 Nov 2012 16:36:51 +0000 (17:36 +0100)]
Simplify file chooser row layout and allow showing file names longer than the text view.
Xavi Artigas [Tue, 6 Nov 2012 12:19:27 +0000 (13:19 +0100)]
Major revamp of the file chooser dialog to: Remove unused code/layout/strings, remember last visited folder, add a cancel button and beautify a bit the dialogs.
Xavi Artigas [Tue, 6 Nov 2012 09:49:43 +0000 (10:49 +0100)]
Better integration for local files with unknown MIME types.
Xavi Artigas [Mon, 5 Nov 2012 17:41:49 +0000 (18:41 +0100)]
Register tutorial 5 as a media player, so other applications (including browsers) can pass URIs to us. Unfortunately, the complete list of supported protocols and file extensions has to be provided, as Android does not seem to infer MIME types from file names.
Xavi Artigas [Mon, 5 Nov 2012 14:47:07 +0000 (15:47 +0100)]
XML formatting
Xavi Artigas [Mon, 5 Nov 2012 12:37:27 +0000 (13:37 +0100)]
Fix tutorial 5 seeking to last position after opening new media
Xavi Artigas [Mon, 5 Nov 2012 09:36:01 +0000 (10:36 +0100)]
Revamp tutorial 5 code to continue what we have been showing in all previous tutorials. Drop unused code and add goodies like media size reporting and seek throttling.
Sebastian Dröge [Fri, 2 Nov 2012 12:13:47 +0000 (13:13 +0100)]
Add GSTREAMER_EXTRA_DEPS as required for Android tutorials
Xavi Artigas [Tue, 30 Oct 2012 17:16:57 +0000 (18:16 +0100)]
Comment typo
Xavi Artigas [Tue, 30 Oct 2012 16:07:16 +0000 (17:07 +0100)]
Better approach to is_local_media
Xavi Artigas [Tue, 30 Oct 2012 11:28:10 +0000 (12:28 +0100)]
Comments
Xavi Artigas [Tue, 30 Oct 2012 09:38:13 +0000 (10:38 +0100)]
Comment
Sebastian Dröge [Tue, 30 Oct 2012 09:36:31 +0000 (10:36 +0100)]
Use WakeLock to prevent the screen from blanking during playback
Xavi Artigas [Mon, 29 Oct 2012 16:54:13 +0000 (17:54 +0100)]
Comments and code beautification. Remove useless UI messages.
Xavi Artigas [Mon, 29 Oct 2012 16:08:21 +0000 (17:08 +0100)]
Fix seek throttling again
Xavi Artigas [Mon, 29 Oct 2012 11:46:16 +0000 (12:46 +0100)]
Fix seek throttling. Comments. Method reordering.
Xavi Artigas [Mon, 29 Oct 2012 11:10:36 +0000 (12:10 +0100)]
Comments
Xavi Artigas [Fri, 26 Oct 2012 12:50:45 +0000 (14:50 +0200)]
Remove the 'fix' for successive orientation changes moving the clip slowly back in time, as it does not work.
Xavi Artigas [Fri, 26 Oct 2012 12:04:04 +0000 (14:04 +0200)]
Slightly better buffering UI messages
Xavi Artigas [Thu, 25 Oct 2012 16:21:13 +0000 (18:21 +0200)]
Add remaining bits from tutorial 5 to tutorial 4: Seeking, buffering, etc
Andoni Morales Alastruey [Thu, 25 Oct 2012 15:20:07 +0000 (17:20 +0200)]
Reorder tutorials
Andoni Morales Alastruey [Thu, 25 Oct 2012 15:05:53 +0000 (17:05 +0200)]
tutorials: fix missing gtk libs link
Xavi Artigas [Thu, 25 Oct 2012 08:11:30 +0000 (10:11 +0200)]
Use a different clip which does not have letterboxing, to better exemplify aspect ratio preservation. Comments.
Xavi Artigas [Wed, 24 Oct 2012 16:27:19 +0000 (18:27 +0200)]
Comments and debug output
Xavi Artigas [Wed, 24 Oct 2012 16:23:31 +0000 (18:23 +0200)]
Beautify subtitle flag
Xavi Artigas [Wed, 24 Oct 2012 16:14:36 +0000 (18:14 +0200)]
Retrieve media size from video sink once the pipe is in PAUSED and infom the application.
Xavi Artigas [Wed, 24 Oct 2012 10:41:53 +0000 (12:41 +0200)]
Some advances, nothing functional.
Xavi Artigas [Tue, 23 Oct 2012 14:59:18 +0000 (16:59 +0200)]
Initial Android Tutorial 4
Xavi Artigas [Tue, 23 Oct 2012 14:48:22 +0000 (16:48 +0200)]
Tutorial 3 requires OpenGL ES 2.0
Xavi Artigas [Tue, 23 Oct 2012 14:22:37 +0000 (16:22 +0200)]
Change screen name from Android tutorials to GStreamer tutorials. It think this makes more sense once the tutorials are installed on the device.
Xavi Artigas [Tue, 23 Oct 2012 13:52:04 +0000 (15:52 +0200)]
Comment
Xavi Artigas [Tue, 23 Oct 2012 10:30:25 +0000 (12:30 +0200)]
Fix the case where a new surface is provided without destroying the previous one. We have never observed this scenario, tough.
Xavi Artigas [Mon, 22 Oct 2012 16:17:31 +0000 (18:17 +0200)]
Code cleanup: only call gst_x_overlay_set_window_handle from one place.
Xavi Artigas [Mon, 22 Oct 2012 10:14:21 +0000 (12:14 +0200)]
Remove runtime detection of media size as it causes the layout to be recalculated once a frame has already been shown, and it looks ugly. A different solution will be tried for future tutorials.
Xavi Artigas [Fri, 19 Oct 2012 13:38:12 +0000 (15:38 +0200)]
Missing braces!
Xavi Artigas [Fri, 19 Oct 2012 12:38:46 +0000 (14:38 +0200)]
Whitespacey in layout
Xavi Artigas [Fri, 19 Oct 2012 12:36:01 +0000 (14:36 +0200)]
Comment
Xavi Artigas [Fri, 19 Oct 2012 12:35:10 +0000 (14:35 +0200)]
Implement remaining aspect ratio calculations
Xavi Artigas [Fri, 19 Oct 2012 12:05:41 +0000 (14:05 +0200)]
Give the default media size a 4:3 aspect ratio. This will make the tutorial look right, but it is not a fix for the first frame jumping into position.
Xavi Artigas [Fri, 19 Oct 2012 12:03:35 +0000 (14:03 +0200)]
Fix (workaround?, hack?) for expose() having the wrong surface size.
Xavi Artigas [Fri, 19 Oct 2012 08:37:21 +0000 (10:37 +0200)]
Package for the GStreamer class changed to com.gstreamer
Xavi Artigas [Thu, 18 Oct 2012 15:55:43 +0000 (17:55 +0200)]
Implement Aspect ratio preservation in GStreamerSurfaceView. Fix some corner cases that this triggers in the surface size reporting code.
Xavi Artigas [Thu, 18 Oct 2012 11:40:42 +0000 (13:40 +0200)]
Fix memleak :)
Xavi Artigas [Wed, 17 Oct 2012 13:58:17 +0000 (15:58 +0200)]
Remove video sink debug
Xavi Artigas [Wed, 17 Oct 2012 13:49:14 +0000 (15:49 +0200)]
Add warptv to the pipeline, for added awesomeness.
Xavi Artigas [Wed, 17 Oct 2012 12:01:12 +0000 (14:01 +0200)]
Proper reporting of media size. Now the Android layout controls the appearance of the clip, instead of it always being maximized.
Xavi Artigas [Wed, 17 Oct 2012 09:41:14 +0000 (11:41 +0200)]
Simplify playing state tracking (and fix some problems)
Xavi Artigas [Wed, 17 Oct 2012 09:33:55 +0000 (11:33 +0200)]
Remove unnecessary comment
Xavi Artigas [Wed, 17 Oct 2012 09:29:51 +0000 (11:29 +0200)]
Simplify playing state tracking (and fix some problems)
Xavi Artigas [Wed, 17 Oct 2012 08:28:53 +0000 (10:28 +0200)]
Whitespacey & comments
Xavi Artigas [Tue, 16 Oct 2012 09:45:34 +0000 (11:45 +0200)]
Some layout beautifying
Xavi Artigas [Tue, 16 Oct 2012 09:14:08 +0000 (11:14 +0200)]
Make sure the pipeline is in READY state before trying to set any window handle to the video sink. Send the app the Initialized signal after surface re-creation.
Xavi Artigas [Mon, 15 Oct 2012 16:50:28 +0000 (18:50 +0200)]
With proper debug output
Xavi Artigas [Mon, 15 Oct 2012 16:48:58 +0000 (18:48 +0200)]
Tutorial 3
Xavi Artigas [Mon, 15 Oct 2012 12:03:40 +0000 (14:03 +0200)]
Do not use GST_ERROR before GStreamer has been initialized (tutorial 5)
Xavi Artigas [Mon, 15 Oct 2012 11:50:34 +0000 (13:50 +0200)]
Do not use GST_ERROR before GStreamer has been initialized (tutorial 2)
Xavi Artigas [Mon, 15 Oct 2012 11:21:47 +0000 (13:21 +0200)]
Fix tutorial number in debug output
Xavi Artigas [Mon, 15 Oct 2012 11:19:27 +0000 (13:19 +0200)]
Do not use GST_ERROR before GStreamer has been initialized
Xavi Artigas [Thu, 11 Oct 2012 08:52:45 +0000 (10:52 +0200)]
Make our GLib context is the default one to make sure GSource created from libraries using the default context are properly disposed of.
Xavi Artigas [Thu, 11 Oct 2012 08:37:49 +0000 (10:37 +0200)]
Make all methods static except JNI_OnLoad
Xavi Artigas [Wed, 10 Oct 2012 13:43:25 +0000 (15:43 +0200)]
Proper initialization of GSources (setup before attach)
Xavi Artigas [Wed, 10 Oct 2012 10:15:38 +0000 (12:15 +0200)]
Beautify the layout a bit
Xavi Artigas [Wed, 10 Oct 2012 09:32:26 +0000 (11:32 +0200)]
Fix button re-enabling: it has to be done from the UI thread.
Xavi Artigas [Tue, 9 Oct 2012 15:11:11 +0000 (17:11 +0200)]
Add audioconvert and audioresample, for the sake of completeness.
Xavi Artigas [Tue, 9 Oct 2012 14:36:35 +0000 (16:36 +0200)]
git ignore
Xavi Artigas [Tue, 9 Oct 2012 10:42:24 +0000 (12:42 +0200)]
New icons to better follow the Android design guidelines (and get rid of some Android Lint warnings)
Xavi Artigas [Tue, 9 Oct 2012 08:41:32 +0000 (10:41 +0200)]
Regexp mangled some comments
Xavi Artigas [Tue, 9 Oct 2012 08:39:38 +0000 (10:39 +0200)]
Changed all comments to //, because Confluence has problems syntax highlighting Java with /* */ comments. Awesome.
Xavi Artigas [Mon, 8 Oct 2012 13:36:16 +0000 (15:36 +0200)]
Add comments. Whitespace. Some function renaming.
Xavi Artigas [Mon, 8 Oct 2012 09:55:59 +0000 (11:55 +0200)]
Initial tutorial 2