Skip to content

simplify decoder's downstream caps negotiation

The main change is to use decoder's context info to generated the caps to reply at query caps, and this will simplify the caps negotiation.

Future changes are

  1. do an early caps negotiation in order to get the color format to pass to the context, thus the surface pool can use the modern vaCreateSurface API
  2. Pass if the negotiated caps feature is DMABuf in the decoder to pass the external buffer property in the context's surface pool
Edited by Víctor Manuel Jáquez Leal

Merge request reports

Loading