On Sat, Nov 20, 2021 at 11:35 AM José María García Pérez <
josemaria.alk...@gmail.com> wrote:

> With the following example:
> I never get the `mlt_consumer_is_stopped` set to True.  The played video
> finishes but the exit condition for the while loop is never reached.
>
> Why is that?
>

The end of file does not equal stop. You either need to tell it to stop,
perhaps from another thread or a main event loop. See also the
terminate_on_pause property on the consumer, which I just realized is
under-documented in the API reference and will fix for the next release. It
is however, used in src/examples/play.cpp with a helpful comment.
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to