platform/upstream/gstreamer.git
11 years agoFix seeking
Sebastian Dröge [Mon, 1 Oct 2012 14:56:49 +0000 (16:56 +0200)]
Fix seeking

11 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

11 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

11 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

11 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.

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

11 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)

11 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

11 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

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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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.

11 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

11 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

11 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.

11 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.

11 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.

11 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.

11 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

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

11 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

11 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()

11 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

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

11 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

11 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.

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

11 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

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

11 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

11 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).

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

11 years agoBeautify hardcoded time values
Xavi Artigas [Tue, 18 Sep 2012 10:39:39 +0000 (12:39 +0200)]
Beautify hardcoded time values

11 years agoAdd a bit of resilience at class initialization
Xavi Artigas [Tue, 18 Sep 2012 10:36:17 +0000 (12:36 +0200)]
Add a bit of resilience at class initialization

11 years agoRename some methods for clarity
Xavi Artigas [Tue, 18 Sep 2012 10:09:49 +0000 (12:09 +0200)]
Rename some methods for clarity

11 years agoRemove video app sink now that there is a working egl sink.
Xavi Artigas [Tue, 18 Sep 2012 09:55:46 +0000 (11:55 +0200)]
Remove video app sink now that there is a working egl sink.

11 years agoAdd comment regarding previoud rounding.
Xavi Artigas [Mon, 17 Sep 2012 16:26:55 +0000 (18:26 +0200)]
Add comment regarding previoud rounding.

11 years agoPrevent successive orientation changes from moving the clip backwards in time due...
Xavi Artigas [Mon, 17 Sep 2012 16:24:00 +0000 (18:24 +0200)]
Prevent successive orientation changes from moving the clip backwards in time due to gst-nanos / java-millis rounding errors plus seeking to keyframes.

11 years agogitignore
Xavi Artigas [Mon, 17 Sep 2012 16:14:28 +0000 (18:14 +0200)]
gitignore

11 years agoRemove invalid extra unref on the gst bus
Xavi Artigas [Mon, 17 Sep 2012 15:35:32 +0000 (17:35 +0200)]
Remove invalid extra unref on the gst bus

11 years agoTypo in comment
Xavi Artigas [Mon, 17 Sep 2012 15:24:04 +0000 (17:24 +0200)]
Typo in comment

11 years agoStart in PAUSED so clip length is shown since the beginning. Allow orientation change...
Xavi Artigas [Mon, 17 Sep 2012 11:48:08 +0000 (13:48 +0200)]
Start in PAUSED so clip length is shown since the beginning. Allow orientation changes in PAUSED.

11 years agoDo not set the pipeline to NULL on EOS, as parse_launch pipelines are not reusable.
Xavi Artigas [Mon, 17 Sep 2012 11:31:24 +0000 (13:31 +0200)]
Do not set the pipeline to NULL on EOS, as parse_launch pipelines are not reusable.

11 years agoAllow refreshing the ui (the timer, basically) when in PAUSED (when seeking, basically)
Xavi Artigas [Mon, 17 Sep 2012 10:59:33 +0000 (12:59 +0200)]
Allow refreshing the ui (the timer, basically) when in PAUSED (when seeking, basically)

11 years agoSeeking in PAUSED updates the video
Xavi Artigas [Mon, 17 Sep 2012 10:53:53 +0000 (12:53 +0200)]
Seeking in PAUSED updates the video

11 years agoAllow seeking from the SeekBar (video does not refresh until you release the SeekBar...
Xavi Artigas [Mon, 17 Sep 2012 10:31:23 +0000 (12:31 +0200)]
Allow seeking from the SeekBar (video does not refresh until you release the SeekBar, though)

11 years agoDelay seeks if not in the playing state. Verify return value of ANativeWindow_Lock.
Xavi Artigas [Mon, 17 Sep 2012 09:54:45 +0000 (11:54 +0200)]
Delay seeks if not in the playing state. Verify return value of ANativeWindow_Lock.

12 years agoAdd hardware decoding capabilities
Xavi Artigas [Fri, 14 Sep 2012 15:08:15 +0000 (17:08 +0200)]
Add hardware decoding capabilities

12 years agoAdd missing fix
Xavi Artigas [Fri, 14 Sep 2012 14:08:37 +0000 (16:08 +0200)]
Add missing fix

12 years agoSend XOverlay messages directly to the sink. Try to resume playing in the place where...
Xavi Artigas [Fri, 14 Sep 2012 14:01:07 +0000 (16:01 +0200)]
Send XOverlay messages directly to the sink. Try to resume playing in the place where it stopped. Assorted fixes.

12 years agoProtect against surfaces being destroyed after the app is killed
Xavi Artigas [Fri, 14 Sep 2012 10:45:54 +0000 (12:45 +0200)]
Protect against surfaces being destroyed after the app is killed

12 years agoDisplay video via an appsink.
Xavi Artigas [Fri, 14 Sep 2012 10:02:19 +0000 (12:02 +0200)]
Display video via an appsink.

12 years agoSet the targetSDK to 14 (Gingerbread). This uses cooler (more recent) UI elements...
Xavi Artigas [Thu, 13 Sep 2012 16:29:02 +0000 (18:29 +0200)]
Set the targetSDK to 14 (Gingerbread). This uses cooler (more recent) UI elements when available.

12 years agoAdd a SeekBar to show current position / duration
Xavi Artigas [Thu, 13 Sep 2012 14:35:51 +0000 (16:35 +0200)]
Add a SeekBar to show current position / duration

12 years agoReport current position/duration back to the UI. Refactor.
Xavi Artigas [Thu, 13 Sep 2012 12:36:06 +0000 (14:36 +0200)]
Report current position/duration back to the UI. Refactor.

12 years agoRemove unneeded import
Xavi Artigas [Thu, 13 Sep 2012 10:09:22 +0000 (12:09 +0200)]
Remove unneeded import

12 years agoFormatting
Xavi Artigas [Thu, 13 Sep 2012 10:05:43 +0000 (12:05 +0200)]
Formatting

12 years agoAdd missing properties needed while testing
Xavi Artigas [Wed, 12 Sep 2012 16:49:06 +0000 (18:49 +0200)]
Add missing properties needed while testing

12 years agoUse a eglglessink (does not work yet)
Xavi Artigas [Wed, 12 Sep 2012 16:45:03 +0000 (18:45 +0200)]
Use a eglglessink (does not work yet)

12 years agoAdd a SurfaceView and tell native code about it. Still no sink though.
Xavi Artigas [Wed, 12 Sep 2012 15:39:14 +0000 (17:39 +0200)]
Add a SurfaceView and tell native code about it. Still no sink though.

12 years agoUpdate minimum SDk version to 9
Xavi Artigas [Wed, 12 Sep 2012 15:38:17 +0000 (17:38 +0200)]
Update minimum SDk version to 9

12 years agoAssorted small fixes, string leaks and beautifying
Xavi Artigas [Wed, 12 Sep 2012 08:59:23 +0000 (10:59 +0200)]
Assorted small fixes, string leaks and beautifying

12 years agoAdd missing layour file
Xavi Artigas [Mon, 10 Sep 2012 14:45:19 +0000 (16:45 +0200)]
Add missing layour file

12 years agoAdd method to test Java UI code being called from C callbacks
Xavi Artigas [Mon, 10 Sep 2012 14:10:48 +0000 (16:10 +0200)]
Add method to test Java UI code being called from C callbacks

12 years agoWhitespace
Xavi Artigas [Mon, 10 Sep 2012 10:16:09 +0000 (12:16 +0200)]
Whitespace

12 years agoRemove unused variable
Xavi Artigas [Mon, 10 Sep 2012 10:09:56 +0000 (12:09 +0200)]
Remove unused variable

12 years agoRemove copyright note from Android samples
Xavi Artigas [Mon, 10 Sep 2012 10:08:33 +0000 (12:08 +0200)]
Remove copyright note from Android samples

12 years agoRemove warnings due to storing 32bits pointers inside jlongs. Fix handling of TLS...
Xavi Artigas [Mon, 10 Sep 2012 10:06:16 +0000 (12:06 +0200)]
Remove warnings due to storing 32bits pointers inside jlongs. Fix handling of TLS (still unused, though)

12 years agoHaving a running pipeline now, controlled from the UI
Xavi Artigas [Fri, 7 Sep 2012 14:26:04 +0000 (16:26 +0200)]
Having a running pipeline now, controlled from the UI

12 years agoIn this way, -it's more ndk-build-ish-
Xavi Artigas [Thu, 6 Sep 2012 13:56:13 +0000 (15:56 +0200)]
In this way, -it's more ndk-build-ish-

12 years agoTesting logging facilities
Xavi Artigas [Thu, 6 Sep 2012 11:13:44 +0000 (13:13 +0200)]
Testing logging facilities

12 years agoAdd more plugins
Xavi Artigas [Thu, 6 Sep 2012 11:13:02 +0000 (13:13 +0200)]
Add more plugins

12 years agoBetter memory management during string construction
Xavi Artigas [Tue, 4 Sep 2012 15:10:40 +0000 (17:10 +0200)]
Better memory management during string construction

12 years agoMore test plugins and nicer scrolling effect
Xavi Artigas [Tue, 4 Sep 2012 14:54:11 +0000 (16:54 +0200)]
More test plugins and nicer scrolling effect

12 years agoAllow the textview to scroll
Xavi Artigas [Tue, 4 Sep 2012 14:07:11 +0000 (16:07 +0200)]
Allow the textview to scroll

12 years agoAdd more plugins, to test
Xavi Artigas [Tue, 4 Sep 2012 14:06:51 +0000 (16:06 +0200)]
Add more plugins, to test

12 years agoList available plugins and features
Xavi Artigas [Tue, 4 Sep 2012 11:55:04 +0000 (13:55 +0200)]
List available plugins and features

12 years agoMore .gitignore
Xavi Artigas [Tue, 4 Sep 2012 10:54:38 +0000 (12:54 +0200)]
More .gitignore

12 years agoAdded icon
Xavi Artigas [Tue, 4 Sep 2012 10:53:20 +0000 (12:53 +0200)]
Added icon

12 years agoInitial tutorial-1
Xavi Artigas [Tue, 4 Sep 2012 10:20:02 +0000 (12:20 +0200)]
Initial tutorial-1

12 years agoFix forward seeks stop position (it should be the EOF, not the previous stop position).
Xavi Artigas [Fri, 13 Jul 2012 10:01:27 +0000 (12:01 +0200)]
Fix forward seeks stop position (it should be the EOF, not the previous stop position).

12 years agoComments and cosmetics
Xavi Artigas [Tue, 10 Jul 2012 14:21:33 +0000 (16:21 +0200)]
Comments and cosmetics

12 years agoAdded basic tutorial 15 (Clutter)
Xavi Artigas [Mon, 9 Jul 2012 12:44:44 +0000 (14:44 +0200)]
Added basic tutorial 15 (Clutter)

12 years agoRemove debug stuff.
Xavi Artigas [Thu, 5 Jul 2012 16:04:11 +0000 (18:04 +0200)]
Remove debug stuff.

12 years agoMerge branch 'master' of ssh://git.freedesktop.org/git/gstreamer-sdk/gst-sdk-tutorials
Xavi Artigas [Thu, 5 Jul 2012 15:59:51 +0000 (17:59 +0200)]
Merge branch 'master' of ssh://git.freedesktop.org/git/gstreamer-sdk/gst-sdk-tutorials

12 years agoSend Step Events only to one sink.
Xavi Artigas [Thu, 5 Jul 2012 15:59:05 +0000 (17:59 +0200)]
Send Step Events only to one sink.

12 years agoMerge remote-tracking branch 'keema/master'
Sebastian Dröge [Thu, 5 Jul 2012 15:11:52 +0000 (17:11 +0200)]
Merge remote-tracking branch 'keema/master'

12 years agoSlightly better backward seek. Not working yet, though.
Xavi Artigas [Thu, 5 Jul 2012 15:04:15 +0000 (17:04 +0200)]
Slightly better backward seek. Not working yet, though.

12 years agoFix property name, it should be "video-sink", even though "video_sink" works fine...
Xavi Artigas [Thu, 5 Jul 2012 11:06:18 +0000 (13:06 +0200)]
Fix property name, it should be "video-sink", even though "video_sink" works fine too :/

12 years agoTypo
Xavi Artigas [Wed, 4 Jul 2012 14:31:40 +0000 (16:31 +0200)]
Typo

12 years agoMerge remote-tracking branch 'keema/master'
Sebastian Dröge [Wed, 4 Jul 2012 08:31:47 +0000 (10:31 +0200)]
Merge remote-tracking branch 'keema/master'

12 years agoFix rate changes by using seeks instead of steps.
Xavi Artigas [Tue, 3 Jul 2012 16:31:49 +0000 (18:31 +0200)]
Fix rate changes by using seeks instead of steps.

12 years agoAdded basic tutorial 13.
Xavi Artigas [Tue, 3 Jul 2012 15:42:00 +0000 (17:42 +0200)]
Added basic tutorial 13.

12 years agoAdd an audioconvert, just in case...
Xavi Artigas [Wed, 27 Jun 2012 09:05:27 +0000 (11:05 +0200)]
Add an audioconvert, just in case...