X-Git-Url: https://cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fpluginvclient.C;h=c2162febbdb5bb0c92384b51b57beed21f84343e;hb=f51838e3e7dec4553d8a85ad5c84c0e44764cae2;hp=4ce953f7d7c3fe1ef5c75be651b555710ce94fa8;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/pluginvclient.C b/cinelerra-5.1/cinelerra/pluginvclient.C index 4ce953f7..c2162feb 100644 --- a/cinelerra-5.1/cinelerra/pluginvclient.C +++ b/cinelerra-5.1/cinelerra/pluginvclient.C @@ -2,6 +2,7 @@ /* * CINELERRA * Copyright (C) 2008 Adam Williams + * Copyright (C) 2003-2016 Cinelerra CV contributors * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -323,3 +324,16 @@ int PluginVClient::find_font_by_char(FT_ULong char_code, char *path_new, const F { return BC_Resources::find_font_by_char(char_code, path_new, oldface); } + +int64_t PluginVClient::get_startproject() +{ + int64_t pos = server->get_startproject(); + return pos >= 0 ? pos : 0; +} + +int64_t PluginVClient::get_endproject() +{ + int64_t pos = server->get_endproject(); + return pos >= 0 ? pos : get_edl()->get_video_frames(); +} +