On Sat, Nov 20, 2021 at 2:01 PM José María García Pérez <
josemaria.alk...@gmail.com> wrote:
> There are a few things under the hood:
> 1. I have several `connect` functions which have different type signatures:
> - For filter:
> https://github.com/mantielero/mlt.nim/blob/51245b9fea6ad1555687f
There are a few things under the hood:
1. I have several `connect` functions which have different type signatures:
- For filter:
https://github.com/mantielero/mlt.nim/blob/51245b9fea6ad1555687ff9229c66ca17a6d3ffb/src/lib/filter.nim#L5-L8
- For consumer:
https://github.com/mantielero/mlt.nim
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
With the following example:
```c
#include
#include
#include
int main( int argc, char *argv[] )
{
// Initialise the factory
if ( mlt_factory_init( NULL ) != 0 )
{
mlt_profile p = mlt_profile_init(NULL);
// Create the default consumer
mlt_consumer hello = mlt_factory_consumer( p, "sdl2", NULL );
Thanks for sharing that. Read more below...
On Sat, Nov 20, 2021 at 8:54 AM José María García Pérez <
josemaria.alk...@gmail.com> wrote:
> I implemented some examples in the Nim programming language. Nim compiles
> into C (among other languages).
>
> I like that it gives you the feeling of python
I implemented some examples in the Nim programming language. Nim compiles
into C (among other languages).
I like that it gives you the feeling of python despite it is using actual
types.
The code looks as follows:
```
import mlt, os
var f = initFactory()
# Create the default consumer
var p = new