Commit 6c4e9a8f authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Win32: fix video output compilations

parent b746482d
......@@ -91,7 +91,7 @@ static int Open(vlc_object_t *object)
sys->d2_dll = LoadLibrary(TEXT("D2D1.DLL"));
if (!sys->d2_dll) {
if (object->b_force)
if (object->obj.force)
msg_Err(vd, "Cannot load D2D1.DLL, aborting");
goto error;
}
......
......@@ -163,7 +163,7 @@ static int Open(vlc_object_t *object)
OSVERSIONINFO winVer;
winVer.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
if(GetVersionEx(&winVer) && winVer.dwMajorVersion < 6 && !object->b_force)
if(GetVersionEx(&winVer) && winVer.dwMajorVersion < 6 && !object->obj.force)
return VLC_EGENERIC;
/* Allocate structure */
......
......@@ -136,7 +136,7 @@ LRESULT DecodeGesture( vlc_object_t *p_this, win32_gesture_sys_t *p_gesture,
break;
case GID_TWOFINGERTAP:
p_gesture->i_type = GID_TWOFINGERTAP;
var_SetInteger( p_this->ovj.libvlc, "key-action", ACTIONID_PLAY_PAUSE );
var_SetInteger( p_this->obj.libvlc, "key-action", ACTIONID_PLAY_PAUSE );
bHandled = TRUE;
break;
case GID_ZOOM:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment