playback: remove useless ret test
authorStéphane Cerveau <scerveau@collabora.com>
Mon, 8 Mar 2021 09:45:32 +0000 (10:45 +0100)
committerStéphane Cerveau <scerveau@collabora.com>
Wed, 10 Mar 2021 19:06:20 +0000 (20:06 +0100)
commit01d1bbd1dadf2992769d351023d624eacb0a92c5
tree489562af399cd361b4706871f8c32c61295de517
parent20da00f05763296bcd955d7ecdadd51aea4e5a2f
playback: 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>
gst/playback/gstdecodebin2.c
gst/playback/gstdecodebin3.c
gst/playback/gstparsebin.c
gst/playback/gstplaybackplugin.c
gst/playback/gstplaybin2.c
gst/playback/gstplaysink.c
gst/playback/gststreamsynchronizer.c
gst/playback/gstsubtitleoverlay.c
gst/playback/gsturidecodebin.c
gst/playback/gsturidecodebin3.c
gst/playback/gsturisourcebin.c