decklinkvideosink: Cast result of bitwise-or of multiple enum values to the enum...
authorSebastian Dröge <sebastian@centricular.com>
Tue, 13 Nov 2018 08:02:57 +0000 (10:02 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 13 Nov 2018 08:02:57 +0000 (10:02 +0200)
commit1d0d395b5c30b12c4bbadc8b2addcbb6f3b9d6d9
tree5fe1a9f46a5a7daed7de21fde102e17bc85ee2af
parent09f814a00aa763f37a2d2518bba2e5567d52bec5
decklinkvideosink: Cast result of bitwise-or of multiple enum values to the enum again

In C++ the bitwise-or results in an int, and ints are not implicitely
cast to enums.

See https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/merge_requests/25#note_78122
sys/decklink/gstdecklinkvideosink.cpp