videotestsrc: Initialize GstVideoInfo in ::start()
Otherwise we end up with bogus values and races
This commit is contained in:
parent
96efe720a1
commit
46ce07333b
@ -924,6 +924,8 @@ gst_video_test_src_start (GstBaseSrc * basesrc)
|
|||||||
src->accum_frames = 0;
|
src->accum_frames = 0;
|
||||||
src->accum_rtime = 0;
|
src->accum_rtime = 0;
|
||||||
|
|
||||||
|
gst_video_info_init (&src->info);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user