Remove NEW_MEDIA from plugins

Original commit message from CVS:
Remove NEW_MEDIA from plugins
This commit is contained in:
Ronald S. Bultje 2003-06-07 00:17:53 +00:00
parent 2d14fa98cb
commit 3deabb351e
2 changed files with 3 additions and 5 deletions

View file

@ -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);

View file

@ -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;