Skip to content

va: {vp9, av1}enc: Avoid reopen encoder or renegotiate.

He Junyan requested to merge He_Junyan/gstreamer:VP9_AV1_reopen into main

If parameters remain similar enough to avoid either encoder reopening or downstream renegotiation, avoid it.

This is going to be useful for dynamic parameters setting.

To check if the stream parameters changed, so the internal encoder has to be closed and opened again, are required two steps:

  1. If input caps, format, profile, chroma or rate control mode have changed.
  2. If any of the calculated variables and element properties have changed.

Later on, only if the output caps also changed, the pipeline is renegotiated.

Merge request reports