removed flush from DISCONT

Original commit message from CVS:
removed flush from DISCONT
This commit is contained in:
Wim Taymans 2002-06-12 22:42:50 +00:00
parent 72a06fe70f
commit c7aa8d63fd

View file

@ -378,7 +378,6 @@ static GstBuffer *gst_gnomevfssrc_get(GstPad *pad)
GST_DEBUG (GST_CAT_EVENT, "gnomevfssrc sending discont"); GST_DEBUG (GST_CAT_EVENT, "gnomevfssrc sending discont");
event = gst_event_new_discontinuous (FALSE, GST_FORMAT_BYTES, src->curoffset, NULL); event = gst_event_new_discontinuous (FALSE, GST_FORMAT_BYTES, src->curoffset, NULL);
GST_EVENT_DISCONT_FLUSH (event) = src->need_flush;
src->need_flush = FALSE; src->need_flush = FALSE;
return GST_BUFFER (event); return GST_BUFFER (event);
} }
@ -402,7 +401,6 @@ static GstBuffer *gst_gnomevfssrc_get(GstPad *pad)
GST_DEBUG (GST_CAT_EVENT, "gnomevfssrc sending discont"); GST_DEBUG (GST_CAT_EVENT, "gnomevfssrc sending discont");
event = gst_event_new_discontinuous (FALSE, GST_FORMAT_BYTES, src->curoffset, NULL); event = gst_event_new_discontinuous (FALSE, GST_FORMAT_BYTES, src->curoffset, NULL);
GST_EVENT_DISCONT_FLUSH (event) = src->need_flush;
src->need_flush = FALSE; src->need_flush = FALSE;
return GST_BUFFER (event); return GST_BUFFER (event);