Commit graph

164 commits

Author SHA1 Message Date
Xavi Artigas
8876ada4ea Remove compiler warning 2012-09-18 16:48:39 +02:00
Xavi Artigas
553978a030 Prevent the C code from notifying Java too many times about GStreamer being initialized 2012-09-18 16:02:43 +02:00
Xavi Artigas
e7d13a9120 Revamp initialization code. Now the library informs java when initialization is complete (pipeline built and native window received). 2012-09-18 14:32:02 +02:00
Xavi Artigas
e35be6e5df Remove unused variable 2012-09-18 13:40:22 +02:00
Xavi Artigas
5e065f2b89 Beautify hardcoded time values 2012-09-18 12:39:39 +02:00
Xavi Artigas
c763636b97 Add a bit of resilience at class initialization 2012-09-18 12:36:17 +02:00
Xavi Artigas
2048b11b90 Rename some methods for clarity 2012-09-18 12:09:49 +02:00
Xavi Artigas
4b7b9e0106 Remove video app sink now that there is a working egl sink. 2012-09-18 11:55:46 +02:00
Xavi Artigas
336a85b928 Add comment regarding previoud rounding. 2012-09-17 18:26:55 +02:00
Xavi Artigas
803622382e Prevent successive orientation changes from moving the clip backwards in time due to gst-nanos / java-millis rounding errors plus seeking to keyframes. 2012-09-17 18:24:00 +02:00
Xavi Artigas
7a8142417c Remove invalid extra unref on the gst bus 2012-09-17 17:35:32 +02:00
Xavi Artigas
e1927aca14 Typo in comment 2012-09-17 17:24:04 +02:00
Andoni Morales Alastruey
bb2adae455 Update for multilib 2012-09-17 16:26:01 +02:00
Xavi Artigas
4874f00144 Start in PAUSED so clip length is shown since the beginning. Allow orientation changes in PAUSED. 2012-09-17 13:48:08 +02:00
Xavi Artigas
392705a913 Do not set the pipeline to NULL on EOS, as parse_launch pipelines are not reusable. 2012-09-17 13:31:24 +02:00
Xavi Artigas
0b6448389a Allow refreshing the ui (the timer, basically) when in PAUSED (when seeking, basically) 2012-09-17 12:59:33 +02:00
Xavi Artigas
425a23ef98 Seeking in PAUSED updates the video 2012-09-17 12:53:53 +02:00
Xavi Artigas
206415b27b Allow seeking from the SeekBar (video does not refresh until you release the SeekBar, though) 2012-09-17 12:31:23 +02:00
Xavi Artigas
ff9ff2c549 Delay seeks if not in the playing state. Verify return value of ANativeWindow_Lock. 2012-09-17 11:54:45 +02:00
Xavi Artigas
1d7c2a6f87 Add hardware decoding capabilities 2012-09-14 17:08:15 +02:00
Xavi Artigas
f780c13852 Add missing fix 2012-09-14 16:08:37 +02:00
Xavi Artigas
f81f2c4347 Send XOverlay messages directly to the sink. Try to resume playing in the place where it stopped. Assorted fixes. 2012-09-14 16:01:07 +02:00
Xavi Artigas
c892f35193 Protect against surfaces being destroyed after the app is killed 2012-09-14 12:45:54 +02:00
Xavi Artigas
63f19c69ab Display video via an appsink. 2012-09-14 12:02:19 +02:00
Xavi Artigas
f15a624e93 Set the targetSDK to 14 (Gingerbread). This uses cooler (more recent) UI elements when available. 2012-09-13 18:29:02 +02:00
Xavi Artigas
3bc044cba4 Add a SeekBar to show current position / duration 2012-09-13 16:35:51 +02:00
Xavi Artigas
8f8258e4b9 Report current position/duration back to the UI. Refactor. 2012-09-13 14:36:06 +02:00
Xavi Artigas
0156029e06 Remove unneeded import 2012-09-13 12:09:22 +02:00
Xavi Artigas
48f9983fbd Formatting 2012-09-13 12:05:43 +02:00
Xavi Artigas
d6c101954b Add missing properties needed while testing 2012-09-12 18:49:06 +02:00
Xavi Artigas
a449e48aea Use a eglglessink (does not work yet) 2012-09-12 18:45:03 +02:00
Xavi Artigas
f7446956c9 Add a SurfaceView and tell native code about it. Still no sink though. 2012-09-12 17:39:14 +02:00
Xavi Artigas
c4363559c8 Update minimum SDk version to 9 2012-09-12 17:38:17 +02:00
Xavi Artigas
6c3dcf5730 Assorted small fixes, string leaks and beautifying 2012-09-12 10:59:23 +02:00
Xavi Artigas
e4a142b38a Add missing layour file 2012-09-10 16:45:19 +02:00
Xavi Artigas
ba4182c470 Add method to test Java UI code being called from C callbacks 2012-09-10 16:10:48 +02:00
Xavi Artigas
66d4f1873b Whitespace 2012-09-10 12:16:09 +02:00
Xavi Artigas
ca35131d47 Remove unused variable 2012-09-10 12:09:56 +02:00
Xavi Artigas
30f8381ac9 Remove copyright note from Android samples 2012-09-10 12:08:33 +02:00
Xavi Artigas
4f23fc027c Remove warnings due to storing 32bits pointers inside jlongs. Fix handling of TLS (still unused, though) 2012-09-10 12:06:16 +02:00
Xavi Artigas
b0e6ae8eb7 Having a running pipeline now, controlled from the UI 2012-09-07 16:26:04 +02:00
Xavi Artigas
112f4f92f3 In this way, -it's more ndk-build-ish- 2012-09-06 15:56:13 +02:00
Xavi Artigas
70242780c3 Testing logging facilities 2012-09-06 13:13:44 +02:00
Xavi Artigas
734e54ddfb Add more plugins 2012-09-06 13:13:02 +02:00
Xavi Artigas
7b3c680da5 Better memory management during string construction 2012-09-04 17:10:40 +02:00
Xavi Artigas
1947de8006 More test plugins and nicer scrolling effect 2012-09-04 16:54:11 +02:00
Xavi Artigas
77c4117da5 Allow the textview to scroll 2012-09-04 16:07:11 +02:00
Xavi Artigas
2905b5073a Add more plugins, to test 2012-09-04 16:06:51 +02:00
Xavi Artigas
24136b8011 List available plugins and features 2012-09-04 13:55:04 +02:00
Xavi Artigas
625bed6844 Added icon 2012-09-04 12:53:20 +02:00
Xavi Artigas
ef7757b7ca Initial tutorial-1 2012-09-04 12:20:02 +02:00
Xavi Artigas
d72831ea72 Fix forward seeks stop position (it should be the EOF, not the previous stop position). 2012-07-13 12:01:27 +02:00
Xavi Artigas
37de9e77c6 Comments and cosmetics 2012-07-10 16:21:33 +02:00
Xavi Artigas
669b10b6f6 Added basic tutorial 15 (Clutter) 2012-07-09 14:44:44 +02:00
Xavi Artigas
edc0f4f1d3 Remove debug stuff. 2012-07-05 18:04:11 +02:00
Xavi Artigas
cd9dd48c66 Send Step Events only to one sink. 2012-07-05 17:59:05 +02:00
Xavi Artigas
c1fae49828 Slightly better backward seek. Not working yet, though. 2012-07-05 17:04:15 +02:00
Xavi Artigas
460cd5fe48 Fix property name, it should be "video-sink", even though "video_sink" works fine too :/ 2012-07-05 13:06:18 +02:00
Xavi Artigas
41bfda7843 Typo 2012-07-04 16:31:40 +02:00
Xavi Artigas
7fa1aede37 Fix rate changes by using seeks instead of steps. 2012-07-03 18:31:49 +02:00
Xavi Artigas
ecff617bf3 Added basic tutorial 13. 2012-07-03 17:42:00 +02:00
Xavi Artigas
3b6437cbcf Add an audioconvert, just in case... 2012-06-27 11:05:27 +02:00
Xavi Artigas
5b0195b360 Initial version. 2012-06-26 18:21:52 +02:00
Xavi Artigas
bdc179a654 Whitespace 2012-06-26 18:19:10 +02:00
Xavi Artigas
a4ca0d8c0c Prefer GOOM over other visuals.
Radio station that does not use chained-ogg files.
2012-06-26 13:25:16 +02:00
Xavi Artigas
9e05d50a5f Added playback-tutorial-6. 2012-06-26 10:50:08 +02:00
Xavi Artigas
989e16d366 Remove deinterlacing stuff. This is a Color Balance tutorial from now on. 2012-06-25 17:31:35 +02:00
Xavi Artigas
87b9d58e95 Fix precision warning. 2012-06-25 15:53:28 +02:00
Xavi Artigas
17d3c4557d Clarify comparison. 2012-06-25 11:07:24 +02:00
Xavi Artigas
d9b9e9bf11 Remove unnecessary playbin2 flags. 2012-06-25 10:25:17 +02:00
Xavi Artigas
ef0bd3ef08 Remove unneeded debug info. 2012-06-22 13:55:37 +02:00
Xavi Artigas
e6e3719d25 Fix Carriage Returns 2012-06-22 12:57:24 +02:00
Xavi Artigas
b2fb2d10cc Add playback tutorial 5 2012-06-21 16:08:19 +02:00
Xavi Artigas
69b6590d03 Remove unused variable 2012-06-19 17:55:21 +02:00
Xavi Artigas
482bff1ce4 Added playback tutorial 3 2012-06-19 17:59:37 +02:00
Xavi Artigas
80d6b6e476 Whitespacey 2012-06-19 14:01:48 +02:00
Xavi Artigas
6a3594ea4a Fix tutorial number in VS files 2012-06-19 13:07:20 +02:00
Xavi Artigas
082beeeb6a Corrected tutorial number (should be 4, not 3) 2012-06-19 13:01:05 +02:00
Xavi Artigas
9b52a33ccf Whitespace 2012-06-19 12:51:27 +02:00
Xavi Artigas
490eb9b40e Carriage returns 2012-06-19 12:31:06 +02:00
Xavi Artigas
e7a0bcbb6e Add commented-out ring-buffer size limitation (for pedagogic purposes) 2012-06-18 17:39:05 +02:00
Xavi Artigas
279e01a158 Print temp-location. 2012-06-18 16:11:57 +02:00
Xavi Artigas
b4f718acfd Added Playback tutorial 3. 2012-06-18 12:19:06 +02:00
Xavi Artigas
63177bf882 Fix warnings shown with -Wall 2012-06-18 10:34:24 +02:00
Xavi Artigas
3b393bd1d2 Use default toolset instead of forcing WinDDK's (This shouldn't have been committed). 2012-06-11 15:07:54 +02:00
Xavi Artigas
12e5e2b7e8 Some reordering to match the tutorial's explanations. 2012-06-11 12:12:31 +02:00
Xavi Artigas
9cbd722bbe Remove unneeded BUFFERING playbin2 flag for this tutorial. 2012-06-11 10:36:15 +02:00
Xavi Artigas
5569f41783 Added tutorial 12 2012-06-08 17:08:56 +02:00
Andoni Morales Alastruey
0ccd90d99a Use the renamed 'Versions' directory 2012-06-07 02:55:14 +02:00
Andoni Morales Alastruey
8228ae72be xcode: change deployment target to 10.6 2012-06-06 15:12:34 +02:00
Thiago Santos
dac018ac0b xcode: fix typo in project folder 2012-06-05 15:40:34 -03:00
Andoni Morales Alastruey
e0c162a0e7 Move xcode tutorials under gst-sdk/tutorials/xcode 2012-06-04 19:36:32 +02:00
Xavi Artigas
782541f132 Set new directory structure in the project files 2012-05-29 12:49:03 +02:00
Xavi Artigas
c07f032e10 Move VS2010 project files to a more confortable place 2012-05-29 12:47:29 +02:00
Andoni Morales Alastruey
5aed7c7815 Fix quartz include 2012-05-23 17:56:13 +02:00
Xavi Artigas
f90232dc3a CRLF and fix unreffing bug 2012-05-16 18:16:05 +02:00
Xavi Artigas
3bd4854409 Add a default URI 2012-05-15 17:25:03 +02:00
Xavi Artigas
6575e17365 Added Basic Tutorial 9 2012-05-15 13:53:40 +02:00
Xavi Artigas
6f313a55c6 Added audioresample to make sure the audio sink will link happily. 2012-05-15 12:21:42 +02:00
Xavi Artigas
fed3696eef Cosmetic: Fixed parameter name. 2012-05-14 13:33:01 +02:00