mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
parent
8de562cd70
commit
2f88880149
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ gst_pngenc_chain (GstPad *pad, GstBuffer *buf)
|
||||||
gst_pad_push (pngenc->srcpad, pngenc->buffer_out);
|
gst_pad_push (pngenc->srcpad, pngenc->buffer_out);
|
||||||
/* send NEW MEDIA event, since a frame has been pushed out */
|
/* send NEW MEDIA event, since a frame has been pushed out */
|
||||||
event = gst_event_new (GST_EVENT_NEW_MEDIA);
|
event = gst_event_new (GST_EVENT_NEW_MEDIA);
|
||||||
gst_pad_send_event (pngenc->srcpad, event);
|
gst_pad_push (pngenc->srcpad, GST_BUFFER (event));
|
||||||
|
|
||||||
gst_buffer_unref (buf);
|
gst_buffer_unref (buf);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue