{"action":"created","issue":{"url":"https://api.github.com/repos/mpv-player/mpv/issues/2562","labels_url":"https://api.github.com/repos/mpv-player/mpv/issues/2562/labels{/name}","comments_url":"https://api.github.com/repos/mpv-player/mpv/issues/2562/comments","events_url":"https://api.github.com/repos/mpv-player/mpv/issues/2562/events","html_url":"https://github.com/mpv-player/mpv/pull/2562","id":120381390,"number":2562,"title":"filter_kernels: fix minor sampling error of weights","user":{"login":"bjin","id":175336,"avatar_url":"https://avatars.githubusercontent.com/u/175336?v=3","gravatar_id":"","url":"https://api.github.com/users/bjin","html_url":"https://github.com/bjin","followers_url":"https://api.github.com/users/bjin/followers","following_url":"https://api.github.com/users/bjin/following{/other_user}","gists_url":"https://api.github.com/users/bjin/gists{/gist_id}","starred_url":"https://api.github.com/users/bjin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjin/subscriptions","organizations_url":"https://api.github.com/users/bjin/orgs","repos_url":"https://api.github.com/users/bjin/repos","events_url":"https://api.github.com/users/bjin/events{/privacy}","received_events_url":"https://api.github.com/users/bjin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-12-04T11:19:24Z","updated_at":"2015-12-05T05:30:07Z","closed_at":"2015-12-05T05:30:07Z","pull_request":{"url":"https://api.github.com/repos/mpv-player/mpv/pulls/2562","html_url":"https://github.com/mpv-player/mpv/pull/2562","diff_url":"https://github.com/mpv-player/mpv/pull/2562.diff","patch_url":"https://github.com/mpv-player/mpv/pull/2562.patch"},"body":"The sampling point of a texel is at it's center, so there is a half\r\ntexel offset.\r\n\r\nThere probably won't be noticeable difference as reflected on the\r\nfinal resampled image, as weights are interpolated bilinearly anyway.\r\nBut it's more accurate mathematically."},"comment":{"url":"https://api.github.com/repos/mpv-player/mpv/issues/comments/162143741","html_url":"https://github.com/mpv-player/mpv/pull/2562#issuecomment-162143741","issue_url":"https://api.github.com/repos/mpv-player/mpv/issues/2562","id":162143741,"user":{"login":"bjin","id":175336,"avatar_url":"https://avatars.githubusercontent.com/u/175336?v=3","gravatar_id":"","url":"https://api.github.com/users/bjin","html_url":"https://github.com/bjin","followers_url":"https://api.github.com/users/bjin/followers","following_url":"https://api.github.com/users/bjin/following{/other_user}","gists_url":"https://api.github.com/users/bjin/gists{/gist_id}","starred_url":"https://api.github.com/users/bjin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjin/subscriptions","organizations_url":"https://api.github.com/users/bjin/orgs","repos_url":"https://api.github.com/users/bjin/repos","events_url":"https://api.github.com/users/bjin/events{/privacy}","received_events_url":"https://api.github.com/users/bjin/received_events","type":"User","site_admin":false},"created_at":"2015-12-05T05:30:07Z","updated_at":"2015-12-05T05:30:07Z","body":"would propose a proper fix later"}}