{"action":"created","comment":{"url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/pulls/comments/241275454","pull_request_review_id":184505796,"id":241275454,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MTI3NTQ1NA==","diff_hunk":"@@ -0,0 +1,74 @@\n+package org.datavyu.plugins.nativeosx;\n+\n+\n+import org.datavyu.plugins.MediaException;\n+import org.datavyu.plugins.PlayerStateEvent;\n+import org.datavyu.plugins.PlayerStateListener;\n+\n+import java.awt.*;\n+import java.net.URI;\n+\n+public class AVFoundationMediaPlayer extends NativeOSXMediaPlayer {\n+\n+  private Container container;\n+\n+  public AVFoundationMediaPlayer(URI mediaPath, Container container) {\n+    super(mediaPath);\n+    this.container = container;\n+  }\n+\n+  @Override\n+  public void init() {\n+    addMediaPlayerStateListener(new PlayerStateListenerImpl());\n+    initNative();\n+\n+    container.addNotify();\n+    container.add(nativePlayerCanvas, BorderLayout.CENTER);\n+\n+    incPlayerCount();","path":"src/main/java/org/datavyu/plugins/nativeosx/AVFoundationMediaPlayer.java","position":49,"original_position":28,"commit_id":"29a626a02564aef31bb73dca3f66e1ea81029773","original_commit_id":"93d1d40cf1f76f2ccd03511a4f1d628a0f0e3554","user":{"login":"fraudies","id":1770877,"node_id":"MDQ6VXNlcjE3NzA4Nzc=","avatar_url":"https://avatars0.githubusercontent.com/u/1770877?v=4","gravatar_id":"","url":"https://api.github.com/users/fraudies","html_url":"https://github.com/fraudies","followers_url":"https://api.github.com/users/fraudies/followers","following_url":"https://api.github.com/users/fraudies/following{/other_user}","gists_url":"https://api.github.com/users/fraudies/gists{/gist_id}","starred_url":"https://api.github.com/users/fraudies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fraudies/subscriptions","organizations_url":"https://api.github.com/users/fraudies/orgs","repos_url":"https://api.github.com/users/fraudies/repos","events_url":"https://api.github.com/users/fraudies/events{/privacy}","received_events_url":"https://api.github.com/users/fraudies/received_events","type":"User","site_admin":false},"body":"Where do we decrement the counter?","created_at":"2018-12-13T05:30:26Z","updated_at":"2018-12-13T05:42:48Z","html_url":"https://github.com/databrary/datavyu-ffmpegplugin/pull/119#discussion_r241275454","pull_request_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/pulls/119","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/pulls/comments/241275454"},"html":{"href":"https://github.com/databrary/datavyu-ffmpegplugin/pull/119#discussion_r241275454"},"pull_request":{"href":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/pulls/119"}},"in_reply_to_id":239706036},"pull_request":{"url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/pulls/119","id":236718679,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM2NzE4Njc5","html_url":"https://github.com/databrary/datavyu-ffmpegplugin/pull/119","diff_url":"https://github.com/databrary/datavyu-ffmpegplugin/pull/119.diff","patch_url":"https://github.com/databrary/datavyu-ffmpegplugin/pull/119.patch","issue_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/issues/119","number":119,"state":"open","locked":false,"title":"Add AVFoundation Media Player","user":{"login":"TheoWolf","id":7011786,"node_id":"MDQ6VXNlcjcwMTE3ODY=","avatar_url":"https://avatars2.githubusercontent.com/u/7011786?v=4","gravatar_id":"","url":"https://api.github.com/users/TheoWolf","html_url":"https://github.com/TheoWolf","followers_url":"https://api.github.com/users/TheoWolf/followers","following_url":"https://api.github.com/users/TheoWolf/following{/other_user}","gists_url":"https://api.github.com/users/TheoWolf/gists{/gist_id}","starred_url":"https://api.github.com/users/TheoWolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheoWolf/subscriptions","organizations_url":"https://api.github.com/users/TheoWolf/orgs","repos_url":"https://api.github.com/users/TheoWolf/repos","events_url":"https://api.github.com/users/TheoWolf/events{/privacy}","received_events_url":"https://api.github.com/users/TheoWolf/received_events","type":"User","site_admin":false},"body":"Support AVFoundation framework on Mac OSX Platforms:\r\n- Code refactoring;\r\n- Added nativeosx package with AVFoundation Media Player;\r\n- hooked AVFoundation Media Player to the player state event listener;\r\n- Added native AVFoundation player dependencies and mac os profile;\r\n- **In progress**: \r\n              - Stepping\r\n              - startup volume \r\n- closes #114 ","created_at":"2018-12-07T00:33:06Z","updated_at":"2018-12-13T05:42:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dcb2764417fbc39aacc53290794d22dafee7f8ba","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":684980249,"node_id":"MDU6TGFiZWw2ODQ5ODAyNDk=","url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"milestone":{"url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/milestones/6","html_url":"https://github.com/databrary/datavyu-ffmpegplugin/milestone/6","labels_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/milestones/6/labels","id":3867426,"node_id":"MDk6TWlsZXN0b25lMzg2NzQyNg==","number":6,"title":"Move Datavyu Players to the datavyu player repo","description":"Move the JavaFX and AvFoundation players to the datavyu player.\r\n\r\nIMPORTANT: the AVFoundation (Mac OS) player will not be implemented natively, only the code and pom dependencies will be moved to this repo.","creator":{"login":"TheoWolf","id":7011786,"node_id":"MDQ6VXNlcjcwMTE3ODY=","avatar_url":"https://avatars2.githubusercontent.com/u/7011786?v=4","gravatar_id":"","url":"https://api.github.com/users/TheoWolf","html_url":"https://github.com/TheoWolf","followers_url":"https://api.github.com/users/TheoWolf/followers","following_url":"https://api.github.com/users/TheoWolf/following{/other_user}","gists_url":"https://api.github.com/users/TheoWolf/gists{/gist_id}","starred_url":"https://api.github.com/users/TheoWolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheoWolf/subscriptions","organizations_url":"https://api.github.com/users/TheoWolf/orgs","repos_url":"https://api.github.com/users/TheoWolf/repos","events_url":"https://api.github.com/users/TheoWolf/events{/privacy}","received_events_url":"https://api.github.com/users/TheoWolf/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":0,"state":"open","created_at":"2018-12-03T16:56:03Z","updated_at":"2018-12-10T15:49:54Z","due_on":"2018-12-04T08:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/pulls/119/commits","review_comments_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/pulls/119/comments","review_comment_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/issues/119/comments","statuses_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/statuses/29a626a02564aef31bb73dca3f66e1ea81029773","head":{"label":"databrary:add_osx_player","ref":"add_osx_player","sha":"29a626a02564aef31bb73dca3f66e1ea81029773","user":{"login":"databrary","id":3430703,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0MzA3MDM=","avatar_url":"https://avatars3.githubusercontent.com/u/3430703?v=4","gravatar_id":"","url":"https://api.github.com/users/databrary","html_url":"https://github.com/databrary","followers_url":"https://api.github.com/users/databrary/followers","following_url":"https://api.github.com/users/databrary/following{/other_user}","gists_url":"https://api.github.com/users/databrary/gists{/gist_id}","starred_url":"https://api.github.com/users/databrary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/databrary/subscriptions","organizations_url":"https://api.github.com/users/databrary/orgs","repos_url":"https://api.github.com/users/databrary/repos","events_url":"https://api.github.com/users/databrary/events{/privacy}","received_events_url":"https://api.github.com/users/databrary/received_events","type":"Organization","site_admin":false},"repo":{"id":102606140,"node_id":"MDEwOlJlcG9zaXRvcnkxMDI2MDYxNDA=","name":"datavyu-ffmpegplugin","full_name":"databrary/datavyu-ffmpegplugin","private":false,"owner":{"login":"databrary","id":3430703,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0MzA3MDM=","avatar_url":"https://avatars3.githubusercontent.com/u/3430703?v=4","gravatar_id":"","url":"https://api.github.com/users/databrary","html_url":"https://github.com/databrary","followers_url":"https://api.github.com/users/databrary/followers","following_url":"https://api.github.com/users/databrary/following{/other_user}","gists_url":"https://api.github.com/users/databrary/gists{/gist_id}","starred_url":"https://api.github.com/users/databrary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/databrary/subscriptions","organizations_url":"https://api.github.com/users/databrary/orgs","repos_url":"https://api.github.com/users/databrary/repos","events_url":"https://api.github.com/users/databrary/events{/privacy}","received_events_url":"https://api.github.com/users/databrary/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/databrary/datavyu-ffmpegplugin","description":"Code for ffmpeg-plugin","fork":false,"url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin","forks_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/forks","keys_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/teams","hooks_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/hooks","issue_events_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/issues/events{/number}","events_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/events","assignees_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/assignees{/user}","branches_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/branches{/branch}","tags_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/tags","blobs_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/statuses/{sha}","languages_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/languages","stargazers_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/stargazers","contributors_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/contributors","subscribers_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/subscribers","subscription_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/subscription","commits_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/contents/{+path}","compare_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/merges","archive_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/downloads","issues_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/issues{/number}","pulls_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/pulls{/number}","milestones_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/milestones{/number}","notifications_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/labels{/name}","releases_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/releases{/id}","deployments_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/deployments","created_at":"2017-09-06T12:33:38Z","updated_at":"2018-12-05T18:31:06Z","pushed_at":"2018-12-12T23:17:44Z","git_url":"git://github.com/databrary/datavyu-ffmpegplugin.git","ssh_url":"git@github.com:databrary/datavyu-ffmpegplugin.git","clone_url":"https://github.com/databrary/datavyu-ffmpegplugin.git","svn_url":"https://github.com/databrary/datavyu-ffmpegplugin","homepage":"","size":31899,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":12,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":12,"watchers":0,"default_branch":"dev"}},"base":{"label":"databrary:dev","ref":"dev","sha":"52cf52b8c4deca7039bb10cf2137cf8b57f2af9c","user":{"login":"databrary","id":3430703,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0MzA3MDM=","avatar_url":"https://avatars3.githubusercontent.com/u/3430703?v=4","gravatar_id":"","url":"https://api.github.com/users/databrary","html_url":"https://github.com/databrary","followers_url":"https://api.github.com/users/databrary/followers","following_url":"https://api.github.com/users/databrary/following{/other_user}","gists_url":"https://api.github.com/users/databrary/gists{/gist_id}","starred_url":"https://api.github.com/users/databrary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/databrary/subscriptions","organizations_url":"https://api.github.com/users/databrary/orgs","repos_url":"https://api.github.com/users/databrary/repos","events_url":"https://api.github.com/users/databrary/events{/privacy}","received_events_url":"https://api.github.com/users/databrary/received_events","type":"Organization","site_admin":false},"repo":{"id":102606140,"node_id":"MDEwOlJlcG9zaXRvcnkxMDI2MDYxNDA=","name":"datavyu-ffmpegplugin","full_name":"databrary/datavyu-ffmpegplugin","private":false,"owner":{"login":"databrary","id":3430703,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0MzA3MDM=","avatar_url":"https://avatars3.githubusercontent.com/u/3430703?v=4","gravatar_id":"","url":"https://api.github.com/users/databrary","html_url":"https://github.com/databrary","followers_url":"https://api.github.com/users/databrary/followers","following_url":"https://api.github.com/users/databrary/following{/other_user}","gists_url":"https://api.github.com/users/databrary/gists{/gist_id}","starred_url":"https://api.github.com/users/databrary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/databrary/subscriptions","organizations_url":"https://api.github.com/users/databrary/orgs","repos_url":"https://api.github.com/users/databrary/repos","events_url":"https://api.github.com/users/databrary/events{/privacy}","received_events_url":"https://api.github.com/users/databrary/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/databrary/datavyu-ffmpegplugin","description":"Code for ffmpeg-plugin","fork":false,"url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin","forks_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/forks","keys_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/teams","hooks_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/hooks","issue_events_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/issues/events{/number}","events_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/events","assignees_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/assignees{/user}","branches_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/branches{/branch}","tags_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/tags","blobs_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/statuses/{sha}","languages_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/languages","stargazers_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/stargazers","contributors_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/contributors","subscribers_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/subscribers","subscription_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/subscription","commits_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/contents/{+path}","compare_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/merges","archive_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/downloads","issues_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/issues{/number}","pulls_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/pulls{/number}","milestones_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/milestones{/number}","notifications_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/labels{/name}","releases_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/releases{/id}","deployments_url":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/deployments","created_at":"2017-09-06T12:33:38Z","updated_at":"2018-12-05T18:31:06Z","pushed_at":"2018-12-12T23:17:44Z","git_url":"git://github.com/databrary/datavyu-ffmpegplugin.git","ssh_url":"git@github.com:databrary/datavyu-ffmpegplugin.git","clone_url":"https://github.com/databrary/datavyu-ffmpegplugin.git","svn_url":"https://github.com/databrary/datavyu-ffmpegplugin","homepage":"","size":31899,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":12,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":12,"watchers":0,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/pulls/119"},"html":{"href":"https://github.com/databrary/datavyu-ffmpegplugin/pull/119"},"issue":{"href":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/issues/119"},"comments":{"href":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/issues/119/comments"},"review_comments":{"href":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/pulls/119/comments"},"review_comment":{"href":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/pulls/119/commits"},"statuses":{"href":"https://api.github.com/repos/databrary/datavyu-ffmpegplugin/statuses/29a626a02564aef31bb73dca3f66e1ea81029773"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"fraudies"}}