Name: %{_name}
Version: 1.22.0
-Release: 20
+Release: 21
Summary: Streaming-Media Framework Runtime
License: LGPL-2.0+
Group: Multimedia/Framework
/* Make sure we don't use reserved PID.
* FIXME : This should be extended to other variants (ex: ATSC) reserved PID */
if (pid < TSMUX_START_ES_PID)
+#ifdef TIZEN_FEATURE_BUG_FIX
+ {
+ g_mutex_unlock (&mux->lock);
+#endif
goto invalid_stream_pid;
+#ifdef TIZEN_FEATURE_BUG_FIX
+ }
+#endif
} else {
do {
pid = tsmux_get_new_pid (mux->tsmux);
}
pad->granulerate_d = (gint) CLAMP (time_unit, G_MININT, G_MAXINT);
+#ifdef TIZEN_FEATURE_BUG_FIX
+ if (pad->granulerate_d != 0)
+#endif
GST_LOG ("fps = %d/%d = %.3f",
pad->granulerate_n, pad->granulerate_d,
(double) pad->granulerate_n / pad->granulerate_d);
NULL,
NULL
},
-
+
};
/* *INDENT-ON* */
GST_DEBUG_OBJECT (dbin, "Resetting %" GST_PTR_FORMAT, input->parsebin);
+#ifndef TIZEN_FEATURE_BUG_FIX
INPUT_LOCK (dbin);
+#endif
GST_STATE_LOCK (dbin);
gst_element_set_state (input->parsebin, GST_STATE_NULL);
input->drained = FALSE;
}
gst_element_sync_state_with_parent (input->parsebin);
GST_STATE_UNLOCK (dbin);
+#ifndef TIZEN_FEATURE_BUG_FIX
INPUT_UNLOCK (dbin);
+#endif
}
}
g_list_free (new_pads);
g_list_free (old_pads);
+#ifdef TIZEN_FEATURE_BUG_FIX
+ g_list_free (to_activate);
+#endif
/* Deactivate old input item (by removing the source components). The final
* removal of this play item will be done once decodebin3 starts output the
info->demuxer = gst_element_factory_make ("parsebin", NULL);
if (!info->demuxer) {
post_missing_plugin_error (GST_ELEMENT_CAST (urisrc), "parsebin");
+#ifdef TIZEN_FEATURE_BUG_FIX
+ goto could_not_link;
+#else
return FALSE;
+#endif
}
gst_element_set_locked_state (info->demuxer, TRUE);
gst_bin_add (GST_BIN_CAST (urisrc), info->demuxer);
core_conf.set('TIZEN_FEATURE_DISABLE_EOS_DROP', true)
core_conf.set('TIZEN_FEATURE_MANUAL_BUFFERING_CTRL', true)
core_conf.set('TIZEN_FEATURE_FIX_PAD_BLOCK', true)
+core_conf.set('TIZEN_FEATURE_BUG_FIX', true)
tbm_dep = dependency('libtbm', required : get_option('tbm'))
if tbm_dep.found()
if (gst_adaptive_demux2_stream_seek (stream, rate >= 0, stream_seek_flags,
ts, &ts) != GST_FLOW_OK) {
+#ifdef TIZEN_FEATURE_BUG_FIX
+ GST_ADAPTIVE_DEMUX_SEGMENT_UNLOCK (demux);
+#endif
GST_ADAPTIVE_SCHEDULER_UNLOCK (demux);
GST_API_UNLOCK (demux);
cdata.set('TIZEN_FEATURE_GST_MUX_ENHANCEMENT', true)
cdata.set('TIZEN_FEATURE_V4L2_DISABLE_COLORIMETRY', true)
cdata.set('TIZEN_FEATURE_POST_VARIANT_INFO', true)
+cdata.set('TIZEN_FEATURE_BUG_FIX', true)
if get_option('tv-profile')
cdata.set('TIZEN_PROFILE_TV', true)