mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +00:00
Remove NEW_MEDIA from plugins
Original commit message from CVS: Remove NEW_MEDIA from plugins
This commit is contained in:
parent
2d14fa98cb
commit
3deabb351e
2 changed files with 3 additions and 5 deletions
|
@ -236,8 +236,9 @@ gst_pngenc_chain (GstPad *pad, GstBuffer *buf)
|
|||
png_destroy_write_struct (&pngenc->png_struct_ptr, (png_infopp) NULL);
|
||||
|
||||
gst_pad_push (pngenc->srcpad, pngenc->buffer_out);
|
||||
/* send NEW MEDIA event, since a frame has been pushed out */
|
||||
event = gst_event_new (GST_EVENT_NEW_MEDIA);
|
||||
|
||||
/* send EOS event, since a frame has been pushed out */
|
||||
event = gst_event_new (GST_EVENT_EOS);
|
||||
gst_pad_push (pngenc->srcpad, GST_BUFFER (event));
|
||||
|
||||
gst_buffer_unref (buf);
|
||||
|
|
|
@ -348,9 +348,6 @@ gst_osssink_chain (GstPad *pad, GstBuffer *buf)
|
|||
gst_oss_clock_set_active (osssink->provided_clock, FALSE);
|
||||
gst_pad_event_default (pad, event);
|
||||
return;
|
||||
case GST_EVENT_NEW_MEDIA:
|
||||
g_print ("new media\n");
|
||||
break;
|
||||
case GST_EVENT_DISCONTINUOUS:
|
||||
{
|
||||
gint64 value;
|
||||
|
|
Loading…
Reference in a new issue