(ges_extractable_get_asset (GES_EXTRACTABLE (self->element)))));
gboolean wanted = !g_strcmp0 (stream_id, wanted_id);
+#ifdef TIZEN_FEATURE_GES_DISABLE_HW_CODEC
+ if (factory) {
+ gchar *factory_name = NULL;
+ const gchar *klass = NULL;
+
+ factory_name = GST_OBJECT_NAME (factory);
+ klass =
+ gst_element_factory_get_metadata (factory, GST_ELEMENT_METADATA_KLASS);
+
+ if (g_strrstr (klass, "Decoder/Video/Hardware")) {
+ GST_INFO_OBJECT (self->element,
+ "video hw decoder element[%s] is not supported, skip it",
+ factory_name);
+ return GST_AUTOPLUG_SELECT_SKIP;
+ }
+ }
+#endif
+
if (!ges_source_get_rendering_smartly (GES_SOURCE (self->element))) {
if (!are_raw_caps (caps))
goto done;
endif
endif
+# TIZEN BUILD OPTION
+cdata.set('TIZEN_FEATURE_GES_DISABLE_HW_CODEC', true)
+# TIZEN BUILD OPTION end
+
ges_c_args = ['-DHAVE_CONFIG_H', '-DG_LOG_DOMAIN="GES"']
plugins_install_dir = '@0@/gstreamer-1.0'.format(get_option('libdir'))