mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
videotestsrc: Initialize GstVideoInfo in ::start()
Otherwise we end up with bogus values and races
This commit is contained in:
parent
96efe720a1
commit
46ce07333b
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue