tutorials: Fix typos
authorKrystian Wojtas <krystian.wojtas@motorolasolutions.com>
Tue, 23 Nov 2021 18:56:27 +0000 (19:56 +0100)
committerKrystian Wojtas <krystian.wojtas@motorolasolutions.com>
Tue, 23 Nov 2021 18:56:27 +0000 (19:56 +0100)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1382>

subprojects/gst-docs/markdown/tutorials/basic/toolkit-integration.md

index f97c796..2b610b1 100644 (file)
@@ -245,7 +245,7 @@ static gboolean refresh_ui (CustomData *data) {
     /* Block the "value-changed" signal, so the slider_cb function is not called
      * (which would trigger a seek the user has not requested) */
     g_signal_handler_block (data->slider, data->slider_update_signal_id);
-    /* Set the position of the slider to the current pipeline positoin, in SECONDS */
+    /* Set the position of the slider to the current pipeline position, in SECONDS */
     gtk_range_set_value (GTK_RANGE (data->slider), (gdouble)current / GST_SECOND);
     /* Re-enable the signal */
     g_signal_handler_unblock (data->slider, data->slider_update_signal_id);
@@ -764,7 +764,7 @@ if (gst_element_query_position (data->playbin, GST_FORMAT_TIME, &current)) {
   /* Block the "value-changed" signal, so the slider_cb function is not called
    * (which would trigger a seek the user has not requested) */
   g_signal_handler_block (data->slider, data->slider_update_signal_id);
-  /* Set the position of the slider to the current pipeline positoin, in SECONDS */
+  /* Set the position of the slider to the current pipeline position, in SECONDS */
   gtk_range_set_value (GTK_RANGE (data->slider), (gdouble)current / GST_SECOND);
   /* Re-enable the signal */
   g_signal_handler_unblock (data->slider, data->slider_update_signal_id);