docs: harness: Fix example
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Wed, 15 Jun 2022 10:56:13 +0000 (12:56 +0200)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Wed, 15 Jun 2022 11:22:20 +0000 (13:22 +0200)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2602>

subprojects/gstreamer/libs/gst/check/gstharness.c

index fc1ab0d..1d0f297 100644 (file)
  * with different configurations, by simply doing:
  *
  * |[<!-- language="C" -->
- *   GstHarness * h = gst_harness_new (h, "vp8dec");
+ *   GstHarness * h = gst_harness_new ("vp8dec");
  *   gst_harness_add_src_parse (h, "videotestsrc is-live=1 ! vp8enc", TRUE);
  * ]|
  *