mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +00:00
unref events
Original commit message from CVS: unref events
This commit is contained in:
parent
8a4b3564b5
commit
c171c41417
1 changed files with 2 additions and 2 deletions
|
@ -498,7 +498,7 @@ gst_osssink_chain (GstPad *pad, GstBuffer *buf)
|
|||
return;
|
||||
case GST_EVENT_NEW_MEDIA:
|
||||
g_print ("new media\n");
|
||||
return;
|
||||
break;
|
||||
case GST_EVENT_DISCONTINUOUS:
|
||||
{
|
||||
gint64 value;
|
||||
|
@ -516,7 +516,7 @@ gst_osssink_chain (GstPad *pad, GstBuffer *buf)
|
|||
gst_pad_event_default (pad, event);
|
||||
return;
|
||||
}
|
||||
gst_event_free (event);
|
||||
gst_event_unref (event);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue