[Example/FilterPerformanceProfile] Fix on capsfilter
authorHwansoon Sung <hs2704.sung@samsung.com>
Sat, 17 Nov 2018 12:04:45 +0000 (21:04 +0900)
committerMyungJoo Ham <myungjoo.ham@gmail.com>
Sun, 18 Nov 2018 02:33:45 +0000 (02:33 +0000)
This patch fixed a typo found at capsfilter's "height" property.
Having it fixed, we were able to run the example successfully
along with our MIPI camera on ARTIK devkit.

Signed-off-by: Hwansoon Sung <hs2704.sung@samsung.com>
nnstreamer_example/example_filter_performance_profile/nnstreamer_example_filter_performance_profile.c

index 8da4444..63b98d3 100644 (file)
@@ -518,7 +518,7 @@ _construct_v4l2src_pipeline (nnstrmr_app_context_t * ctx)
   }
 
   str_caps =
-      g_strdup_printf ("video/x-raw,width=%d,hegith=%d,framerate=%s",
+      g_strdup_printf ("video/x-raw,width=%d,height=%d,framerate=%s",
       ctx->input_src_width, ctx->input_src_height, ctx->input_src_framerates);
   caps = gst_caps_from_string (str_caps);
   g_object_set (G_OBJECT (pipeline_cntnr->input_capsfilter),