mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
Added fps control to goom
Original commit message from CVS: Added fps control to goom
This commit is contained in:
parent
2da71acdf5
commit
8c47de1c65
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue