plugins: Use explicit type conversion from enums
authorNirbheek Chauhan <nirbheek@centricular.com>
Thu, 27 Oct 2016 03:55:20 +0000 (09:25 +0530)
committerNirbheek Chauhan <nirbheek@centricular.com>
Thu, 27 Oct 2016 17:36:26 +0000 (23:06 +0530)
commitbb0a83b0185ab789e06dec16869e587d839414fa
tree2b00d6509bce8bdffaa55f065db79c31bebc6908
parentf7908637554ff5f8ce60938e9c56962644ea71d3
plugins: Use explicit type conversion from enums

MSVC warns about this because it's a C++ compiler, and this actually
results in useful things such as the incorrect 'gboolean' return value
for functions that return GstFlowReturn, so let's do explicit
conversions to reduce the noise and increase its efficacy.
ext/gl/gstglstereosplit.c
ext/openh264/gstopenh264enc.cpp
gst/videoparsers/gsth264parse.c