{"action":"created","comment":{"url":"https://api.github.com/repos/xbmc/xbmc/pulls/comments/55323058","id":55323058,"diff_hunk":"@@ -110,7 +110,12 @@ CDVDDemuxCC::~CDVDDemuxCC()\n \n CDemuxStream* CDVDDemuxCC::GetStream(int iStreamId) const\n {\n-  return const_cast<CDemuxStreamSubtitle*>(&m_streams[iStreamId]);\n+  for (int i=0; i<GetNrOfStreams(); i++)","path":"xbmc/cores/VideoPlayer/DVDDemuxers/DVDDemuxCC.cpp","position":5,"original_position":5,"commit_id":"ce2ad954e7f3149d0a43df92f018ac5179885802","original_commit_id":"0e5bd34e35a426509495c752af209693dd846740","user":{"login":"FernetMenta","id":576009,"avatar_url":"https://avatars.githubusercontent.com/u/576009?v=3","gravatar_id":"","url":"https://api.github.com/users/FernetMenta","html_url":"https://github.com/FernetMenta","followers_url":"https://api.github.com/users/FernetMenta/followers","following_url":"https://api.github.com/users/FernetMenta/following{/other_user}","gists_url":"https://api.github.com/users/FernetMenta/gists{/gist_id}","starred_url":"https://api.github.com/users/FernetMenta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FernetMenta/subscriptions","organizations_url":"https://api.github.com/users/FernetMenta/orgs","repos_url":"https://api.github.com/users/FernetMenta/repos","events_url":"https://api.github.com/users/FernetMenta/events{/privacy}","received_events_url":"https://api.github.com/users/FernetMenta/received_events","type":"User","site_admin":false},"body":"Then I will change it back :)","created_at":"2016-03-08T07:04:32Z","updated_at":"2016-03-08T07:04:32Z","html_url":"https://github.com/xbmc/xbmc/pull/9290#discussion_r55323058","pull_request_url":"https://api.github.com/repos/xbmc/xbmc/pulls/9290","_links":{"self":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/comments/55323058"},"html":{"href":"https://github.com/xbmc/xbmc/pull/9290#discussion_r55323058"},"pull_request":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/9290"}}},"pull_request":{"url":"https://api.github.com/repos/xbmc/xbmc/pulls/9290","id":61951409,"html_url":"https://github.com/xbmc/xbmc/pull/9290","diff_url":"https://github.com/xbmc/xbmc/pull/9290.diff","patch_url":"https://github.com/xbmc/xbmc/pull/9290.patch","issue_url":"https://api.github.com/repos/xbmc/xbmc/issues/9290","number":9290,"state":"open","locked":false,"title":"VideoPlayer: identify DemuxStrem by unique id, not by index","user":{"login":"FernetMenta","id":576009,"avatar_url":"https://avatars.githubusercontent.com/u/576009?v=3","gravatar_id":"","url":"https://api.github.com/users/FernetMenta","html_url":"https://github.com/FernetMenta","followers_url":"https://api.github.com/users/FernetMenta/followers","following_url":"https://api.github.com/users/FernetMenta/following{/other_user}","gists_url":"https://api.github.com/users/FernetMenta/gists{/gist_id}","starred_url":"https://api.github.com/users/FernetMenta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FernetMenta/subscriptions","organizations_url":"https://api.github.com/users/FernetMenta/orgs","repos_url":"https://api.github.com/users/FernetMenta/repos","events_url":"https://api.github.com/users/FernetMenta/events{/privacy}","received_events_url":"https://api.github.com/users/FernetMenta/received_events","type":"User","site_admin":false},"body":"see title\r\n\r\n@ace20022 /cc\r\n@Jalle19 PVR addons need adjustments","created_at":"2016-03-07T17:33:38Z","updated_at":"2016-03-08T07:04:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f20cfcdb63312d73be9db07f4135058628109c38","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/xbmc/xbmc/pulls/9290/commits","review_comments_url":"https://api.github.com/repos/xbmc/xbmc/pulls/9290/comments","review_comment_url":"https://api.github.com/repos/xbmc/xbmc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xbmc/xbmc/issues/9290/comments","statuses_url":"https://api.github.com/repos/xbmc/xbmc/statuses/ce2ad954e7f3149d0a43df92f018ac5179885802","head":{"label":"FernetMenta:streamid","ref":"streamid","sha":"ce2ad954e7f3149d0a43df92f018ac5179885802","user":{"login":"FernetMenta","id":576009,"avatar_url":"https://avatars.githubusercontent.com/u/576009?v=3","gravatar_id":"","url":"https://api.github.com/users/FernetMenta","html_url":"https://github.com/FernetMenta","followers_url":"https://api.github.com/users/FernetMenta/followers","following_url":"https://api.github.com/users/FernetMenta/following{/other_user}","gists_url":"https://api.github.com/users/FernetMenta/gists{/gist_id}","starred_url":"https://api.github.com/users/FernetMenta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FernetMenta/subscriptions","organizations_url":"https://api.github.com/users/FernetMenta/orgs","repos_url":"https://api.github.com/users/FernetMenta/repos","events_url":"https://api.github.com/users/FernetMenta/events{/privacy}","received_events_url":"https://api.github.com/users/FernetMenta/received_events","type":"User","site_admin":false},"repo":{"id":1278128,"name":"xbmc","full_name":"FernetMenta/xbmc","owner":{"login":"FernetMenta","id":576009,"avatar_url":"https://avatars.githubusercontent.com/u/576009?v=3","gravatar_id":"","url":"https://api.github.com/users/FernetMenta","html_url":"https://github.com/FernetMenta","followers_url":"https://api.github.com/users/FernetMenta/followers","following_url":"https://api.github.com/users/FernetMenta/following{/other_user}","gists_url":"https://api.github.com/users/FernetMenta/gists{/gist_id}","starred_url":"https://api.github.com/users/FernetMenta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FernetMenta/subscriptions","organizations_url":"https://api.github.com/users/FernetMenta/orgs","repos_url":"https://api.github.com/users/FernetMenta/repos","events_url":"https://api.github.com/users/FernetMenta/events{/privacy}","received_events_url":"https://api.github.com/users/FernetMenta/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/FernetMenta/xbmc","description":"Fork of  XBMC Main PVR Development Repository.","fork":true,"url":"https://api.github.com/repos/FernetMenta/xbmc","forks_url":"https://api.github.com/repos/FernetMenta/xbmc/forks","keys_url":"https://api.github.com/repos/FernetMenta/xbmc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FernetMenta/xbmc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FernetMenta/xbmc/teams","hooks_url":"https://api.github.com/repos/FernetMenta/xbmc/hooks","issue_events_url":"https://api.github.com/repos/FernetMenta/xbmc/issues/events{/number}","events_url":"https://api.github.com/repos/FernetMenta/xbmc/events","assignees_url":"https://api.github.com/repos/FernetMenta/xbmc/assignees{/user}","branches_url":"https://api.github.com/repos/FernetMenta/xbmc/branches{/branch}","tags_url":"https://api.github.com/repos/FernetMenta/xbmc/tags","blobs_url":"https://api.github.com/repos/FernetMenta/xbmc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FernetMenta/xbmc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FernetMenta/xbmc/git/refs{/sha}","trees_url":"https://api.github.com/repos/FernetMenta/xbmc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FernetMenta/xbmc/statuses/{sha}","languages_url":"https://api.github.com/repos/FernetMenta/xbmc/languages","stargazers_url":"https://api.github.com/repos/FernetMenta/xbmc/stargazers","contributors_url":"https://api.github.com/repos/FernetMenta/xbmc/contributors","subscribers_url":"https://api.github.com/repos/FernetMenta/xbmc/subscribers","subscription_url":"https://api.github.com/repos/FernetMenta/xbmc/subscription","commits_url":"https://api.github.com/repos/FernetMenta/xbmc/commits{/sha}","git_commits_url":"https://api.github.com/repos/FernetMenta/xbmc/git/commits{/sha}","comments_url":"https://api.github.com/repos/FernetMenta/xbmc/comments{/number}","issue_comment_url":"https://api.github.com/repos/FernetMenta/xbmc/issues/comments{/number}","contents_url":"https://api.github.com/repos/FernetMenta/xbmc/contents/{+path}","compare_url":"https://api.github.com/repos/FernetMenta/xbmc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FernetMenta/xbmc/merges","archive_url":"https://api.github.com/repos/FernetMenta/xbmc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FernetMenta/xbmc/downloads","issues_url":"https://api.github.com/repos/FernetMenta/xbmc/issues{/number}","pulls_url":"https://api.github.com/repos/FernetMenta/xbmc/pulls{/number}","milestones_url":"https://api.github.com/repos/FernetMenta/xbmc/milestones{/number}","notifications_url":"https://api.github.com/repos/FernetMenta/xbmc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FernetMenta/xbmc/labels{/name}","releases_url":"https://api.github.com/repos/FernetMenta/xbmc/releases{/id}","deployments_url":"https://api.github.com/repos/FernetMenta/xbmc/deployments","created_at":"2011-01-21T11:28:28Z","updated_at":"2016-01-28T19:37:38Z","pushed_at":"2016-03-08T06:34:20Z","git_url":"git://github.com/FernetMenta/xbmc.git","ssh_url":"git@github.com:FernetMenta/xbmc.git","clone_url":"https://github.com/FernetMenta/xbmc.git","svn_url":"https://github.com/FernetMenta/xbmc","homepage":"http://xbmc.org","size":565675,"stargazers_count":59,"watchers_count":59,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":22,"mirror_url":null,"open_issues_count":13,"forks":22,"open_issues":13,"watchers":59,"default_branch":"master"}},"base":{"label":"xbmc:master","ref":"master","sha":"002f43237eba7c3afebfec6c47cca5c2511f589d","user":{"login":"xbmc","id":199122,"avatar_url":"https://avatars.githubusercontent.com/u/199122?v=3","gravatar_id":"","url":"https://api.github.com/users/xbmc","html_url":"https://github.com/xbmc","followers_url":"https://api.github.com/users/xbmc/followers","following_url":"https://api.github.com/users/xbmc/following{/other_user}","gists_url":"https://api.github.com/users/xbmc/gists{/gist_id}","starred_url":"https://api.github.com/users/xbmc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xbmc/subscriptions","organizations_url":"https://api.github.com/users/xbmc/orgs","repos_url":"https://api.github.com/users/xbmc/repos","events_url":"https://api.github.com/users/xbmc/events{/privacy}","received_events_url":"https://api.github.com/users/xbmc/received_events","type":"Organization","site_admin":false},"repo":{"id":1217614,"name":"xbmc","full_name":"xbmc/xbmc","owner":{"login":"xbmc","id":199122,"avatar_url":"https://avatars.githubusercontent.com/u/199122?v=3","gravatar_id":"","url":"https://api.github.com/users/xbmc","html_url":"https://github.com/xbmc","followers_url":"https://api.github.com/users/xbmc/followers","following_url":"https://api.github.com/users/xbmc/following{/other_user}","gists_url":"https://api.github.com/users/xbmc/gists{/gist_id}","starred_url":"https://api.github.com/users/xbmc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xbmc/subscriptions","organizations_url":"https://api.github.com/users/xbmc/orgs","repos_url":"https://api.github.com/users/xbmc/repos","events_url":"https://api.github.com/users/xbmc/events{/privacy}","received_events_url":"https://api.github.com/users/xbmc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/xbmc/xbmc","description":"Kodi Main Repository - By using this code you agree with our policy and will follow the GPLv2 license as included","fork":false,"url":"https://api.github.com/repos/xbmc/xbmc","forks_url":"https://api.github.com/repos/xbmc/xbmc/forks","keys_url":"https://api.github.com/repos/xbmc/xbmc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xbmc/xbmc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xbmc/xbmc/teams","hooks_url":"https://api.github.com/repos/xbmc/xbmc/hooks","issue_events_url":"https://api.github.com/repos/xbmc/xbmc/issues/events{/number}","events_url":"https://api.github.com/repos/xbmc/xbmc/events","assignees_url":"https://api.github.com/repos/xbmc/xbmc/assignees{/user}","branches_url":"https://api.github.com/repos/xbmc/xbmc/branches{/branch}","tags_url":"https://api.github.com/repos/xbmc/xbmc/tags","blobs_url":"https://api.github.com/repos/xbmc/xbmc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xbmc/xbmc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xbmc/xbmc/git/refs{/sha}","trees_url":"https://api.github.com/repos/xbmc/xbmc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xbmc/xbmc/statuses/{sha}","languages_url":"https://api.github.com/repos/xbmc/xbmc/languages","stargazers_url":"https://api.github.com/repos/xbmc/xbmc/stargazers","contributors_url":"https://api.github.com/repos/xbmc/xbmc/contributors","subscribers_url":"https://api.github.com/repos/xbmc/xbmc/subscribers","subscription_url":"https://api.github.com/repos/xbmc/xbmc/subscription","commits_url":"https://api.github.com/repos/xbmc/xbmc/commits{/sha}","git_commits_url":"https://api.github.com/repos/xbmc/xbmc/git/commits{/sha}","comments_url":"https://api.github.com/repos/xbmc/xbmc/comments{/number}","issue_comment_url":"https://api.github.com/repos/xbmc/xbmc/issues/comments{/number}","contents_url":"https://api.github.com/repos/xbmc/xbmc/contents/{+path}","compare_url":"https://api.github.com/repos/xbmc/xbmc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xbmc/xbmc/merges","archive_url":"https://api.github.com/repos/xbmc/xbmc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xbmc/xbmc/downloads","issues_url":"https://api.github.com/repos/xbmc/xbmc/issues{/number}","pulls_url":"https://api.github.com/repos/xbmc/xbmc/pulls{/number}","milestones_url":"https://api.github.com/repos/xbmc/xbmc/milestones{/number}","notifications_url":"https://api.github.com/repos/xbmc/xbmc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xbmc/xbmc/labels{/name}","releases_url":"https://api.github.com/repos/xbmc/xbmc/releases{/id}","deployments_url":"https://api.github.com/repos/xbmc/xbmc/deployments","created_at":"2011-01-03T21:18:51Z","updated_at":"2016-03-07T21:26:10Z","pushed_at":"2016-03-08T06:34:22Z","git_url":"git://github.com/xbmc/xbmc.git","ssh_url":"git@github.com:xbmc/xbmc.git","clone_url":"https://github.com/xbmc/xbmc.git","svn_url":"https://github.com/xbmc/xbmc","homepage":"http://kodi.wiki/view/Official:Trademark_Policy","size":1731588,"stargazers_count":4580,"watchers_count":4580,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3368,"mirror_url":null,"open_issues_count":224,"forks":3368,"open_issues":224,"watchers":4580,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/9290"},"html":{"href":"https://github.com/xbmc/xbmc/pull/9290"},"issue":{"href":"https://api.github.com/repos/xbmc/xbmc/issues/9290"},"comments":{"href":"https://api.github.com/repos/xbmc/xbmc/issues/9290/comments"},"review_comments":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/9290/comments"},"review_comment":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/9290/commits"},"statuses":{"href":"https://api.github.com/repos/xbmc/xbmc/statuses/ce2ad954e7f3149d0a43df92f018ac5179885802"}}}}