From ec14ebb0acc261a6652174ef59ad2e7da9fd54a7 Mon Sep 17 00:00:00 2001 From: Gilbok Lee Date: Fri, 16 Mar 2018 11:35:25 +0900 Subject: [PATCH] typefindfunctions: Fixed symbol error Setting the TIZEN_PROFILE_TV and TIZEN_FEATURE_DISABLE_MIME_TYPES definitions together, plugin has symbolic error. Change-Id: I0a5e4ccc48584983a528df2b55f19e6ca1b1ee39 --- gst/typefind/gsttypefindfunctions.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst/typefind/gsttypefindfunctions.c b/gst/typefind/gsttypefindfunctions.c index c374cc1..f7758dc 100644 --- a/gst/typefind/gsttypefindfunctions.c +++ b/gst/typefind/gsttypefindfunctions.c @@ -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) -- 2.7.4