Commit graph

27 commits

Author SHA1 Message Date
Thibault Saunier
d2469972f0 Pass our C files to gst-indent 2019-04-24 22:47:20 +00:00
Matthew Waters
ef2fd1d49e ios tutorials: make tutorial 4/5 work correclty again
Inspiration from the following commits:
5188475abd
49c92a9752
30e730bccc
4a62c09504
2019-03-21 02:08:41 +11:00
Matthew Waters
266b227024 ios tutorials: update gst_ios_init files to the latest 2019-03-21 02:07:33 +11:00
Matthew Waters
f38f88e1cb ios tutorials: update for newer xcode 2019-03-21 02:05:41 +11:00
Matthew Waters
5441a572d9 tutorials/android: Update for NDK r18 changes
libc++_shared needs to be enabled in the application in order for it to
be included and used correctly for c++ plugins.

Only symbols from libraries explicitly mentioned are exported from
libgstreamer_android.so so we need to add a couple of deps to be able to
access the necessary functions.

Requires
https://gitlab.freedesktop.org/gstreamer/cerbero/merge_requests/31
https://gitlab.freedesktop.org/gstreamer/cerbero/merge_requests/1
2018-11-30 09:27:25 +00:00
Tony Jinwoo Ahn
d8ce611a3a basic-tutorial-6: Remove trailing bracket for code consistency
To make consistency with code nearby, remove bracket

https://bugzilla.gnome.org/show_bug.cgi?id=797243
2018-10-11 16:03:10 +03:00
H1Gdev
dc245b1587 Android tutorials: Fix compile warnings
https://bugzilla.gnome.org/show_bug.cgi?id=797170
2018-09-19 12:32:53 +03:00
H1Gdev
23b989838d Android tutorials: 'compile' and 'testCompile' configurations are deprecated
Replace new configuration.
- 'compile' -> 'implementation'
- 'testCompile' -> 'testImplementation'

https://bugzilla.gnome.org/show_bug.cgi?id=797093
2018-09-07 11:49:01 +03:00
H1Gdev
20d9fe541c Android tutorials: Run 'android-tutorial-1' error on Android Studio
If Run 'android-tutorial-1' on Android Studio then property 'compileReleaseJavaWithJavac' does not exist.
So add property 'compileReleaseJavaWithJavac' check.

Fix android-tutorial-1 - android-tutorial-5.

https://bugzilla.gnome.org/show_bug.cgi?id=797070

and Replace indent from tab to space.
2018-09-07 11:48:51 +03:00
Sebastian Dröge
5734224b1e Re-namespace Android tutorials for consistency 2018-08-31 10:13:00 +03:00
H1Gdev
af2bcb3572 Android tutorials: Android tutorial 3: Correspond to package name
https://bugzilla.gnome.org/show_bug.cgi?id=797057
2018-08-31 10:13:00 +03:00
Mathieu Duponchelle
82dd7c3215 Android tutorials: add gradle build system
https://bugzilla.gnome.org/show_bug.cgi?id=796570
2018-06-14 17:25:18 +02:00
Mathieu Duponchelle
225c23f1fa Android tutorials: add android top-level folder
This in preparation for the next commit, adding gradle as a
build system

https://bugzilla.gnome.org/show_bug.cgi?id=796570
2018-06-14 17:25:18 +02:00
Tomislav Tustonic
9b5958a221 basic-tutorial-13: Step events need absolute values for the rate
They can't change playback direction but are based on the current
playback direction.

https://bugzilla.gnome.org/show_bug.cgi?id=796503
2018-06-13 10:58:38 +03:00
Jacques de Broin
c25c296760 gst-docs: add return value to appsink callback in tutorial and example code
The "crude waveform generator" sample application in "Basic
tutorial 8: Short-cutting the pipeline" was lacking the return value
so it was only being invoked once.

https://bugzilla.gnome.org/show_bug.cgi?id=796476
2018-06-05 08:50:14 +03:00
Sebastian Dröge
30f8595780 playback-tutorial-3/basic-tutorial-8: Fix buffer duration calculations
Same as last commit in various other places

https://bugzilla.gnome.org/show_bug.cgi?id=791408
2017-12-09 14:01:51 +02:00
Aleksandr Slobodeniuk
ea888a0e3b basic-tutorial-8: Fix buffer duration calculation
Buffer duration was counted from buffer's size in bytes, like it were number of samples.

https://bugzilla.gnome.org/show_bug.cgi?id=791408
2017-12-09 14:01:34 +02:00
Thijs Vermeir
abc77fdd5b basic-tutorial-3: remove leading spaces in prints
https://bugzilla.gnome.org/show_bug.cgi?id=788794
2017-10-12 10:28:43 +03:00
Sebastian Dröge
020bf14d03 basic-tutorial-3: Use gst_pad_get_current_caps() instead of gst_pad_query_caps()
We're interested in the currently negotiated caps, not all the caps the
pad can potentially output. Also update the text accordingly.
2017-09-14 13:39:05 +03:00
Sebastian Dröge
1a9f0541be Use gst_element_get_request_pad() instead of doing it complicated by first getting the pad template
Also use the correct pad template name for tee in the docs so that it
actually works.
2017-08-16 21:34:15 +03:00
Reynaldo H. Verdejo Pinochet
de35ad6dc1 basic-tutorial-5: drop calls to gtk_button_new_from_stock()
The gtk_button_new_from_stock() function has been deprecated since GTK+ 3.10.
Use gtk_button_new_from_icon_name() instead
2017-08-11 17:00:46 -07:00
Jan Schmidt
3be8a37124 Fix new_sample signal handler so the example works 2017-06-05 14:32:36 +10:00
Mathieu Duponchelle
09f71131fb Split out documentation into subfolders.
https://bugzilla.gnome.org/show_bug.cgi?id=773976
2016-11-14 14:10:22 +00:00
Olivier Crête
55f54ce715 Use basic-tutorial-1.c from tutorials subdirectory 2016-10-09 15:28:12 +02:00
Olivier Crête
9b4b5a7f58 Replace gstreamer.com uri with freedesktop 2016-09-15 16:19:28 -04:00
Mathieu Duponchelle
6cdcdcd2d9 Start really cleaning up 2016-06-05 23:33:18 +02:00
Mathieu Duponchelle
e256a61106 Add a simple example of inclusion
0.7.9.3 is needed, but it's pushed on pip so it shouldn't
be too complicated.

Need the C extension as well, README updated to reflect
that.

This allowed noticing and fixing two errors in the
link_to_multiplexer snippet, as clang complained,
check the differences between the previous version
and the new one :)
2016-06-04 19:14:22 +02:00