Skip to content
Snippets Groups Projects
Commit e72662e1 authored by Jun Zhao's avatar Jun Zhao Committed by Mark Thompson
Browse files

lavc/vaapi_encode_h264: fix poc incorrect issue after meeting idr frame.


when meeting IDR frame, vaapi_encode_h264 poc number don't reset, now fix
this issue based on h264 spec. Some decoder don't care this case, but this
fix will enhance the encoder action. Before this fix, poc number is
negative in some case.

Reviewed-by: default avatarJun Zhao <jun.zhao@intel.com>
Signed-off-by: default avatarWang, Yi A <yi.a.wang@intel.com>
Signed-off-by: default avatarMark Thompson <sw@jkqxz.net>
parent 30ebabca
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment