intel / libyami

Yet Another Media Infrastructure. it is core part of media codec with hardware acceleration, it is yummy to your video experience on Linux like platform.
Apache License 2.0
146 stars 106 forks source link

v4l2: support on fly resolution change #789

Closed xuguangxin closed 6 years ago

xuguangxin commented 6 years ago

This feature important for online playback and video chat use case we do following things when we detect format change:

  1. drain decode output when we get format change.
  2. send format change notification to the caller.
  3. if the user does not reallocate the surface, we will discard the last format change. and keep use previous format.
xuguangxin commented 6 years ago

@LindaYu17 , please help review this.

uartie commented 6 years ago

LibVA 2.0 has been merged to master. This PR needs to be rebased on top of libyami's libva 2.0 compatibility commits... please rebase to fix intel/ci builds.

xuguangxin commented 6 years ago

@uartie ,rebased