playbin: Fix some warnings with clang around multiview enums
authorJan Schmidt <jan@centricular.com>
Thu, 11 Jun 2015 13:01:48 +0000 (23:01 +1000)
committerJan Schmidt <jan@centricular.com>
Thu, 11 Jun 2015 13:01:48 +0000 (23:01 +1000)
commitca864ce46e6e9ae0d105f10909802bccfa5a394f
tree30f84b949d2faf7058bfbaf8c32d1b376247b7fe
parente57754be9bcf6c8276b1009bd5181b239d75c39b
playbin: Fix some warnings with clang around multiview enums

There is the GstVideoMultiviewMode enum and the
GstVideoMultiviewFramePacking, which is a subset of the
multiview modes, with the same values as the corresponding
types from the full enum. Do some casts and use the right
times to avoid implicitly using/passing GstVideoMultiviewFramePacking
when a GstVideoMultiviewMode is needed.
gst/playback/gstplaybin2.c