Commit graph

10 commits

Author SHA1 Message Date
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