Skip to content

codecs: Fix H264 DPB Size

It was notices during testing the we would overrun our static 16 entry array in v4l2codecs. We found out that the DPB returned by the baseclass could be larger then spec maximum of 16. The sample to reproduce was (requires master of gst-plugins-ugly):

gst-launch-1.0 videotestsrc num-buffers=1024 ! x264enc ref=16 ! mp4mux ! filesink location=test.mp4

Merge request reports