Yet another vfr fix
Originally committed to SVN as r156.
This commit is contained in:
parent
270e25a806
commit
d54b705287
1 changed files with 1 additions and 7 deletions
|
@ -346,13 +346,7 @@ int FrameRate::PTimeAtFrame(int frame) {
|
||||||
// returns the adjusted time for end frames when start=false
|
// returns the adjusted time for end frames when start=false
|
||||||
// otherwise for start frames
|
// otherwise for start frames
|
||||||
int FrameRate::GetFrameAtTime(int ms,bool start) {
|
int FrameRate::GetFrameAtTime(int ms,bool start) {
|
||||||
if (start) {
|
PFrameAtTime(ms,start);
|
||||||
if (FrameRateType == VFR) return PFrameAtTime(ms);
|
|
||||||
else return PFrameAtTime(ms,start);
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
return PFrameAtTime(ms);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue