i = 0;
while (i < gst_query_get_n_allocation_pools (query)) {
gst_query_parse_nth_allocation_pool (query, i, &pool, NULL, NULL, NULL);
+#ifdef TIZEN_FEATURE_OMX
+ gst_query_remove_nth_allocation_pool (query, i);
+ GST_WARNING_OBJECT (self, "remove pool from downstream %u", gst_query_get_n_allocation_pools (query));
+#else /* TIZEN_FEATURE_OMX */
if (GST_IS_OMX_BUFFER_POOL (pool)) {
GST_DEBUG_OBJECT (self, "Discard OMX pool from downstream");
gst_query_remove_nth_allocation_pool (query, i);
self->use_buffers = TRUE;
i++;
}
+#endif /* TIZEN_FEATURE_OMX */
if (pool)
gst_object_unref (pool);
Name: gst-omx
Summary: GStreamer plug-in that allows communication with OpenMAX IL components
Version: 1.16.2
-Release: 2
+Release: 3
License: LGPL-2.1+
Group: Multimedia/Framework
Source0: %{name}-%{version}.tar.gz