Re: [Mlt-devel] [PATCH] fix thread exit on error and thread termination

2012-02-09 Thread Maksym Veremeyenko
09.02.12 20:28, Dan Dennedy написав(ла): > 2012/2/9 Maksym Veremeyenko: >> 08.02.12 20:11, Dan Dennedy написав(ла): >> [...] >> >>> Well, the more critical goal was to fix a segfault, but I see your >>> point now about using "running" to cleanup "thread." I did not like >>> your conversion of the t

Re: [Mlt-devel] [PATCH] fix thread exit on error and thread termination

2012-02-09 Thread Dan Dennedy
2012/2/9 Maksym Veremeyenko : > 08.02.12 20:11, Dan Dennedy написав(ла): > [...] > >> Well, the more critical goal was to fix a segfault, but I see your >> point now about using "running" to cleanup "thread." I did not like >> your conversion of the thread property from data to a int64; do you >> k

Re: [Mlt-devel] [PATCH] fix thread exit on error and thread termination

2012-02-09 Thread Maksym Veremeyenko
08.02.12 20:11, Dan Dennedy написав(ла): [...] > Well, the more critical goal was to fix a segfault, but I see your > point now about using "running" to cleanup "thread." I did not like > your conversion of the thread property from data to a int64; do you > know how data properties provide destruct

Re: [Mlt-devel] [PATCH] fix thread exit on error and thread termination

2012-02-08 Thread Dan Dennedy
2012/2/8 Maksym Veremeyenko : > 08.02.12 06:19, Dan Dennedy написав(ла): > >>> 2012/1/16 Maksym Veremeyenko: wrong test code where mlt_consumer_stop was called immediately after mlt_consumer_start caused that sideeffect. to resolve such condition i attached a patch that pro

Re: [Mlt-devel] [PATCH] fix thread exit on error and thread termination

2012-02-08 Thread Maksym Veremeyenko
08.02.12 06:19, Dan Dennedy написав(ла): >> 2012/1/16 Maksym Veremeyenko: >>> wrong test code where mlt_consumer_stop was called immediately after >>> mlt_consumer_start caused that sideeffect. >>> >>> to resolve such condition i attached a patch that properly determinate >>> consumer's thread fini

Re: [Mlt-devel] [PATCH] fix thread exit on error and thread termination

2012-02-07 Thread Dan Dennedy
> 2012/1/16 Maksym Veremeyenko : >> wrong test code where mlt_consumer_stop was called immediately after >> mlt_consumer_start caused that sideeffect. >> >> to resolve such condition i attached a patch that properly determinate >> consumer's thread finish and avoid writing /trailer/ if no /header w

Re: [Mlt-devel] [PATCH] fix thread exit on error and thread termination

2012-01-17 Thread Dan Dennedy
2012/1/16 Maksym Veremeyenko : > Hi, > > i was testing a recording from decklink into the avformat consumer with > simple code: > > #include > #include > #include > > int main( int argc, char *argv[] ) > { >    mlt_consumer consumer; >    mlt_producer producer; >    mlt_profile profile; >    mlt

Re: [Mlt-devel] [PATCH] fix thread exit on error and thread termination

2012-01-17 Thread Maksym Veremeyenko
16.01.12 14:12, Maksym Veremeyenko написав(ла): > Hi, > > i was testing a recording from decklink into the avformat consumer with > simple code: [...] > > but that cause a SIGSEGV: > [...] > > wrong test code where mlt_consumer_stop was called immediately after > mlt_consumer_start caused that side

[Mlt-devel] [PATCH] fix thread exit on error and thread termination

2012-01-16 Thread Maksym Veremeyenko
Hi, i was testing a recording from decklink into the avformat consumer with simple code: #include #include #include int main( int argc, char *argv[] ) { mlt_consumer consumer; mlt_producer producer; mlt_profile profile; mlt_repository repo; repo = mlt_factory_init(NULL