DIRECTOR: Identify more DV flags

This commit is contained in:
Eugene Sandulenko 2020-08-10 12:49:07 +02:00
parent c88a027cf6
commit daa2fd5618
2 changed files with 4 additions and 0 deletions

View File

@ -244,6 +244,8 @@ DigitalVideoCastMember::DigitalVideoCastMember(Cast *cast, uint16 castId, Common
if (_vflags & 0x0800) { if (_vflags & 0x0800) {
_frameRateType = (FrameRateType)((_vflags & 0x3000) >> 12); _frameRateType = (FrameRateType)((_vflags & 0x3000) >> 12);
} }
_qtmovie = _vflags & 0x8000;
_avimovie = _vflags & 0x4000;
_preload = _vflags & 0x0400; _preload = _vflags & 0x0400;
_enableVideo = !(_vflags & 0x0200); _enableVideo = !(_vflags & 0x0200);
_pausedAtStart = _vflags & 0x0100; _pausedAtStart = _vflags & 0x0100;
@ -264,6 +266,7 @@ DigitalVideoCastMember::DigitalVideoCastMember(Cast *cast, uint16 castId, Common
_frameRateType, _preload, _enableVideo, _pausedAtStart); _frameRateType, _preload, _enableVideo, _pausedAtStart);
debugC(2, kDebugLoading, "_showControls: %d, _looping: %d, _enableSound: %d, _crop %d, _center: %d, _directToStage: %d", debugC(2, kDebugLoading, "_showControls: %d, _looping: %d, _enableSound: %d, _crop %d, _center: %d, _directToStage: %d",
_showControls, _looping, _enableSound, _crop, _center, _directToStage); _showControls, _looping, _enableSound, _crop, _center, _directToStage);
debugC(2, kDebugLoading, "_avimovie: %d, _qtmovie: %d", _avimovie, _qtmovie);
} }
DigitalVideoCastMember::~DigitalVideoCastMember() { DigitalVideoCastMember::~DigitalVideoCastMember() {

View File

@ -132,6 +132,7 @@ public:
bool _preload; bool _preload;
bool _showControls; bool _showControls;
bool _directToStage; bool _directToStage;
bool _avimovie, _qtmovie;
FrameRateType _frameRateType; FrameRateType _frameRateType;
uint16 _frameRate; uint16 _frameRate;