Skip to content
Snippets Groups Projects
Commit 6743778e authored by Edward Hervey's avatar Edward Hervey :metal: Committed by Edward Hervey
Browse files

videotestsrc: Avoid overflow calculation

n_frames could end up being quite big (potentially up to G_MAXINT64). Which
would result in overflowing 64bits when multiplying it by GST_SECOND.

Instead move GST_SECOND to the num argument
parent 64ed9082
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment