{"action":"created","issue":{"url":"https://api.github.com/repos/mltframework/shotcut/issues/77","labels_url":"https://api.github.com/repos/mltframework/shotcut/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/mltframework/shotcut/issues/77/comments","events_url":"https://api.github.com/repos/mltframework/shotcut/issues/77/events","html_url":"https://github.com/mltframework/shotcut/issues/77","id":83182880,"number":77,"title":"Non-fadein/out filter in/out points are not updated","user":{"login":"metellius","id":9467,"avatar_url":"https://avatars.githubusercontent.com/u/9467?v=3","gravatar_id":"","url":"https://api.github.com/users/metellius","html_url":"https://github.com/metellius","followers_url":"https://api.github.com/users/metellius/followers","following_url":"https://api.github.com/users/metellius/following{/other_user}","gists_url":"https://api.github.com/users/metellius/gists{/gist_id}","starred_url":"https://api.github.com/users/metellius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metellius/subscriptions","organizations_url":"https://api.github.com/users/metellius/orgs","repos_url":"https://api.github.com/users/metellius/repos","events_url":"https://api.github.com/users/metellius/events{/privacy}","received_events_url":"https://api.github.com/users/metellius/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-31T20:44:01Z","updated_at":"2015-05-31T22:22:49Z","closed_at":null,"body":"Trying to use the time argument in webvfx I noticed that the in/out points were not updated when the clip was resized. I eventually tracked it down to MultitrackModel::trimClipIn (among others)\r\n```\r\n        // Adjust all filters that have an explicit duration.\r\n        int n = info->producer->filter_count();\r\n        for (int j = 0; j < n; j++) {\r\n            Mlt::Filter* filter = info->producer->filter(j);\r\n            if (filter && filter->is_valid() && filter->get_length() > 0) {\r\n                if (QString(filter->get(kShotcutFilterProperty)).startsWith(\"fadeIn\"))\r\n                    filter->set_in_and_out(in, in + filter->get_length() - 1);\r\n            }\r\n            delete filter;\r\n        }\r\n```\r\nThis startsWith test was added in 1456ff84\r\nSo in webvfx's case, the filter in/out is only set once, in Component.onCompleted in the filter ui, and never again.\r\n\r\nI have not yet had time to look at possible solutions, but my initial impression is that QString(filter->get(kShotcutFilterProperty)).startsWith(\"fadeIn\") looks hackish."},"comment":{"url":"https://api.github.com/repos/mltframework/shotcut/issues/comments/107253734","html_url":"https://github.com/mltframework/shotcut/issues/77#issuecomment-107253734","issue_url":"https://api.github.com/repos/mltframework/shotcut/issues/77","id":107253734,"user":{"login":"ddennedy","id":1146683,"avatar_url":"https://avatars.githubusercontent.com/u/1146683?v=3","gravatar_id":"","url":"https://api.github.com/users/ddennedy","html_url":"https://github.com/ddennedy","followers_url":"https://api.github.com/users/ddennedy/followers","following_url":"https://api.github.com/users/ddennedy/following{/other_user}","gists_url":"https://api.github.com/users/ddennedy/gists{/gist_id}","starred_url":"https://api.github.com/users/ddennedy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddennedy/subscriptions","organizations_url":"https://api.github.com/users/ddennedy/orgs","repos_url":"https://api.github.com/users/ddennedy/repos","events_url":"https://api.github.com/users/ddennedy/events{/privacy}","received_events_url":"https://api.github.com/users/ddennedy/received_events","type":"User","site_admin":false},"created_at":"2015-05-31T22:22:49Z","updated_at":"2015-05-31T22:22:49Z","body":"This is largely because property animation is not yet in Shotcut. However, we do claim to support the notion of time in webvfx (see howto). Until animation is properly integrated and this gets rewritten, we can add a test here for mlt_service=webvfx."}}