platform/upstream/gstreamer.git
11 years agoBeautify subtitle flag
Xavi Artigas [Wed, 24 Oct 2012 16:23:31 +0000 (18:23 +0200)]
Beautify subtitle flag

11 years agoRetrieve media size from video sink once the pipe is in PAUSED and infom the application.
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.

11 years agoSome advances, nothing functional.
Xavi Artigas [Wed, 24 Oct 2012 10:41:53 +0000 (12:41 +0200)]
Some advances, nothing functional.

11 years agoInitial Android Tutorial 4
Xavi Artigas [Tue, 23 Oct 2012 14:59:18 +0000 (16:59 +0200)]
Initial Android Tutorial 4

11 years agoTutorial 3 requires OpenGL ES 2.0
Xavi Artigas [Tue, 23 Oct 2012 14:48:22 +0000 (16:48 +0200)]
Tutorial 3 requires OpenGL ES 2.0

11 years agoChange screen name from Android tutorials to GStreamer tutorials. It think this makes...
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.

11 years agoComment
Xavi Artigas [Tue, 23 Oct 2012 13:52:04 +0000 (15:52 +0200)]
Comment

11 years agoFix the case where a new surface is provided without destroying the previous one...
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.

11 years agoCode cleanup: only call gst_x_overlay_set_window_handle from one place.
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.

11 years agoRemove runtime detection of media size as it causes the layout to be recalculated...
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.

11 years agoMissing braces!
Xavi Artigas [Fri, 19 Oct 2012 13:38:12 +0000 (15:38 +0200)]
Missing braces!

11 years agoWhitespacey in layout
Xavi Artigas [Fri, 19 Oct 2012 12:38:46 +0000 (14:38 +0200)]
Whitespacey in layout

11 years agoComment
Xavi Artigas [Fri, 19 Oct 2012 12:36:01 +0000 (14:36 +0200)]
Comment

11 years agoImplement remaining aspect ratio calculations
Xavi Artigas [Fri, 19 Oct 2012 12:35:10 +0000 (14:35 +0200)]
Implement remaining aspect ratio calculations

11 years agoGive the default media size a 4:3 aspect ratio. This will make the tutorial look...
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.

11 years agoFix (workaround?, hack?) for expose() having the wrong surface size.
Xavi Artigas [Fri, 19 Oct 2012 12:03:35 +0000 (14:03 +0200)]
Fix (workaround?, hack?) for expose() having the wrong surface size.

11 years agoPackage for the GStreamer class changed to com.gstreamer
Xavi Artigas [Fri, 19 Oct 2012 08:37:21 +0000 (10:37 +0200)]
Package for the GStreamer class changed to com.gstreamer

11 years agoImplement Aspect ratio preservation in GStreamerSurfaceView. Fix some corner cases...
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.

11 years agoFix memleak :)
Xavi Artigas [Thu, 18 Oct 2012 11:40:42 +0000 (13:40 +0200)]
Fix memleak :)

11 years agoRemove video sink debug
Xavi Artigas [Wed, 17 Oct 2012 13:58:17 +0000 (15:58 +0200)]
Remove video sink debug

11 years agoAdd warptv to the pipeline, for added awesomeness.
Xavi Artigas [Wed, 17 Oct 2012 13:49:14 +0000 (15:49 +0200)]
Add warptv to the pipeline, for added awesomeness.

11 years agoProper reporting of media size. Now the Android layout controls the appearance of...
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.

11 years agoSimplify playing state tracking (and fix some problems)
Xavi Artigas [Wed, 17 Oct 2012 09:41:14 +0000 (11:41 +0200)]
Simplify playing state tracking (and fix some problems)

11 years agoRemove unnecessary comment
Xavi Artigas [Wed, 17 Oct 2012 09:33:55 +0000 (11:33 +0200)]
Remove unnecessary comment

11 years agoSimplify playing state tracking (and fix some problems)
Xavi Artigas [Wed, 17 Oct 2012 09:29:51 +0000 (11:29 +0200)]
Simplify playing state tracking (and fix some problems)

11 years agoWhitespacey & comments
Xavi Artigas [Wed, 17 Oct 2012 08:28:53 +0000 (10:28 +0200)]
Whitespacey & comments

11 years agoSome layout beautifying
Xavi Artigas [Tue, 16 Oct 2012 09:45:34 +0000 (11:45 +0200)]
Some layout beautifying

11 years agoMake sure the pipeline is in READY state before trying to set any window handle to...
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.

11 years agoWith proper debug output
Xavi Artigas [Mon, 15 Oct 2012 16:50:28 +0000 (18:50 +0200)]
With proper debug output

11 years agoTutorial 3
Xavi Artigas [Mon, 15 Oct 2012 16:48:58 +0000 (18:48 +0200)]
Tutorial 3

11 years agoDo not use GST_ERROR before GStreamer has been initialized (tutorial 5)
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)

11 years agoDo not use GST_ERROR before GStreamer has been initialized (tutorial 2)
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)

11 years agoFix tutorial number in debug output
Xavi Artigas [Mon, 15 Oct 2012 11:21:47 +0000 (13:21 +0200)]
Fix tutorial number in debug output

11 years agoDo not use GST_ERROR before GStreamer has been initialized
Xavi Artigas [Mon, 15 Oct 2012 11:19:27 +0000 (13:19 +0200)]
Do not use GST_ERROR before GStreamer has been initialized

12 years agoMake our GLib context is the default one to make sure GSource created from libraries...
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.

12 years agoMake all methods static except JNI_OnLoad
Xavi Artigas [Thu, 11 Oct 2012 08:37:49 +0000 (10:37 +0200)]
Make all methods static except JNI_OnLoad

12 years agoProper initialization of GSources (setup before attach)
Xavi Artigas [Wed, 10 Oct 2012 13:43:25 +0000 (15:43 +0200)]
Proper initialization of GSources (setup before attach)

12 years agoBeautify the layout a bit
Xavi Artigas [Wed, 10 Oct 2012 10:15:38 +0000 (12:15 +0200)]
Beautify the layout a bit

12 years agoFix button re-enabling: it has to be done from the UI thread.
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.

12 years agoAdd audioconvert and audioresample, for the sake of completeness.
Xavi Artigas [Tue, 9 Oct 2012 15:11:11 +0000 (17:11 +0200)]
Add audioconvert and audioresample, for the sake of completeness.

12 years agogit ignore
Xavi Artigas [Tue, 9 Oct 2012 14:36:35 +0000 (16:36 +0200)]
git ignore

12 years agoNew icons to better follow the Android design guidelines (and get rid of some Android...
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)

12 years agoRegexp mangled some comments
Xavi Artigas [Tue, 9 Oct 2012 08:41:32 +0000 (10:41 +0200)]
Regexp mangled some comments

12 years agoChanged all comments to //, because Confluence has problems syntax highlighting Java...
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.

12 years agoAdd comments. Whitespace. Some function renaming.
Xavi Artigas [Mon, 8 Oct 2012 13:36:16 +0000 (15:36 +0200)]
Add comments. Whitespace. Some function renaming.

12 years agoInitial tutorial 2
Xavi Artigas [Mon, 8 Oct 2012 09:55:59 +0000 (11:55 +0200)]
Initial tutorial 2

12 years agoRemove unused GIO module from Android.mk
Xavi Artigas [Fri, 5 Oct 2012 13:31:50 +0000 (15:31 +0200)]
Remove unused GIO module from Android.mk

12 years agoMore copyright notices removed
Xavi Artigas [Fri, 5 Oct 2012 12:56:03 +0000 (14:56 +0200)]
More copyright notices removed

12 years agoRemove copyright notices
Xavi Artigas [Fri, 5 Oct 2012 09:21:26 +0000 (11:21 +0200)]
Remove copyright notices

12 years agoWhitespacey
Xavi Artigas [Thu, 4 Oct 2012 15:54:41 +0000 (17:54 +0200)]
Whitespacey

12 years agoMove icons to proper folder. Replace generic Android icon with GStreamer SDK.
Xavi Artigas [Thu, 4 Oct 2012 14:20:51 +0000 (16:20 +0200)]
Move icons to proper folder. Replace generic Android icon with GStreamer SDK.

12 years agoReset duration after changing the URI
Sebastian Dröge [Thu, 4 Oct 2012 14:15:37 +0000 (16:15 +0200)]
Reset duration after changing the URI

12 years agoFirst tutorial.
Xavi Artigas [Thu, 4 Oct 2012 10:15:02 +0000 (12:15 +0200)]
First tutorial.

12 years agoDisable subtitles for now
Sebastian Dröge [Wed, 3 Oct 2012 14:38:03 +0000 (16:38 +0200)]
Disable subtitles for now

12 years agoRename tutorial-1 to tutorial-5
Xavi Artigas [Wed, 3 Oct 2012 12:17:08 +0000 (14:17 +0200)]
Rename tutorial-1 to tutorial-5

12 years agoHighlight selected file in the file dialog chooser (could be highlighted MORE).
Xavi Artigas [Wed, 3 Oct 2012 11:40:50 +0000 (13:40 +0200)]
Highlight selected file in the file dialog chooser (could be highlighted MORE).

12 years agoLink with all the useful plugins
Sebastian Dröge [Wed, 3 Oct 2012 10:14:45 +0000 (12:14 +0200)]
Link with all the useful plugins

12 years agoAdd copyright/license foo for the file dialog
Sebastian Dröge [Wed, 3 Oct 2012 09:07:17 +0000 (11:07 +0200)]
Add copyright/license foo for the file dialog

12 years agoAdd new filechooser
Sebastian Dröge [Tue, 2 Oct 2012 14:54:27 +0000 (16:54 +0200)]
Add new filechooser

12 years agoAdd support for selecting files
Sebastian Dröge [Tue, 2 Oct 2012 11:31:39 +0000 (13:31 +0200)]
Add support for selecting files

12 years agoMerge branch 'master' into sdk-0.0.1
Xavi Artigas [Mon, 1 Oct 2012 15:52:10 +0000 (17:52 +0200)]
Merge branch 'master' into sdk-0.0.1

12 years agoMerge branch 'android'
Xavi Artigas [Mon, 1 Oct 2012 15:43:12 +0000 (17:43 +0200)]
Merge branch 'android'

12 years agoFix seeking
Sebastian Dröge [Mon, 1 Oct 2012 14:56:49 +0000 (16:56 +0200)]
Fix seeking

12 years agoDon't queue multiple timeouts for delayed seeking
Sebastian Dröge [Mon, 1 Oct 2012 13:46:17 +0000 (15:46 +0200)]
Don't queue multiple timeouts for delayed seeking

12 years agoImplement throttling of seeks, only one seek per 500ms
Sebastian Dröge [Mon, 1 Oct 2012 12:43:01 +0000 (14:43 +0200)]
Implement throttling of seeks, only one seek per 500ms

12 years agoFix restoration of playing state after orientation change
Xavi Artigas [Mon, 1 Oct 2012 12:27:25 +0000 (14:27 +0200)]
Fix restoration of playing state after orientation change

12 years agoNow that playbin2 is used, remove the vsink variable, and use factory_make instead...
Xavi Artigas [Mon, 1 Oct 2012 10:47:09 +0000 (12:47 +0200)]
Now that playbin2 is used, remove the vsink variable, and use factory_make instead of parse_launch.

12 years agoWhitespacey
Xavi Artigas [Mon, 1 Oct 2012 10:37:57 +0000 (12:37 +0200)]
Whitespacey

12 years agoFix Seeking: Disable scrubbing seek for remote files, remember playing state after...
Xavi Artigas [Mon, 1 Oct 2012 10:37:07 +0000 (12:37 +0200)]
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)

12 years agoAdd API to set the URI instead of hardcoding it in the gst_launch
Xavi Artigas [Mon, 1 Oct 2012 08:40:51 +0000 (10:40 +0200)]
Add API to set the URI instead of hardcoding it in the gst_launch

12 years agoOnly set GSTREAMER_SDK_ROOT if it wasn't set yet
Sebastian Dröge [Mon, 1 Oct 2012 08:08:52 +0000 (10:08 +0200)]
Only set GSTREAMER_SDK_ROOT if it wasn't set yet

12 years agoSome debug output beautifying
Xavi Artigas [Fri, 28 Sep 2012 13:27:33 +0000 (15:27 +0200)]
Some debug output beautifying

12 years agoFix Android.mk and make it use GSTREAMER_SDK_ROOT_ANDROID
Xavi Artigas [Fri, 28 Sep 2012 10:12:21 +0000 (12:12 +0200)]
Fix Android.mk and make it use GSTREAMER_SDK_ROOT_ANDROID

12 years agoUse the OGV variant by default and use the fd.o server
Sebastian Dröge [Fri, 28 Sep 2012 07:31:35 +0000 (09:31 +0200)]
Use the OGV variant by default and use the fd.o server

12 years agoAdd some UI feedback for the buffering messages
Sebastian Dröge [Thu, 27 Sep 2012 12:18:05 +0000 (14:18 +0200)]
Add some UI feedback for the buffering messages

12 years agoMake sure to not go out of the target state due to buffering messages
Sebastian Dröge [Wed, 26 Sep 2012 11:46:47 +0000 (13:46 +0200)]
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

12 years agoImplement handling of buffering and clock-lost messages
Sebastian Dröge [Wed, 26 Sep 2012 08:27:27 +0000 (10:27 +0200)]
Implement handling of buffering and clock-lost messages

12 years agoThe volume element is needed by playbin2 too
Sebastian Dröge [Mon, 24 Sep 2012 12:06:15 +0000 (14:06 +0200)]
The volume element is needed by playbin2 too

12 years agoAlso link OpenSL ES plugin
Sebastian Dröge [Mon, 24 Sep 2012 11:50:06 +0000 (13:50 +0200)]
Also link OpenSL ES plugin

12 years agoCatch DURATION message and query new duration on the next UI refresh
Sebastian Dröge [Mon, 24 Sep 2012 09:29:39 +0000 (11:29 +0200)]
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.

12 years agoMake the playbin2 pipeline the default
Sebastian Dröge [Mon, 24 Sep 2012 09:23:40 +0000 (11:23 +0200)]
Make the playbin2 pipeline the default

12 years agovideofilter plugin is needed for playbin2 too
Sebastian Dröge [Mon, 24 Sep 2012 08:19:00 +0000 (10:19 +0200)]
videofilter plugin is needed for playbin2 too

12 years agoBetter handling of state tracking in the UI. It now tracks what gst does, instead...
Xavi Artigas [Fri, 21 Sep 2012 12:29:11 +0000 (14:29 +0200)]
Better handling of state tracking in the UI. It now tracks what gst does, instead of just guessing from the buttons the user pressed.

12 years agoCatch the exception thrown by GStreamer.init() and terminate application.
Xavi Artigas [Fri, 21 Sep 2012 08:58:17 +0000 (10:58 +0200)]
Catch the exception thrown by GStreamer.init() and terminate application.

12 years agoAdd some resilience. In many occasions native methods can be called where Gst is...
Xavi Artigas [Fri, 21 Sep 2012 08:57:33 +0000 (10:57 +0200)]
Add some resilience. In many occasions native methods can be called where Gst is not yet initialized or being re-initialized.

12 years agoReduce the number of gst plugins used, to approach what will be really needed.
Xavi Artigas [Fri, 21 Sep 2012 08:56:35 +0000 (10:56 +0200)]
Reduce the number of gst plugins used, to approach what will be really needed.

12 years agoandroid-tutorial-1: update Android.mk with last changes
Andoni Morales Alastruey [Thu, 20 Sep 2012 10:29:40 +0000 (12:29 +0200)]
android-tutorial-1: update Android.mk with last changes

12 years agoRemove unused constructor
Xavi Artigas [Thu, 20 Sep 2012 09:38:35 +0000 (11:38 +0200)]
Remove unused constructor

12 years agoUse the WebM video by default
Sebastian Dröge [Thu, 20 Sep 2012 09:16:12 +0000 (11:16 +0200)]
Use the WebM video by default

12 years agoIt's GStreamer.init(), not Init()
Sebastian Dröge [Thu, 20 Sep 2012 09:13:21 +0000 (11:13 +0200)]
It's GStreamer.init(), not Init()

12 years agoCall GStreamer.Init() from onCreate(), otherwise the Context is not set up yet
Sebastian Dröge [Thu, 20 Sep 2012 09:11:23 +0000 (11:11 +0200)]
Call GStreamer.Init() from onCreate(), otherwise the Context is not set up yet

12 years agoWhitespacey
Xavi Artigas [Thu, 20 Sep 2012 08:32:49 +0000 (10:32 +0200)]
Whitespacey

12 years agoAdd a queue to the test pipeline
Xavi Artigas [Wed, 19 Sep 2012 15:58:23 +0000 (17:58 +0200)]
Add a queue to the test pipeline

12 years agoUse the new GStreamer.Init() method to initialize GStreamer.
Xavi Artigas [Wed, 19 Sep 2012 14:50:38 +0000 (16:50 +0200)]
Use the new GStreamer.Init() method to initialize GStreamer.

12 years agoRemove unnecessary destruction of GSources
Xavi Artigas [Wed, 19 Sep 2012 11:16:45 +0000 (13:16 +0200)]
Remove unnecessary destruction of GSources

12 years agoUse custom GMainContext to avoid potential interference with other libraries using...
Xavi Artigas [Wed, 19 Sep 2012 10:18:41 +0000 (12:18 +0200)]
Use custom GMainContext to avoid potential interference with other libraries using GLib

12 years agoRemove compiler warning
Xavi Artigas [Tue, 18 Sep 2012 14:48:39 +0000 (16:48 +0200)]
Remove compiler warning

12 years agoPrevent the C code from notifying Java too many times about GStreamer being initialized
Xavi Artigas [Tue, 18 Sep 2012 14:02:43 +0000 (16:02 +0200)]
Prevent the C code from notifying Java too many times about GStreamer being initialized

12 years agoRevamp initialization code. Now the library informs java when initialization is compl...
Xavi Artigas [Tue, 18 Sep 2012 12:32:02 +0000 (14:32 +0200)]
Revamp initialization code. Now the library informs java when initialization is complete (pipeline built and native window received).

12 years agoRemove unused variable
Xavi Artigas [Tue, 18 Sep 2012 11:40:22 +0000 (13:40 +0200)]
Remove unused variable