openh264: Use DecodeFrameNoDelay() API instead of DecodeFrame2
authorJan Schmidt <jan@centricular.com>
Thu, 3 Jan 2019 15:53:33 +0000 (02:53 +1100)
committerJan Schmidt <jan@centricular.com>
Wed, 30 Jan 2019 03:53:02 +0000 (14:53 +1100)
commit40de7e5b9832575c45cd288b548acd44ca326ed5
tree8d31fdcc736585d15b9f705eb9671dc3c92d3baa
parent278cd35695f985fc2cee5e57585d93fcd2cd42b8
openh264: Use DecodeFrameNoDelay() API instead of DecodeFrame2

Replace legacy usage of DecodeFrame2 API in favour of the
recommended DecodeFrameNoDelay()

This fixes problems with DecodeFrame2() not (currently) returning
all frames in main/high streams with B-frames, and reduces latency -
previously openh264 would not return a decoded frame until the next
call to DecodeFrame2(). DecodeFrameNoDelay() returns them immediately.
ext/openh264/gstopenh264dec.cpp