encoder: h264: submit SEI buffering_period() and picture_timing() messages for CBR...
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>
Thu, 2 Jul 2015 18:00:14 +0000 (21:00 +0300)
committerSreerenj Balachandran <sreerenj.balachandran@intel.com>
Thu, 2 Jul 2015 18:01:38 +0000 (21:01 +0300)
commita2604261946e0716dd2708686454d3ad6262f938
tree02b949df233d4ea295411cb666fc8a1e08100d41
parentb4d9c0a79a16f7e772b3faca5bc4bec9b0e947a8
encoder: h264: submit SEI buffering_period() and picture_timing() messages for CBR mode

One buffering_period() SEI message shall be present in every IDR access unit
when NalHrdBpPresentFlag is inferred to be equal to 1. This is the case when we
use a non-CQP mode, e.g. CBR. In other words, when
nal_hrd_parameters_present_flag is set to 1.

One picture_timing() SEI messages shall be present in every access unit
if CpbDpbDelaysPresentFlag is equal to 1 or pic_struct_present_flag is equal to 1

https://bugzilla.gnome.org/show_bug.cgi?id=722734
https://bugzilla.gnome.org/show_bug.cgi?id=751831

Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
gst-libs/gst/vaapi/gstvaapiencoder_h264.c