mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 07:38:16 +00:00
fieldanalysis: Fix unitiailized variable compiler warning
And also use the pad's default event function instead of just pushing to the peerpad. This makes sure any default handling of events is called.
This commit is contained in:
parent
4d6fa2e6ec
commit
12add5d529
1 changed files with 2 additions and 1 deletions
|
@ -792,11 +792,12 @@ gst_field_analysis_sink_event (GstPad * pad, GstObject * parent,
|
|||
break;
|
||||
}
|
||||
default:
|
||||
forward = TRUE;
|
||||
break;
|
||||
}
|
||||
|
||||
if (forward) {
|
||||
ret = gst_pad_push_event (filter->srcpad, event);
|
||||
ret = gst_pad_event_default (pad, parent, event);
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
|
Loading…
Reference in a new issue