Hi all,

A recent commit ( Prevent computing negative in and out points) causes a breakage in a common MLT++ command. I left a comment but just to be sure it reaches you, I post a copy on the mailing list:

https://github.com/mltframework/mlt/commit/9931b78bec8059b1c27ec2bc2e51ba195b4386a8

This change breaks the common command:

Mlt::Producer *cut = producer->cut();

Because by default MLT++'s cut() command uses -1 as in and out. The 2 first changes of the problematic commit use something like : out = MIN(0, length), which will always be 0 (or negative). Did you mean to use
out = MAX(0, length)

Thanks and regards

jb

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to