Luckily this worked right since the flag we check is the only flag and its vale is 1, but feels more correct to actually check for non-zeroness. Spotted by Stirling Westrup. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/926>