openh264: Register debug categories earlier
authorPhilippe Normand <philn@igalia.com>
Sat, 20 Aug 2022 15:15:15 +0000 (16:15 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 22 Aug 2022 13:34:33 +0000 (13:34 +0000)
commit0151d621afbde1e267c64f2697da0146b72d7f6a
tree2c1fb54ee5a8ab56ef903bd3f667e4b16f09ffcd
parentcfd3bd48503796743bbe83564d24027a6bc143be
openh264: Register debug categories earlier

Otherwise the GST_ERROR message logged in case of ABI mismatch would be done on
an uninitialized category.

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