diff --git a/sys/oss/gstosssrc.c b/sys/oss/gstosssrc.c index 8bf481446d..30eb48fed5 100644 --- a/sys/oss/gstosssrc.c +++ b/sys/oss/gstosssrc.c @@ -200,7 +200,7 @@ gst_osssrc_get (GstPad *pad) src->bytes_per_read); if (readbytes == 0) { - gst_element_signal_eos (GST_ELEMENT (src)); + gst_element_set_eos (GST_ELEMENT (src)); return NULL; }