Elements below have been excluded.
: decodebin3, uridecodebin3, playbin3
[Version] 1.24.11-15
[Issue Type] lightweighting
Change-Id: If294d3dd34b8a5e5ec5bb704b6b9fc9073d2f83b
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Name: %{_name}
Version: 1.24.11
-Release: 14
+Release: 15
Summary: Streaming-Media Framework Runtime
License: LGPL-2.0+
Group: Multimedia/Framework
#include "gstplaybackelements.h"
+#if !defined(TIZEN_FEATURE_EXCLUDE_UNUSED_ELEMENTS) || !defined(TIZEN_PROFILE_TV)
+#define TIZEN_FEATURE_INCLUDE_ELEMENTS
+#endif
static gboolean
plugin_init (GstPlugin * plugin)
gboolean res = FALSE;
res |= GST_ELEMENT_REGISTER (playbin, plugin);
+#ifdef TIZEN_FEATURE_INCLUDE_ELEMENTS
res |= GST_ELEMENT_REGISTER (playbin3, plugin);
+#endif
res |= GST_ELEMENT_REGISTER (playsink, plugin);
res |= GST_ELEMENT_REGISTER (subtitleoverlay, plugin);
res |= GST_ELEMENT_REGISTER (streamsynchronizer, plugin);
res |= GST_ELEMENT_REGISTER (decodebin, plugin);
+#ifdef TIZEN_FEATURE_INCLUDE_ELEMENTS
res |= GST_ELEMENT_REGISTER (decodebin3, plugin);
+#endif
res |= GST_ELEMENT_REGISTER (uridecodebin, plugin);
+#ifdef TIZEN_FEATURE_INCLUDE_ELEMENTS
res |= GST_ELEMENT_REGISTER (uridecodebin3, plugin);
+#endif
res |= GST_ELEMENT_REGISTER (urisourcebin, plugin);
res |= GST_ELEMENT_REGISTER (parsebin, plugin);
+if get_option('exclude-unused-elements') and get_option('tv-profile')
+# Not using the method of adding list to make it easy to upgrade opensource codes
+# remove unused 'gstdecodebin3.c', 'gsturidecodebin3.c', 'gstplaybin3.c' from the original sources
+playback_sources = [
+ 'gstdecodebin2.c',
+ 'gsturidecodebin.c',
+ 'gsturisourcebin.c',
+ 'gstparsebin.c',
+ 'gstplaybackplugin.c',
+ 'gstplaybackelement.c',
+ 'gstplaybackutils.c',
+ 'gstplaybin2.c',
+ 'gstplaysink.c',
+ 'gstplay-enum.c',
+ 'gstsubtitleoverlay.c',
+ 'gstplaysinkvideoconvert.c',
+ 'gstplaysinkaudioconvert.c',
+ 'gstplaysinkconvertbin.c',
+ 'gststreamsynchronizer.c'
+]
+else
playback_sources = [
'gstdecodebin2.c',
'gstdecodebin3.c',
'gstplaysinkconvertbin.c',
'gststreamsynchronizer.c'
]
+endif
gstplayback = library('gstplayback',
playback_sources,
core_conf.set('TIZEN_FEATURE_RESOURCE_MANAGER', true)
endif
+if get_option('exclude-unused-elements')
+ core_conf.set('TIZEN_FEATURE_EXCLUDE_UNUSED_ELEMENTS', true)
+endif
+
# TIZEN_GLOBAL_BUILD_OPTION
core_conf.set('TIZEN_FEATURE_BASEPARSE_MODIFICATION', true)
description : 'tizen buffer manager')
option('tv-profile', type : 'boolean', value : false,
description : 'tv-profile')
+option('exclude-unused-elements', type : 'boolean', value : true,
+ description : 'exclude-unused-elements')