mirror of https://github.com/odrling/Aegisub
parent
e7e1469af7
commit
729349b314
|
@ -5,8 +5,6 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include "setup.h"
|
||||
#if USE_DIRECTSHOW == 1
|
||||
#include <windows.h>
|
||||
#ifdef __WXDEBUG__
|
||||
#undef __WXDEBUG__
|
||||
|
@ -564,6 +562,3 @@ HRESULT CreateVideoSink(IBaseFilter **pVS) {
|
|||
*pVS = vs;
|
||||
return hr;
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
@ -199,6 +199,9 @@ void VideoDisplay::Render() {
|
|||
///////////////
|
||||
// Update size
|
||||
void VideoDisplay::UpdateSize() {
|
||||
// Loaded?
|
||||
if (VideoContext::Get()->IsLoaded()) return;
|
||||
|
||||
// Get size
|
||||
if (arType == 0) w = VideoContext::Get()->GetWidth() * zoomValue;
|
||||
else w = VideoContext::Get()->GetHeight() * zoomValue * arValue;
|
||||
|
|
Loading…
Reference in New Issue