• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

hardware/intel/common/vaapi


Commit MetaInfo

Revisión6b26f3fb7367836291db40dd6e36cf6762ab32c8 (tree)
Tiempo2017-08-08 15:39:09
AutorMark Thompson <sw@jkqx...>
CommiterXiang, Haihao

Log Message

Do not apply AUD hack to non-RawData headers

Headers which are not VAEncPackedHeaderRawData should not be inserted
at the front of the access unit by the AUD hack - if they are, they will
end up duplicated if they match the test because they are also placed
later in the access unit.

Signed-off-by: Mark Thompson <sw@jkqxz.net>

Cambiar Resumen

Diferencia incremental

--- a/src/gen9_avc_encoder.c
+++ b/src/gen9_avc_encoder.c
@@ -6387,6 +6387,8 @@ gen9_mfc_avc_insert_aud_packed_data(VADriverContextP ctx,
63876387 nal_type = (unsigned char *)header_data;
63886388
63896389 param = (VAEncPackedHeaderParameterBuffer *)(encode_state->packed_header_params_ext[start_index + i]->buffer);
6390+ if (param->type != VAEncPackedHeaderRawData)
6391+ continue;
63906392
63916393 length_in_bits = param->bit_length;
63926394