mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
typefind: Remove redundant assignment
CID 1357158
This commit is contained in:
parent
1abf889ddd
commit
0d5326950a
1 changed files with 1 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue