mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
typefind: Remove redundant assignment
CID 1357158
This commit is contained in:
parent
1abf889ddd
commit
1979aa5934
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