From: Gilbok Lee Date: Fri, 16 Mar 2018 02:35:25 +0000 (+0900) Subject: typefindfunctions: Fixed symbol error X-Git-Tag: accepted/tizen/unified/20180320.141246^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ec14ebb0acc261a6652174ef59ad2e7da9fd54a7;p=platform%2Fupstream%2Fgst-plugins-base.git typefindfunctions: Fixed symbol error Setting the TIZEN_PROFILE_TV and TIZEN_FEATURE_DISABLE_MIME_TYPES definitions together, plugin has symbolic error. Change-Id: I0a5e4ccc48584983a528df2b55f19e6ca1b1ee39 --- 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)