mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 03:29:50 +00:00
gstpad: Remove unused variable do_event_actions
do_event_actions was always used as TRUE
This commit is contained in:
parent
9eee73dcc6
commit
a885082a16
1 changed files with 37 additions and 40 deletions
|
@ -4212,7 +4212,7 @@ gst_pad_push_event (GstPad * pad, GstEvent * event)
|
|||
{
|
||||
GstFlowReturn ret;
|
||||
GstPad *peerpad;
|
||||
gboolean result, do_event_actions = TRUE;
|
||||
gboolean result;
|
||||
gboolean stored = FALSE;
|
||||
|
||||
g_return_val_if_fail (GST_IS_PAD (pad), FALSE);
|
||||
|
@ -4264,9 +4264,6 @@ gst_pad_push_event (GstPad * pad, GstEvent * event)
|
|||
}
|
||||
|
||||
/* backwards compatibility mode for caps */
|
||||
if (do_event_actions) {
|
||||
do_event_actions = FALSE;
|
||||
|
||||
switch (GST_EVENT_TYPE (event)) {
|
||||
case GST_EVENT_CAPS:
|
||||
{
|
||||
|
@ -4306,7 +4303,7 @@ gst_pad_push_event (GstPad * pad, GstEvent * event)
|
|||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (G_UNLIKELY (GST_PAD_IS_FLUSHING (pad)))
|
||||
goto flushed;
|
||||
|
||||
|
|
Loading…
Reference in a new issue