tests: examples: Fix typo in QSV encoder example
authorSeungha Yang <seungha@centricular.com>
Sun, 22 May 2022 15:04:03 +0000 (00:04 +0900)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 23 May 2022 13:28:11 +0000 (13:28 +0000)
Fixing width adjustment

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2467>

subprojects/gst-plugins-bad/tests/examples/qsv/qsvenc-dynamic-reconfigure.c

index 1e810da..d5ceb14 100644 (file)
@@ -146,8 +146,8 @@ keyboard_cb (gchar input, gboolean is_ascii, gpointer user_data)
         gst_println ("Decrease width to %d", width);
         break;
       case KB_ARROW_RIGHT:
-        height += 2;
-        gst_println ("Increase height to %d", height);
+        width += 2;
+        gst_println ("Increase width to %d", width);
         break;
       default:
         break;