X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fpluginvclient.C;h=09a9c928cd0a63840fab98e1ffb345181c75eda9;hp=4ce953f7d7c3fe1ef5c75be651b555710ce94fa8;hb=9fed7535470aa37781733db836068da3b4c17a0d;hpb=47bf02b68d1ab0f1ca8a240750b451802ce12d31 diff --git a/cinelerra-5.1/cinelerra/pluginvclient.C b/cinelerra-5.1/cinelerra/pluginvclient.C index 4ce953f7..09a9c928 100644 --- a/cinelerra-5.1/cinelerra/pluginvclient.C +++ b/cinelerra-5.1/cinelerra/pluginvclient.C @@ -323,3 +323,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(); +} +