From 8c47de1c656f6603edd0e50ca0a2a1c8e3867aa1 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Sun, 3 Feb 2002 02:45:33 +0000 Subject: Added fps control to goom Original commit message from CVS: Added fps control to goom --- gst/goom/gstgoom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gst') diff --git a/gst/goom/gstgoom.c b/gst/goom/gstgoom.c index f2f8ad72..d03aacba 100644 --- a/gst/goom/gstgoom.c +++ b/gst/goom/gstgoom.c @@ -281,7 +281,7 @@ gst_goom_chain (GstPad *pad, GstBuffer *bufin) GST_BUFFER_TIMESTAMP (bufout) = goom->next_time; GST_BUFFER_FLAG_SET (bufout, GST_BUFFER_DONTFREE); - goom->next_time += 40000LL; + goom->next_time += 1000000LL / goom->fps; gst_pad_push (goom->srcpad, bufout); -- cgit