From 3a96272da6c4f8078db4a4236cc6b6f88d4d39ea Mon Sep 17 00:00:00 2001 From: Iain Holmes Date: Fri, 6 Dec 2002 01:23:41 +0000 Subject: Add an event handler to the GstOssSrc. Handle EOS events. Original commit message from CVS: Add an event handler to the GstOssSrc. Handle EOS events. --- sys/oss/gstosssrc.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/oss/gstosssrc.h') diff --git a/sys/oss/gstosssrc.h b/sys/oss/gstosssrc.h index 343190ea..5109c3c4 100644 --- a/sys/oss/gstosssrc.h +++ b/sys/oss/gstosssrc.h @@ -70,8 +70,10 @@ struct _GstOssSrc { gint format; gint channels; gint frequency; + gboolean need_sync; /* Do the parameters need resynced? */ - + gboolean need_eos; /* Do we need to emit an EOS? */ + /* blocking */ guint64 basetime; guint64 samples_since_basetime; -- cgit