mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-01 21:18:52 +00:00
Don't unref event when calling gst_pad_event_default() (#119155)
Original commit message from CVS: Don't unref event when calling gst_pad_event_default() (#119155)
This commit is contained in:
parent
70472b438e
commit
c60fd3f74b
1 changed files with 2 additions and 2 deletions
|
@ -280,7 +280,7 @@ gst_esdsink_chain (GstPad *pad, GstBuffer *buf)
|
||||||
gst_audio_clock_set_active (GST_AUDIO_CLOCK (esdsink->provided_clock),
|
gst_audio_clock_set_active (GST_AUDIO_CLOCK (esdsink->provided_clock),
|
||||||
FALSE);
|
FALSE);
|
||||||
gst_pad_event_default (pad, event);
|
gst_pad_event_default (pad, event);
|
||||||
break;
|
return;
|
||||||
case GST_EVENT_DISCONTINUOUS:
|
case GST_EVENT_DISCONTINUOUS:
|
||||||
{
|
{
|
||||||
gint64 value;
|
gint64 value;
|
||||||
|
@ -297,7 +297,7 @@ gst_esdsink_chain (GstPad *pad, GstBuffer *buf)
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
gst_pad_event_default(pad, event);
|
gst_pad_event_default(pad, event);
|
||||||
break;
|
return;
|
||||||
}
|
}
|
||||||
gst_event_unref(event);
|
gst_event_unref(event);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue