GstElement: Need a way to prevent realtime priority to propagate to GStreamer threads (Enhancement)
We have a use case where we promote one or more pipelines from the Linux scheduling policy SCHER_OTHER to SCHER_RR. What we are trying to create a way to prevent the SCHER_RR policy to propagate to the pipeline internal threads.
We have made a patch in the file gstelement.c in the function gst_element_call_async_func that resets the scheduling policy from SCHER_RR to SCHER_OTHER. This patch works but we are not sure that this is the proper way.
We would like to discuss a permanent solution.
GStreamer version: 1.14.0 Operating system: Linux