Commit graph

56 commits

Author SHA1 Message Date
Thibault Saunier
be19c30254 Update theme and use new way of specifying gi language in markdown 2021-01-04 14:56:14 +00:00
Thibault Saunier
491bf70f89 tutorial: Add notice about missing language ports
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-docs/-/merge_requests/124>
2020-12-07 11:14:56 -03:00
Thibault Saunier
de01b82504 tutorials: Port 'hello world' to python
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-docs/-/merge_requests/124>
2020-12-07 11:14:56 -03:00
Axel Kellermann
df3a6542a2 Fix typos in streaming.md
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-docs/-/merge_requests/123>
2020-12-02 19:04:40 +00:00
Axel Kellermann
172ace3cc2 Fix typos in media-information-gathering.md
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-docs/-/merge_requests/122>
2020-12-02 16:08:01 +00:00
Kellermann Axel
21c74fccc2 Fix typo in multithreading-and-pad-availability.md
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-docs/-/merge_requests/120>
2020-12-02 10:08:18 +00:00
Luis Paulo Fernandes de Barros
c56de2aaef Fix dynamic-pipelines.md tutorial text
The text and the piece of code that describes the link process of data.convert e data.sink are missing data.resample.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-docs/-/merge_requests/116>
2020-10-07 10:35:36 -03:00
Siwon Kang
27487bf133 tutorials: basic: update gstreamer-tools.md
For the use of matroskademux plugin, the PAD template has changed to
video_%u and audio_%u which generate video_0 and audio_0, respectively.
So the current example using old pad names(video_00/audio_00) causes the
failure in linking pads. This patch changes the pad names into correct
ones.
2020-04-07 22:00:34 +00:00
Siwon Kang
d894a444a8 tutorials: basic: fix typos
Fix typos in 'Basic tutorial 10: GStreamer tools' and
'Basic tutorial 12: Streaming' pages.
2020-04-07 20:32:56 +00:00
Vivia Nikolaidou
b008abee2e basic-tutorial-3: Add audioresample
If the sink chosen by autoaudiosink doesn't do resampling internally,
the pipeline may fail. In this specific case, someone on Windows had
configured their sound card to 96000 instead of 48000 and the tutorial
was failing.

Thanks to Olivi55 from IRC for reporting.
2020-01-30 00:10:20 +02:00
Vivia Nikolaidou
218157ffcf basic-tutorial-3: Add audioresample
If whatever is in autoaudiosink doesn't do resampling, and 48000 isn't
its configured rate, the tutorial will fail.
2020-01-27 15:53:27 +02:00
Sebastian Dröge
45fb85246a tutorials/basic/debugging-tools: GST_LEVEL_MEMDUMP is 9 and not 8 2019-12-11 23:22:35 +02:00
Askar Safin
fd556b1396 tutorials: basic: hello-world: add links
Also resync markdown code excerpts with the example's source code
2019-08-28 14:11:24 +00:00
Askar Safin
a7c41d6d3f tutorials: fix playback-speed example
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/425
Also avoids duplication
2019-08-15 00:12:34 +03:00
Sebastian Dröge
1a046968d6 Port gst_element_query*() functions over to the 1.0 API
We don't take the GstFormat as pointer anymore. This was already fixed
long ago in the actual code but not in the markdown documentation.

Fixes https://gitlab.freedesktop.org/gstreamer/gst-docs/issues/44
2019-08-12 11:57:22 +03:00
Thibault Saunier
027bcae5e6 dynamic-pipelines: Make the "GStreamer states" table a proper table 2019-06-27 03:11:54 +00:00
Pascal Bach
f3d9fbdb9a Change QT to Qt
QT is commonly associated with QuickTime while the official spelling for the toolkit is Qt.
2019-01-13 08:40:55 +00:00
Thibault Saunier
7de2c2dc7a Fix info and warnings layout and update images 2018-11-25 16:33:11 +00:00
Matthew Waters
d3af4c7dd0 update for gitlab move 2018-11-03 19:57:32 +11: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
69ebd96fef markdown: Fix typo in docs (2)
https://bugzilla.gnome.org/show_bug.cgi?id=797129
2018-09-14 09:35:51 +03:00
H1Gdev
9f622daacb markdown: Fix typo in docs
https://bugzilla.gnome.org/show_bug.cgi?id=797129
2018-09-12 10:31:24 +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
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
7aea060a60 gst-docs: add return value to appsink callback in tutorial
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-06 00:33:19 +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
Nicolas Dufresne
a20b2cc27a Use gst_sample_unref to unref GstSample in tutorials 2017-12-07 19:48:43 -05:00
Sebastian Dröge
6cf853997a Remove audio_caps_text in the tutorials
The caps are created from a GstAudioInfo, not from a string.

https://bugzilla.gnome.org/show_bug.cgi?id=791157
2017-12-03 12:57:25 +02:00
Jinwoo Ahn
7665679eb6 tutorials: time-management: fix typo
https://bugzilla.gnome.org/show_bug.cgi?id=790196
2017-11-11 11:02:23 +00:00
Reynaldo H. Verdejo Pinochet
c7e333ca16 tutorials: ios: basic: fix missing markup 2017-10-19 15:27:16 -07:00
Reynaldo H. Verdejo Pinochet
72b1484958 tutorials: ios: basic: drop unneeded indentation from single block source code samples 2017-10-19 15:16:09 -07:00
Reynaldo H. Verdejo Pinochet
27860cb090 tutorials: ios: basic: fix missing markup 2017-10-19 15:15:41 -07: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
00e11dbb37 Fix up last commit properly 2017-08-28 19:08:33 +03:00
apple muncy
8b61265d7e Use correct pkg-config package name for gstreamer-audio-1.0
https://bugzilla.gnome.org/show_bug.cgi?id=786804
2017-08-28 19:07:12 +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
4774e1aa92 tutorials: toolkit-integration: 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 16:46:38 -07:00
Reynaldo H. Verdejo Pinochet
193fba65b8 tutorials: toolkit-integration: fix missing markup 2017-08-11 15:58:12 -07:00
Sebastian Dröge
bc810ef40f basic-tutorial-5: expose_cb() is now draw_cb() and gets a cairo_t directly 2017-08-07 08:58:58 +03:00
Sebastian Dröge
fce81a19a8 Don't use gstreamer-interfaces-1.0 in basic-tutorial-5
GstVideoOverlay is in gstreamer-video-1.0
2017-08-06 01:34:24 +03:00
Jinwoo Ahn
6c830d168a tutorials: time-management: fix typo
https://bugzilla.gnome.org/show_bug.cgi?id=785720
2017-08-02 10:55:51 +01:00
Reynaldo H. Verdejo Pinochet
f1a79c576b tutorials: debugging-tools: improve formatting & content
Reformat tables & fix markup. Additionally, add note on some
information referring only to the default hadler.
2017-07-28 14:43:28 -07:00
Reynaldo H. Verdejo Pinochet
6513190384 tutorials: time-management: improve the example walkthrough
Additionally: fix missing markup
2017-07-28 13:48:52 -07:00
Reynaldo H. Verdejo Pinochet
b0cb459527 tutorials: basic: fix missing markup 2017-07-18 23:53:03 -07:00
Elmir
fade3ed53e Add missing semicolon in the example code.
https://bugzilla.gnome.org/show_bug.cgi?id=784909
2017-07-13 10:29:22 -04:00
Reynaldo H. Verdejo Pinochet
23c60cafe3 tutorials: concepts: fix missing markup
Additionally: other grammar fixes & improvements
2017-05-19 16:50:47 -07:00
Reynaldo H. Verdejo Pinochet
a7b50da27d tutorials: basic: drop all mentions to the SDK 2017-04-13 14:26:19 -07:00