- avoid deadlock during autoplugging
- get state before linking between urisourcebin and decodebin3
to avoid resync state change of the uridecodebin3
Change-Id: I7f0fb12527c13b9c09ee4506d24fbfa168a06986
GST_DEBUG_OBJECT (uridecodebin,
"New pad %" GST_PTR_FORMAT " from source %" GST_PTR_FORMAT, pad, element);
+#ifdef TIZEN_FEATURE_U3_AVOID_DEADLOCK
+ /* to sync the process with typefind task */
+ gst_element_get_state (uridecodebin, NULL, NULL, 1 * GST_SECOND);
+#endif
+
/* FIXME: Add probe to unify group_id and detect EOS */
/* Try to link to main sink pad only if it's from a main handler */
-DTIZEN_FEATURE_SUBPARSE_MODIFICATION\
-DTIZEN_FEATURE_VOLUME_MODIFICATION\
-DTIZEN_FEATURE_FORCE_SW_DECODER\
+ -DTIZEN_FEATURE_U3_AVOID_DEADLOCK\
%if "%{tizen_profile_name}" == "tv"
-DTIZEN_PROFILE_TV\
-DTIZEN_FEATURE_TRUSTZONE\