openh264enc: Fix constrained-high encoding
authorPhilippe Normand <philn@igalia.com>
Sat, 20 Aug 2022 15:57:27 +0000 (16:57 +0100)
committerPhilippe Normand <philn@igalia.com>
Sat, 20 Aug 2022 15:57:27 +0000 (16:57 +0100)
commitcfd3bd48503796743bbe83564d24027a6bc143be
treed42e6d1280864d740bb92776d2d2f72974ceb309
parentd04a80676e3c9aa65c41ff186a0587600bd2b8ab
openh264enc: Fix constrained-high encoding

constrained-high is high without B-frames, there is no EProfileIdc for this, so
assume high instead of hitting an assert down the line.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2919>
subprojects/gst-plugins-bad/ext/openh264/gstopenh264enc.cpp