Added fps control to goom

Original commit message from CVS:
Added fps control to goom
This commit is contained in:
Wim Taymans 2002-02-03 02:45:33 +00:00
parent 2da71acdf5
commit 8c47de1c65

View file

@ -281,7 +281,7 @@ gst_goom_chain (GstPad *pad, GstBuffer *bufin)
GST_BUFFER_TIMESTAMP (bufout) = goom->next_time; GST_BUFFER_TIMESTAMP (bufout) = goom->next_time;
GST_BUFFER_FLAG_SET (bufout, GST_BUFFER_DONTFREE); GST_BUFFER_FLAG_SET (bufout, GST_BUFFER_DONTFREE);
goom->next_time += 40000LL; goom->next_time += 1000000LL / goom->fps;
gst_pad_push (goom->srcpad, bufout); gst_pad_push (goom->srcpad, bufout);