mirror of https://github.com/odrling/Aegisub
Ensure some fields in VideoContext get initialised.
Originally committed to SVN as r2888.
This commit is contained in:
parent
341fc0c019
commit
7e38ebfd82
|
@ -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 New Issue