Might want to change this to
```
virtual UINT GetTotalFrames() const {return App->network ? App->network->NumTotalVideoFrames() : 0;}
```