Commit 46ce0733 authored by Edward Hervey's avatar Edward Hervey Committed by Edward Hervey

videotestsrc: Initialize GstVideoInfo in ::start()

Otherwise we end up with bogus values and races
parent 96efe720
......@@ -924,6 +924,8 @@ gst_video_test_src_start (GstBaseSrc * basesrc)
src->accum_frames = 0;
src->accum_rtime = 0;
gst_video_info_init (&src->info);
return TRUE;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment