{"action":"opened","number":362,"pull_request":{"url":"https://api.github.com/repos/stb-tester/stb-tester/pulls/362","id":69838499,"html_url":"https://github.com/stb-tester/stb-tester/pull/362","diff_url":"https://github.com/stb-tester/stb-tester/pull/362.diff","patch_url":"https://github.com/stb-tester/stb-tester/pull/362.patch","issue_url":"https://api.github.com/repos/stb-tester/stb-tester/issues/362","number":362,"state":"open","locked":false,"title":"FrameObject: Anticipate stbt.get_frame returning a read-only image","user":{"login":"wmanley","id":494659,"avatar_url":"https://avatars.githubusercontent.com/u/494659?v=3","gravatar_id":"","url":"https://api.github.com/users/wmanley","html_url":"https://github.com/wmanley","followers_url":"https://api.github.com/users/wmanley/followers","following_url":"https://api.github.com/users/wmanley/following{/other_user}","gists_url":"https://api.github.com/users/wmanley/gists{/gist_id}","starred_url":"https://api.github.com/users/wmanley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wmanley/subscriptions","organizations_url":"https://api.github.com/users/wmanley/orgs","repos_url":"https://api.github.com/users/wmanley/repos","events_url":"https://api.github.com/users/wmanley/events{/privacy}","received_events_url":"https://api.github.com/users/wmanley/received_events","type":"User","site_admin":false},"body":"In the future I want to make `stbt.get_frame()` return an immutable image.\r\nThis way we will be able to reduce copying of data by providing numpy\r\narrays backed by the original `Gst.Sample`s.  This will be particularly\r\nimportant for better and more efficient handling of 4K video.\r\n\r\nThis commit anticipates that change by exercising user's `FrameObject`s\r\nwith read-only buffers.  This is good because it makes a future change to\r\nthe behaviour of `get_frame()` less likely to break user-scripts.  This is\r\na non-breaking change itself as `FrameObject` has yet to be released.","created_at":"2016-05-12T13:44:05Z","updated_at":"2016-05-12T13:44:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/stb-tester/stb-tester/pulls/362/commits","review_comments_url":"https://api.github.com/repos/stb-tester/stb-tester/pulls/362/comments","review_comment_url":"https://api.github.com/repos/stb-tester/stb-tester/pulls/comments{/number}","comments_url":"https://api.github.com/repos/stb-tester/stb-tester/issues/362/comments","statuses_url":"https://api.github.com/repos/stb-tester/stb-tester/statuses/cdc6ae4653b0bc239bb4f332c284088cfc4ed25a","head":{"label":"wmanley:read-only-frameobject-images","ref":"read-only-frameobject-images","sha":"cdc6ae4653b0bc239bb4f332c284088cfc4ed25a","user":{"login":"wmanley","id":494659,"avatar_url":"https://avatars.githubusercontent.com/u/494659?v=3","gravatar_id":"","url":"https://api.github.com/users/wmanley","html_url":"https://github.com/wmanley","followers_url":"https://api.github.com/users/wmanley/followers","following_url":"https://api.github.com/users/wmanley/following{/other_user}","gists_url":"https://api.github.com/users/wmanley/gists{/gist_id}","starred_url":"https://api.github.com/users/wmanley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wmanley/subscriptions","organizations_url":"https://api.github.com/users/wmanley/orgs","repos_url":"https://api.github.com/users/wmanley/repos","events_url":"https://api.github.com/users/wmanley/events{/privacy}","received_events_url":"https://api.github.com/users/wmanley/received_events","type":"User","site_admin":false},"repo":{"id":4783326,"name":"stb-tester","full_name":"wmanley/stb-tester","owner":{"login":"wmanley","id":494659,"avatar_url":"https://avatars.githubusercontent.com/u/494659?v=3","gravatar_id":"","url":"https://api.github.com/users/wmanley","html_url":"https://github.com/wmanley","followers_url":"https://api.github.com/users/wmanley/followers","following_url":"https://api.github.com/users/wmanley/following{/other_user}","gists_url":"https://api.github.com/users/wmanley/gists{/gist_id}","starred_url":"https://api.github.com/users/wmanley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wmanley/subscriptions","organizations_url":"https://api.github.com/users/wmanley/orgs","repos_url":"https://api.github.com/users/wmanley/repos","events_url":"https://api.github.com/users/wmanley/events{/privacy}","received_events_url":"https://api.github.com/users/wmanley/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wmanley/stb-tester","description":"A record + playback testing system for set-top boxes","fork":true,"url":"https://api.github.com/repos/wmanley/stb-tester","forks_url":"https://api.github.com/repos/wmanley/stb-tester/forks","keys_url":"https://api.github.com/repos/wmanley/stb-tester/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wmanley/stb-tester/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wmanley/stb-tester/teams","hooks_url":"https://api.github.com/repos/wmanley/stb-tester/hooks","issue_events_url":"https://api.github.com/repos/wmanley/stb-tester/issues/events{/number}","events_url":"https://api.github.com/repos/wmanley/stb-tester/events","assignees_url":"https://api.github.com/repos/wmanley/stb-tester/assignees{/user}","branches_url":"https://api.github.com/repos/wmanley/stb-tester/branches{/branch}","tags_url":"https://api.github.com/repos/wmanley/stb-tester/tags","blobs_url":"https://api.github.com/repos/wmanley/stb-tester/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wmanley/stb-tester/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wmanley/stb-tester/git/refs{/sha}","trees_url":"https://api.github.com/repos/wmanley/stb-tester/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wmanley/stb-tester/statuses/{sha}","languages_url":"https://api.github.com/repos/wmanley/stb-tester/languages","stargazers_url":"https://api.github.com/repos/wmanley/stb-tester/stargazers","contributors_url":"https://api.github.com/repos/wmanley/stb-tester/contributors","subscribers_url":"https://api.github.com/repos/wmanley/stb-tester/subscribers","subscription_url":"https://api.github.com/repos/wmanley/stb-tester/subscription","commits_url":"https://api.github.com/repos/wmanley/stb-tester/commits{/sha}","git_commits_url":"https://api.github.com/repos/wmanley/stb-tester/git/commits{/sha}","comments_url":"https://api.github.com/repos/wmanley/stb-tester/comments{/number}","issue_comment_url":"https://api.github.com/repos/wmanley/stb-tester/issues/comments{/number}","contents_url":"https://api.github.com/repos/wmanley/stb-tester/contents/{+path}","compare_url":"https://api.github.com/repos/wmanley/stb-tester/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wmanley/stb-tester/merges","archive_url":"https://api.github.com/repos/wmanley/stb-tester/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wmanley/stb-tester/downloads","issues_url":"https://api.github.com/repos/wmanley/stb-tester/issues{/number}","pulls_url":"https://api.github.com/repos/wmanley/stb-tester/pulls{/number}","milestones_url":"https://api.github.com/repos/wmanley/stb-tester/milestones{/number}","notifications_url":"https://api.github.com/repos/wmanley/stb-tester/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wmanley/stb-tester/labels{/name}","releases_url":"https://api.github.com/repos/wmanley/stb-tester/releases{/id}","deployments_url":"https://api.github.com/repos/wmanley/stb-tester/deployments","created_at":"2012-06-25T15:17:46Z","updated_at":"2015-02-24T16:36:05Z","pushed_at":"2016-05-12T13:39:58Z","git_url":"git://github.com/wmanley/stb-tester.git","ssh_url":"git@github.com:wmanley/stb-tester.git","clone_url":"https://github.com/wmanley/stb-tester.git","svn_url":"https://github.com/wmanley/stb-tester","homepage":null,"size":23441,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":2,"default_branch":"master"}},"base":{"label":"stb-tester:master","ref":"master","sha":"a95e598889333e4e54d63641b7a9d461a0b34141","user":{"login":"stb-tester","id":5528358,"avatar_url":"https://avatars.githubusercontent.com/u/5528358?v=3","gravatar_id":"","url":"https://api.github.com/users/stb-tester","html_url":"https://github.com/stb-tester","followers_url":"https://api.github.com/users/stb-tester/followers","following_url":"https://api.github.com/users/stb-tester/following{/other_user}","gists_url":"https://api.github.com/users/stb-tester/gists{/gist_id}","starred_url":"https://api.github.com/users/stb-tester/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stb-tester/subscriptions","organizations_url":"https://api.github.com/users/stb-tester/orgs","repos_url":"https://api.github.com/users/stb-tester/repos","events_url":"https://api.github.com/users/stb-tester/events{/privacy}","received_events_url":"https://api.github.com/users/stb-tester/received_events","type":"Organization","site_admin":false},"repo":{"id":4739298,"name":"stb-tester","full_name":"stb-tester/stb-tester","owner":{"login":"stb-tester","id":5528358,"avatar_url":"https://avatars.githubusercontent.com/u/5528358?v=3","gravatar_id":"","url":"https://api.github.com/users/stb-tester","html_url":"https://github.com/stb-tester","followers_url":"https://api.github.com/users/stb-tester/followers","following_url":"https://api.github.com/users/stb-tester/following{/other_user}","gists_url":"https://api.github.com/users/stb-tester/gists{/gist_id}","starred_url":"https://api.github.com/users/stb-tester/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stb-tester/subscriptions","organizations_url":"https://api.github.com/users/stb-tester/orgs","repos_url":"https://api.github.com/users/stb-tester/repos","events_url":"https://api.github.com/users/stb-tester/events{/privacy}","received_events_url":"https://api.github.com/users/stb-tester/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/stb-tester/stb-tester","description":"Automated Testing for Set-Top Boxes and Smart TVs","fork":false,"url":"https://api.github.com/repos/stb-tester/stb-tester","forks_url":"https://api.github.com/repos/stb-tester/stb-tester/forks","keys_url":"https://api.github.com/repos/stb-tester/stb-tester/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stb-tester/stb-tester/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stb-tester/stb-tester/teams","hooks_url":"https://api.github.com/repos/stb-tester/stb-tester/hooks","issue_events_url":"https://api.github.com/repos/stb-tester/stb-tester/issues/events{/number}","events_url":"https://api.github.com/repos/stb-tester/stb-tester/events","assignees_url":"https://api.github.com/repos/stb-tester/stb-tester/assignees{/user}","branches_url":"https://api.github.com/repos/stb-tester/stb-tester/branches{/branch}","tags_url":"https://api.github.com/repos/stb-tester/stb-tester/tags","blobs_url":"https://api.github.com/repos/stb-tester/stb-tester/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stb-tester/stb-tester/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stb-tester/stb-tester/git/refs{/sha}","trees_url":"https://api.github.com/repos/stb-tester/stb-tester/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stb-tester/stb-tester/statuses/{sha}","languages_url":"https://api.github.com/repos/stb-tester/stb-tester/languages","stargazers_url":"https://api.github.com/repos/stb-tester/stb-tester/stargazers","contributors_url":"https://api.github.com/repos/stb-tester/stb-tester/contributors","subscribers_url":"https://api.github.com/repos/stb-tester/stb-tester/subscribers","subscription_url":"https://api.github.com/repos/stb-tester/stb-tester/subscription","commits_url":"https://api.github.com/repos/stb-tester/stb-tester/commits{/sha}","git_commits_url":"https://api.github.com/repos/stb-tester/stb-tester/git/commits{/sha}","comments_url":"https://api.github.com/repos/stb-tester/stb-tester/comments{/number}","issue_comment_url":"https://api.github.com/repos/stb-tester/stb-tester/issues/comments{/number}","contents_url":"https://api.github.com/repos/stb-tester/stb-tester/contents/{+path}","compare_url":"https://api.github.com/repos/stb-tester/stb-tester/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stb-tester/stb-tester/merges","archive_url":"https://api.github.com/repos/stb-tester/stb-tester/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stb-tester/stb-tester/downloads","issues_url":"https://api.github.com/repos/stb-tester/stb-tester/issues{/number}","pulls_url":"https://api.github.com/repos/stb-tester/stb-tester/pulls{/number}","milestones_url":"https://api.github.com/repos/stb-tester/stb-tester/milestones{/number}","notifications_url":"https://api.github.com/repos/stb-tester/stb-tester/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stb-tester/stb-tester/labels{/name}","releases_url":"https://api.github.com/repos/stb-tester/stb-tester/releases{/id}","deployments_url":"https://api.github.com/repos/stb-tester/stb-tester/deployments","created_at":"2012-06-21T13:11:28Z","updated_at":"2016-04-20T15:22:05Z","pushed_at":"2016-05-12T13:27:00Z","git_url":"git://github.com/stb-tester/stb-tester.git","ssh_url":"git@github.com:stb-tester/stb-tester.git","clone_url":"https://github.com/stb-tester/stb-tester.git","svn_url":"https://github.com/stb-tester/stb-tester","homepage":"https://stb-tester.com","size":23946,"stargazers_count":56,"watchers_count":56,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":49,"mirror_url":null,"open_issues_count":26,"forks":49,"open_issues":26,"watchers":56,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/stb-tester/stb-tester/pulls/362"},"html":{"href":"https://github.com/stb-tester/stb-tester/pull/362"},"issue":{"href":"https://api.github.com/repos/stb-tester/stb-tester/issues/362"},"comments":{"href":"https://api.github.com/repos/stb-tester/stb-tester/issues/362/comments"},"review_comments":{"href":"https://api.github.com/repos/stb-tester/stb-tester/pulls/362/comments"},"review_comment":{"href":"https://api.github.com/repos/stb-tester/stb-tester/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/stb-tester/stb-tester/pulls/362/commits"},"statuses":{"href":"https://api.github.com/repos/stb-tester/stb-tester/statuses/cdc6ae4653b0bc239bb4f332c284088cfc4ed25a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":7,"deletions":0,"changed_files":5}}