{"action":"closed","number":56,"pull_request":{"url":"https://api.github.com/repos/aleator/CV/pulls/56","id":81224930,"html_url":"https://github.com/aleator/CV/pull/56","diff_url":"https://github.com/aleator/CV/pull/56.diff","patch_url":"https://github.com/aleator/CV/pull/56.patch","issue_url":"https://api.github.com/repos/aleator/CV/issues/56","number":56,"state":"closed","locked":false,"title":"Fix codec specification through FFI","user":{"login":"plredmond","id":1078772,"avatar_url":"https://avatars.githubusercontent.com/u/1078772?v=3","gravatar_id":"","url":"https://api.github.com/users/plredmond","html_url":"https://github.com/plredmond","followers_url":"https://api.github.com/users/plredmond/followers","following_url":"https://api.github.com/users/plredmond/following{/other_user}","gists_url":"https://api.github.com/users/plredmond/gists{/gist_id}","starred_url":"https://api.github.com/users/plredmond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plredmond/subscriptions","organizations_url":"https://api.github.com/users/plredmond/orgs","repos_url":"https://api.github.com/users/plredmond/repos","events_url":"https://api.github.com/users/plredmond/events{/privacy}","received_events_url":"https://api.github.com/users/plredmond/received_events","type":"User","site_admin":false},"body":"Fix codec specification handling by sending characters into the C/C++ layer, rather than duplicating the work of the [`CV_FOURCC_MACRO` & friends](https://github.com/opencv/opencv/blob/6b511751f5660d27955b3e328fcdffe6dd6d0e7e/modules/videoio/include/opencv2/videoio/videoio_c.h#L511) in the Haskell layer. To learn new codec values you might use, [search for instances where users called `CV_FOURCC`](https://github.com/opencv/opencv/search?q=CV_FOURCC).\r\n\r\nChanges:\r\n\r\n1. e3375e7: `wrapCreateVideoWriter` takes `int fourcc` as four separate `char`s and calls `CV_FOURCC` on them (fix: previously the `fourcc` argument was not used)\r\n1. f918c53: `createVideoWriter` takes `codec:String` of length four and passes it to C `wrapCreateVideoWriter` (fix: previously was hardcoded to send a malformed `int fourcc` value)\r\n\r\nThis does not address the issues surrounding the underlying `VideoWriter` implementation being dependent on system libraries & a runtime choice of implementation details.","created_at":"2016-08-13T20:10:23Z","updated_at":"2016-10-05T04:44:48Z","closed_at":"2016-10-05T04:44:48Z","merged_at":"2016-10-05T04:44:48Z","merge_commit_sha":"1e2c9116bcaacdf305044c861a1b36d0d8fb71b7","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/aleator/CV/pulls/56/commits","review_comments_url":"https://api.github.com/repos/aleator/CV/pulls/56/comments","review_comment_url":"https://api.github.com/repos/aleator/CV/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aleator/CV/issues/56/comments","statuses_url":"https://api.github.com/repos/aleator/CV/statuses/f918c531259edf8a9586f94685dd206d57a12ce4","head":{"label":"plredmond:fix-codecs","ref":"fix-codecs","sha":"f918c531259edf8a9586f94685dd206d57a12ce4","user":{"login":"plredmond","id":1078772,"avatar_url":"https://avatars.githubusercontent.com/u/1078772?v=3","gravatar_id":"","url":"https://api.github.com/users/plredmond","html_url":"https://github.com/plredmond","followers_url":"https://api.github.com/users/plredmond/followers","following_url":"https://api.github.com/users/plredmond/following{/other_user}","gists_url":"https://api.github.com/users/plredmond/gists{/gist_id}","starred_url":"https://api.github.com/users/plredmond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plredmond/subscriptions","organizations_url":"https://api.github.com/users/plredmond/orgs","repos_url":"https://api.github.com/users/plredmond/repos","events_url":"https://api.github.com/users/plredmond/events{/privacy}","received_events_url":"https://api.github.com/users/plredmond/received_events","type":"User","site_admin":false},"repo":{"id":65630667,"name":"CV","full_name":"plredmond/CV","owner":{"login":"plredmond","id":1078772,"avatar_url":"https://avatars.githubusercontent.com/u/1078772?v=3","gravatar_id":"","url":"https://api.github.com/users/plredmond","html_url":"https://github.com/plredmond","followers_url":"https://api.github.com/users/plredmond/followers","following_url":"https://api.github.com/users/plredmond/following{/other_user}","gists_url":"https://api.github.com/users/plredmond/gists{/gist_id}","starred_url":"https://api.github.com/users/plredmond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plredmond/subscriptions","organizations_url":"https://api.github.com/users/plredmond/orgs","repos_url":"https://api.github.com/users/plredmond/repos","events_url":"https://api.github.com/users/plredmond/events{/privacy}","received_events_url":"https://api.github.com/users/plredmond/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/plredmond/CV","description":"Haskell wrappers and utilities for OpenCV machine vision library","fork":true,"url":"https://api.github.com/repos/plredmond/CV","forks_url":"https://api.github.com/repos/plredmond/CV/forks","keys_url":"https://api.github.com/repos/plredmond/CV/keys{/key_id}","collaborators_url":"https://api.github.com/repos/plredmond/CV/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/plredmond/CV/teams","hooks_url":"https://api.github.com/repos/plredmond/CV/hooks","issue_events_url":"https://api.github.com/repos/plredmond/CV/issues/events{/number}","events_url":"https://api.github.com/repos/plredmond/CV/events","assignees_url":"https://api.github.com/repos/plredmond/CV/assignees{/user}","branches_url":"https://api.github.com/repos/plredmond/CV/branches{/branch}","tags_url":"https://api.github.com/repos/plredmond/CV/tags","blobs_url":"https://api.github.com/repos/plredmond/CV/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/plredmond/CV/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/plredmond/CV/git/refs{/sha}","trees_url":"https://api.github.com/repos/plredmond/CV/git/trees{/sha}","statuses_url":"https://api.github.com/repos/plredmond/CV/statuses/{sha}","languages_url":"https://api.github.com/repos/plredmond/CV/languages","stargazers_url":"https://api.github.com/repos/plredmond/CV/stargazers","contributors_url":"https://api.github.com/repos/plredmond/CV/contributors","subscribers_url":"https://api.github.com/repos/plredmond/CV/subscribers","subscription_url":"https://api.github.com/repos/plredmond/CV/subscription","commits_url":"https://api.github.com/repos/plredmond/CV/commits{/sha}","git_commits_url":"https://api.github.com/repos/plredmond/CV/git/commits{/sha}","comments_url":"https://api.github.com/repos/plredmond/CV/comments{/number}","issue_comment_url":"https://api.github.com/repos/plredmond/CV/issues/comments{/number}","contents_url":"https://api.github.com/repos/plredmond/CV/contents/{+path}","compare_url":"https://api.github.com/repos/plredmond/CV/compare/{base}...{head}","merges_url":"https://api.github.com/repos/plredmond/CV/merges","archive_url":"https://api.github.com/repos/plredmond/CV/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/plredmond/CV/downloads","issues_url":"https://api.github.com/repos/plredmond/CV/issues{/number}","pulls_url":"https://api.github.com/repos/plredmond/CV/pulls{/number}","milestones_url":"https://api.github.com/repos/plredmond/CV/milestones{/number}","notifications_url":"https://api.github.com/repos/plredmond/CV/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/plredmond/CV/labels{/name}","releases_url":"https://api.github.com/repos/plredmond/CV/releases{/id}","deployments_url":"https://api.github.com/repos/plredmond/CV/deployments","created_at":"2016-08-13T18:14:33Z","updated_at":"2016-08-13T18:14:34Z","pushed_at":"2016-08-13T20:02:10Z","git_url":"git://github.com/plredmond/CV.git","ssh_url":"git@github.com:plredmond/CV.git","clone_url":"https://github.com/plredmond/CV.git","svn_url":"https://github.com/plredmond/CV","homepage":"http://hackage.haskell.org/package/CV","size":3551,"stargazers_count":0,"watchers_count":0,"language":"Haskell","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":0,"default_branch":"master"}},"base":{"label":"aleator:master","ref":"master","sha":"9de81ad0c36c0ce7bc64e926e3af7a25b26c125b","user":{"login":"aleator","id":463758,"avatar_url":"https://avatars.githubusercontent.com/u/463758?v=3","gravatar_id":"","url":"https://api.github.com/users/aleator","html_url":"https://github.com/aleator","followers_url":"https://api.github.com/users/aleator/followers","following_url":"https://api.github.com/users/aleator/following{/other_user}","gists_url":"https://api.github.com/users/aleator/gists{/gist_id}","starred_url":"https://api.github.com/users/aleator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleator/subscriptions","organizations_url":"https://api.github.com/users/aleator/orgs","repos_url":"https://api.github.com/users/aleator/repos","events_url":"https://api.github.com/users/aleator/events{/privacy}","received_events_url":"https://api.github.com/users/aleator/received_events","type":"User","site_admin":false},"repo":{"id":1690524,"name":"CV","full_name":"aleator/CV","owner":{"login":"aleator","id":463758,"avatar_url":"https://avatars.githubusercontent.com/u/463758?v=3","gravatar_id":"","url":"https://api.github.com/users/aleator","html_url":"https://github.com/aleator","followers_url":"https://api.github.com/users/aleator/followers","following_url":"https://api.github.com/users/aleator/following{/other_user}","gists_url":"https://api.github.com/users/aleator/gists{/gist_id}","starred_url":"https://api.github.com/users/aleator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleator/subscriptions","organizations_url":"https://api.github.com/users/aleator/orgs","repos_url":"https://api.github.com/users/aleator/repos","events_url":"https://api.github.com/users/aleator/events{/privacy}","received_events_url":"https://api.github.com/users/aleator/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aleator/CV","description":"Haskell wrappers and utilities for OpenCV machine vision library","fork":false,"url":"https://api.github.com/repos/aleator/CV","forks_url":"https://api.github.com/repos/aleator/CV/forks","keys_url":"https://api.github.com/repos/aleator/CV/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aleator/CV/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aleator/CV/teams","hooks_url":"https://api.github.com/repos/aleator/CV/hooks","issue_events_url":"https://api.github.com/repos/aleator/CV/issues/events{/number}","events_url":"https://api.github.com/repos/aleator/CV/events","assignees_url":"https://api.github.com/repos/aleator/CV/assignees{/user}","branches_url":"https://api.github.com/repos/aleator/CV/branches{/branch}","tags_url":"https://api.github.com/repos/aleator/CV/tags","blobs_url":"https://api.github.com/repos/aleator/CV/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aleator/CV/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aleator/CV/git/refs{/sha}","trees_url":"https://api.github.com/repos/aleator/CV/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aleator/CV/statuses/{sha}","languages_url":"https://api.github.com/repos/aleator/CV/languages","stargazers_url":"https://api.github.com/repos/aleator/CV/stargazers","contributors_url":"https://api.github.com/repos/aleator/CV/contributors","subscribers_url":"https://api.github.com/repos/aleator/CV/subscribers","subscription_url":"https://api.github.com/repos/aleator/CV/subscription","commits_url":"https://api.github.com/repos/aleator/CV/commits{/sha}","git_commits_url":"https://api.github.com/repos/aleator/CV/git/commits{/sha}","comments_url":"https://api.github.com/repos/aleator/CV/comments{/number}","issue_comment_url":"https://api.github.com/repos/aleator/CV/issues/comments{/number}","contents_url":"https://api.github.com/repos/aleator/CV/contents/{+path}","compare_url":"https://api.github.com/repos/aleator/CV/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aleator/CV/merges","archive_url":"https://api.github.com/repos/aleator/CV/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aleator/CV/downloads","issues_url":"https://api.github.com/repos/aleator/CV/issues{/number}","pulls_url":"https://api.github.com/repos/aleator/CV/pulls{/number}","milestones_url":"https://api.github.com/repos/aleator/CV/milestones{/number}","notifications_url":"https://api.github.com/repos/aleator/CV/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aleator/CV/labels{/name}","releases_url":"https://api.github.com/repos/aleator/CV/releases{/id}","deployments_url":"https://api.github.com/repos/aleator/CV/deployments","created_at":"2011-05-02T08:21:37Z","updated_at":"2016-09-26T13:08:00Z","pushed_at":"2016-10-05T04:44:48Z","git_url":"git://github.com/aleator/CV.git","ssh_url":"git@github.com:aleator/CV.git","clone_url":"https://github.com/aleator/CV.git","svn_url":"https://github.com/aleator/CV","homepage":"http://hackage.haskell.org/package/CV","size":3626,"stargazers_count":46,"watchers_count":46,"language":"Haskell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":20,"mirror_url":null,"open_issues_count":15,"forks":20,"open_issues":15,"watchers":46,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aleator/CV/pulls/56"},"html":{"href":"https://github.com/aleator/CV/pull/56"},"issue":{"href":"https://api.github.com/repos/aleator/CV/issues/56"},"comments":{"href":"https://api.github.com/repos/aleator/CV/issues/56/comments"},"review_comments":{"href":"https://api.github.com/repos/aleator/CV/pulls/56/comments"},"review_comment":{"href":"https://api.github.com/repos/aleator/CV/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aleator/CV/pulls/56/commits"},"statuses":{"href":"https://api.github.com/repos/aleator/CV/statuses/f918c531259edf8a9586f94685dd206d57a12ce4"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"aleator","id":463758,"avatar_url":"https://avatars.githubusercontent.com/u/463758?v=3","gravatar_id":"","url":"https://api.github.com/users/aleator","html_url":"https://github.com/aleator","followers_url":"https://api.github.com/users/aleator/followers","following_url":"https://api.github.com/users/aleator/following{/other_user}","gists_url":"https://api.github.com/users/aleator/gists{/gist_id}","starred_url":"https://api.github.com/users/aleator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleator/subscriptions","organizations_url":"https://api.github.com/users/aleator/orgs","repos_url":"https://api.github.com/users/aleator/repos","events_url":"https://api.github.com/users/aleator/events{/privacy}","received_events_url":"https://api.github.com/users/aleator/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":3,"additions":20,"deletions":7,"changed_files":4}}
{"actor":{"display_login":"aleator"}}