Ensure some fields in VideoContext get initialised.
Originally committed to SVN as r2888.
This commit is contained in:
parent
341fc0c019
commit
7e38ebfd82
1 changed files with 4 additions and 0 deletions
|
@ -110,6 +110,8 @@ VideoContext::VideoContext() {
|
|||
keyFramesLoaded = false;
|
||||
overKeyFramesLoaded = false;
|
||||
frame_n = 0;
|
||||
length = 0;
|
||||
fps = 0;
|
||||
arType = 0;
|
||||
arValue = 1.0;
|
||||
isPlaying = false;
|
||||
|
@ -180,6 +182,8 @@ void VideoContext::Reset() {
|
|||
// Remove video data
|
||||
loaded = false;
|
||||
frame_n = 0;
|
||||
length = 0;
|
||||
fps = 0;
|
||||
keyFramesLoaded = false;
|
||||
overKeyFramesLoaded = false;
|
||||
isPlaying = false;
|
||||
|
|
Loading…
Reference in a new issue