Fixed unloading of video.
Originally committed to SVN as r1086.
This commit is contained in:
parent
6724424880
commit
e7eb42906a
1 changed files with 7 additions and 7 deletions
|
@ -806,14 +806,14 @@ void FrameMain::SynchronizeProject(bool fromSubs) {
|
|||
|
||||
// Video
|
||||
if (curSubsVideo != VideoContext::Get()->videoName) {
|
||||
if (curSubsVideo != _T("")) {
|
||||
LoadVideo(curSubsVideo);
|
||||
if (VideoContext::Get()->IsLoaded()) {
|
||||
VideoContext::Get()->SetAspectRatio(videoAr,videoArValue);
|
||||
videoBox->videoDisplay->SetZoomPos(videoZoom-1);
|
||||
VideoContext::Get()->JumpToFrame(videoPos);
|
||||
}
|
||||
//if (curSubsVideo != _T("")) {
|
||||
LoadVideo(curSubsVideo);
|
||||
if (VideoContext::Get()->IsLoaded()) {
|
||||
VideoContext::Get()->SetAspectRatio(videoAr,videoArValue);
|
||||
videoBox->videoDisplay->SetZoomPos(videoZoom-1);
|
||||
VideoContext::Get()->JumpToFrame(videoPos);
|
||||
}
|
||||
//}
|
||||
}
|
||||
|
||||
// Keyframes
|
||||
|
|
Loading…
Reference in a new issue