Skip to content

fakesrc: avoid time overflow with datarate

Célestin Marot requested to merge marotc/gstreamer:fakesrc_overflow into main

With high datarate, the timestamp computations overflows very quickly at the fakesrc.

Here is a minimal example showing the issue (check the time):

gst-launch-1.0 fakesrc format=3 sizetype=2 sizemax=1000000000 datarate=1000000000 ! fakesink

Merge request reports