mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
Make elements nanoseconds aware
Original commit message from CVS: Make elements nanoseconds aware
This commit is contained in:
parent
05c26d51a3
commit
7b751b8976
1 changed files with 1 additions and 1 deletions
|
@ -283,7 +283,7 @@ gst_synaesthesia_chain (GstPad *pad, GstBuffer *bufin)
|
||||||
GST_BUFFER_TIMESTAMP (bufout) = synaesthesia->next_time;
|
GST_BUFFER_TIMESTAMP (bufout) = synaesthesia->next_time;
|
||||||
GST_BUFFER_FLAG_SET (bufout, GST_BUFFER_DONTFREE);
|
GST_BUFFER_FLAG_SET (bufout, GST_BUFFER_DONTFREE);
|
||||||
|
|
||||||
synaesthesia->next_time += 1000000LL / synaesthesia->fps;
|
synaesthesia->next_time += GST_SECOND / synaesthesia->fps;
|
||||||
|
|
||||||
gst_pad_push (synaesthesia->srcpad, bufout);
|
gst_pad_push (synaesthesia->srcpad, bufout);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue