ogg: remove useless ret test
authorStéphane Cerveau <scerveau@collabora.com>
Mon, 8 Mar 2021 09:44:53 +0000 (10:44 +0100)
committerStéphane Cerveau <scerveau@collabora.com>
Wed, 10 Mar 2021 19:06:20 +0000 (20:06 +0100)
commit20da00f05763296bcd955d7ecdadd51aea4e5a2f
tree9af178d9b05a3dd20bb98b283959cf532ac8dde3
parent1682161355d2ab57bfb291ab2eae6059a3d8b234
ogg: remove useless ret test

Use GST_ELEMENT_REGISTER_DEFINE_CUSTOM instead
of GST_ELEMENT_REGISTER_DEFINE_WITH_CODE if a specific
init needs to be tested before registering the element.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1060>
ext/ogg/gstoggdemux.c