typefindfunctions: Fixed symbol error 94/172794/3 accepted/tizen/unified/20180320.141246 submit/tizen/20180315.033609
authorGilbok Lee <gilbok.lee@samsung.com>
Fri, 16 Mar 2018 02:35:25 +0000 (11:35 +0900)
committerGilbok Lee <gilbok.lee@samsung.com>
Fri, 16 Mar 2018 02:36:33 +0000 (11:36 +0900)
Setting the TIZEN_PROFILE_TV and TIZEN_FEATURE_DISABLE_MIME_TYPES
definitions together, plugin has symbolic error.

Change-Id: I0a5e4ccc48584983a528df2b55f19e6ca1b1ee39

gst/typefind/gsttypefindfunctions.c

index c374cc1..f7758dc 100644 (file)
@@ -2148,6 +2148,7 @@ static GstStaticCaps mpeg_sys_caps = GST_STATIC_CAPS ("video/mpeg, "
 
 #define MPEG2_MIN_SYS_HEADERS 2
 #define MPEG2_MAX_SYS_HEADERS 5
+#endif
 
 static gboolean
 mpeg_sys_is_valid_pack (GstTypeFind * tf, const guint8 * data, guint len,
@@ -2201,6 +2202,7 @@ mpeg_sys_is_valid_pack (GstTypeFind * tf, const guint8 * data, guint len,
   return FALSE;
 }
 
+#if defined(TIZEN_PROFILE_TV) || !defined(TIZEN_FEATURE_DISABLE_MIME_TYPES)
 static gboolean
 mpeg_sys_is_valid_pes (GstTypeFind * tf, const guint8 * data, guint len,
     guint * pack_size)