Build Error Fix / tensor-dec
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 5 Nov 2018 01:20:23 +0000 (10:20 +0900)
committerMyungJoo Ham <myungjoo.ham@gmail.com>
Mon, 5 Nov 2018 02:52:42 +0000 (11:52 +0900)
Somehow recent fix got away from CI. Strange.

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
gst/tensor_decoder/tensordec.h

index aec9827..798202a 100644 (file)
@@ -114,7 +114,7 @@ typedef enum
   OUTPUT_AUDIO,
   OUTPUT_TEXT,
   OUTPUT_UNKNOWN
-} dec_output_type;
+} dec_output_types;
 
 /**
  * @brief Decoder Mode  string.
@@ -129,12 +129,12 @@ static const gchar *mode_names[] = {
 /**
  * @brief Output type for each mode
  */
-static const dec_output_type[] = {
+static const dec_output_types dec_output_type[] = {
   OUTPUT_VIDEO,
   OUTPUT_TEXT,
   OUTPUT_VIDEO,
-  NULL
-}
+  OUTPUT_UNKNOWN,
+};
 
 /**
  * @brief Decoder Mode.