mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
y4mdec: fix event leak
This commit is contained in:
parent
b6edb1a03a
commit
2b81720a22
1 changed files with 3 additions and 0 deletions
|
@ -591,6 +591,9 @@ gst_y4m_dec_sink_event (GstPad * pad, GstEvent * event)
|
|||
}
|
||||
|
||||
res = TRUE;
|
||||
/* not sure why it's not forwarded, but let's unref it so it
|
||||
doesn't leak, remove the unref if it gets forwarded again */
|
||||
gst_event_unref (event);
|
||||
//res = gst_pad_push_event (y4mdec->srcpad, event);
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue