Encoder: Fix in signalling direct_8x8_inference_flag in SPS

For level 3.0 and above this value should be set to 1 as per spec

Change-Id: I6930e4e5165e4c5012997f009cbe05397303d650
diff --git a/encoder/ih264e_encode_header.c b/encoder/ih264e_encode_header.c
index ac025d6..6cb5220 100644
--- a/encoder/ih264e_encode_header.c
+++ b/encoder/ih264e_encode_header.c
@@ -933,7 +933,14 @@
     }
 
     /* direct_8x8_inference_flag */
-    ps_sps->i1_direct_8x8_inference_flag = 0;
+    if (ps_sps->u1_level_idc < IH264_LEVEL_30)
+    {
+        ps_sps->i1_direct_8x8_inference_flag = 0;
+    }
+    else
+    {
+        ps_sps->i1_direct_8x8_inference_flag = 1;
+    }
 
     /* cropping params */
     /*NOTE : Cropping values depend on the chroma format