Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/pupil-labs/pupil
Browse files Browse the repository at this point in the history
Conflicts:
	pupil_src/capture/eye.py
	pupil_src/capture/world.py
  • Loading branch information
mkassner committed Sep 9, 2015
2 parents c1eca74 + aabb92e commit 2d52b06
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions pupil_src/shared_modules/video_capture/win_video.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,19 @@ class Camera_Capture(object):

_is_initialized = False
_failed_inits = 0

@property
def settings(self):
settings = {}
settings['name'] = self.name
settings['frame_rate'] = self.frame_rate
settings['frame_size'] = self.frame_size
return settings
@settings.setter
def settings(self,settings):
self.frame_size = settings['frame_size']
self.frame_rate = settings['frame_rate']


@property
def name(self):
Expand Down

0 comments on commit 2d52b06

Please sign in to comment.