[Cin] in/out point selected plugin attach fix?
Andrew Randrianasulu
randrianasulu at gmail.com
Fri Aug 6 18:14:32 CEST 2021
what about attached second patch?
please also test main menu bar > video > atrach effect way..
On Friday, August 6, 2021, Andrea paz <gamberucci.andrea at gmail.com> wrote:
> I confirm that the patch does not work. The In/Out points do not
> create a valid region for "attach effect". It works instead, as
> before, for the Drag&Drop effect from the Resources window.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20210806/bed36c93/attachment.htm>
-------------- next part --------------
diff --git a/cinelerra-5.1/cinelerra/plugindialog.C b/cinelerra-5.1/cinelerra/plugindialog.C
index 48f470e6..fa24bb5b 100644
--- a/cinelerra-5.1/cinelerra/plugindialog.C
+++ b/cinelerra-5.1/cinelerra/plugindialog.C
@@ -463,8 +463,8 @@ void PluginDialogThread::apply()
&shared_location, plugin_type);
}
else if( edl->tracks->track_exists(track) ) {
- double start = edl->local_session->get_selectionstart(1);
- double end = edl->local_session->get_selectionend(1);
+ double start = edl->local_session->get_selectionstart();
+ double end = edl->local_session->get_selectionend();
if( start >= end ) {
start = 0;
end = track->get_length();
More information about the Cin
mailing list