mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 21:35:44 +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;
|
GstFlowReturn ret;
|
||||||
GstPad *peerpad;
|
GstPad *peerpad;
|
||||||
gboolean result, do_event_actions = TRUE;
|
gboolean result;
|
||||||
gboolean stored = FALSE;
|
gboolean stored = FALSE;
|
||||||
|
|
||||||
g_return_val_if_fail (GST_IS_PAD (pad), 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 */
|
/* backwards compatibility mode for caps */
|
||||||
if (do_event_actions) {
|
|
||||||
do_event_actions = FALSE;
|
|
||||||
|
|
||||||
switch (GST_EVENT_TYPE (event)) {
|
switch (GST_EVENT_TYPE (event)) {
|
||||||
case GST_EVENT_CAPS:
|
case GST_EVENT_CAPS:
|
||||||
{
|
{
|
||||||
|
@ -4306,7 +4303,7 @@ gst_pad_push_event (GstPad * pad, GstEvent * event)
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
if (G_UNLIKELY (GST_PAD_IS_FLUSHING (pad)))
|
if (G_UNLIKELY (GST_PAD_IS_FLUSHING (pad)))
|
||||||
goto flushed;
|
goto flushed;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue