diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2002-06-02 13:25:40 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2002-06-02 13:25:40 +0000 |
commit | 6bb455cdc9da41aa72ecf8c8b207ec29a3f933c5 (patch) | |
tree | 855b87083dfb1c28ace369b31517de9caf0a458d /gst | |
parent | 8b094e02a991f2599325012de557a9235a934a90 (diff) |
Make elements nanoseconds aware
Original commit message from CVS:
Make elements nanoseconds aware
Diffstat (limited to 'gst')
-rw-r--r-- | gst/goom/gstgoom.c | 2 | ||||
-rw-r--r-- | gst/monoscope/gstmonoscope.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gst/goom/gstgoom.c b/gst/goom/gstgoom.c index 5b9f404f9..506ec82c1 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 += 1000000LL / goom->fps; + goom->next_time += GST_SECOND / goom->fps; gst_pad_push (goom->srcpad, bufout); diff --git a/gst/monoscope/gstmonoscope.c b/gst/monoscope/gstmonoscope.c index 8c4a84da9..cad9c34f9 100644 --- a/gst/monoscope/gstmonoscope.c +++ b/gst/monoscope/gstmonoscope.c @@ -286,7 +286,7 @@ gst_monoscope_chain (GstPad *pad, GstBuffer *bufin) GST_BUFFER_TIMESTAMP (bufout) = monoscope->next_time; GST_BUFFER_FLAG_SET (bufout, GST_BUFFER_DONTFREE); - monoscope->next_time += 1000000LL / monoscope->fps; + monoscope->next_time += GST_SECOND / monoscope->fps; gst_pad_push (monoscope->srcpad, bufout); |