mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 08:17:01 +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;
|
return;
|
||||||
case GST_EVENT_NEW_MEDIA:
|
case GST_EVENT_NEW_MEDIA:
|
||||||
g_print ("new media\n");
|
g_print ("new media\n");
|
||||||
return;
|
break;
|
||||||
case GST_EVENT_DISCONTINUOUS:
|
case GST_EVENT_DISCONTINUOUS:
|
||||||
{
|
{
|
||||||
gint64 value;
|
gint64 value;
|
||||||
|
@ -516,7 +516,7 @@ gst_osssink_chain (GstPad *pad, GstBuffer *buf)
|
||||||
gst_pad_event_default (pad, event);
|
gst_pad_event_default (pad, event);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
gst_event_free (event);
|
gst_event_unref (event);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue