diff options
author | David Schleef <ds@schleef.org> | 2003-09-25 00:34:57 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2003-09-25 00:34:57 +0000 |
commit | c60fd3f74bf9ae8a17f9ca968930e8932f2ca147 (patch) | |
tree | f3171ba229453401dd72797ab83e19936de2aaa0 /ext/esd | |
parent | 70472b438e8be8c8b7b54ac9d9989507b46692cd (diff) |
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)
Diffstat (limited to 'ext/esd')
-rw-r--r-- | ext/esd/esdsink.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/esd/esdsink.c b/ext/esd/esdsink.c index f4557383..2e114786 100644 --- a/ext/esd/esdsink.c +++ b/ext/esd/esdsink.c @@ -280,7 +280,7 @@ gst_esdsink_chain (GstPad *pad, GstBuffer *buf) gst_audio_clock_set_active (GST_AUDIO_CLOCK (esdsink->provided_clock), FALSE); gst_pad_event_default (pad, event); - break; + return; case GST_EVENT_DISCONTINUOUS: { gint64 value; @@ -297,7 +297,7 @@ gst_esdsink_chain (GstPad *pad, GstBuffer *buf) } default: gst_pad_event_default(pad, event); - break; + return; } gst_event_unref(event); return; |