def test_libvlc_video_new_viewpoint(self): vp = vlc.libvlc_video_new_viewpoint() if vlc.__version__ < "4": vp.contents.yaw = 2 self.assertEqual(vp.contents.yaw, 2) else: vp.contents.f_yaw = 2 self.assertEqual(vp.contents.f_yaw, 2)
def test_libvlc_video_new_viewpoint(self): vp = vlc.libvlc_video_new_viewpoint() vp.contents.yaw = 2 self.assertEqual(vp.contents.yaw, 2)
def test_libvlc_video_new_viewpoint(self): vp = vlc.libvlc_video_new_viewpoint() vp.contents.f_yaw = 2 self.assertEqual(vp.contents.f_yaw, 2)