GstBaseTransform missing frames

Abdumuminov, Umedzhon umedzhon.abdumuminov at intel.com
Thu Sep 26 12:56:17 UTC 2019


Hi guys,

We have problem with missing some frames due to finishing pipeline before we done with processing.

We have inherited our elements from GstBaseTransform. Our elements do processing in their own threads in parallel.
According to documentation (https://gstreamer.freedesktop.org/documentation/base/gstbasetransform.html#GstBaseTransformClass::generate_output) we can return GST_BASE_TRANSFORM_FLOW_DROPPED and it is fine.
So, when filesrc reach end of file and send EOS we didn't finished processing yet, but due to EOS pipeline finishes and we are losing some frames that are in processing.

We would like to keep processing in our own threads and do not lose frames when pipeline finishes.
Is there any convenient way to make pipeline wait until we finished? or maybe we  can return something different instead of "drop" status?

Thank you in advance!

Umed

--------------------------------------------------------------------
Joint Stock Company Intel A/O
Registered legal address: Krylatsky Hills Business Park,
17 Krylatskaya Str., Bldg 4, Moscow 121614,
Russian Federation

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.



More information about the gstreamer-devel mailing list