typefind: Remove redundant assignment

CID 1357158
This commit is contained in:
Sebastian Dröge 2016-03-24 11:49:44 +02:00
parent 1abf889ddd
commit 0d5326950a

View file

@ -193,9 +193,7 @@ gst_type_find_element_have_type (GstTypeFindElement * typefind,
GstCaps *event_caps;
gst_event_parse_caps (event, &event_caps);
if (caps == event_caps) {
event = event;
} else {
if (caps != event_caps) {
gst_event_unref (event);
event = gst_event_new_caps (caps);
}