gstreamer/subprojects/gst-docs/examples
Fotis Xenakis 85fa81c7c8 docs: basic-tutotial-1: Don't crash on error
Using g_error() crashes the application, producing a coredump e.g. when
the user closes the video window, which can be confusing (especially on
the very first tutorial).

Let's change this to log the error message without crashing, using
g_printerr(), like subsequent tutorials.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6883>
2024-05-21 23:40:42 +02:00
..
tutorials docs: basic-tutotial-1: Don't crash on error 2024-05-21 23:40:42 +02:00
bus_example.c Move files from gst-docs into the "subprojects/gst-docs/" subdir 2021-09-24 16:15:51 -03:00
snippets.c Move files from gst-docs into the "subprojects/gst-docs/" subdir 2021-09-24 16:15:51 -03:00