encodebin: Simplify the are_raw_caps function
authorJimmy Ohn <yongjin.ohn@lge.com>
Thu, 29 Jun 2017 00:02:20 +0000 (09:02 +0900)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 29 Jun 2017 19:51:53 +0000 (15:51 -0400)
commitca18b1f8fdcfc54229130981d71bde59d749193b
treeac85a931bf537d47ff07bdb4714db6e287aaa94e
parent6441df09e900c51c997ae86aea7127c308224a4e
encodebin: Simplify the are_raw_caps function

Remove unnecessary if statement in are_raw_caps function.
we can use result returned by gst_caps_can_intersect quite simple.

https://bugzilla.gnome.org/show_bug.cgi?id=784312
gst/encoding/gstencodebin.c