[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 stdio.h #include unistd.h #include framework/mlt.h int main( int argc, char *argv[] ) { mlt_consumer consumer; mlt_producer producer; mlt_profile profile; mlt_repository repo;

[Mlt-devel] [PATCH] fix timecode extraction on NULL frame

2012-01-16 Thread Maksym Veremeyenko
Hi, for some reason requested frame in the beginning of consumer thread is NULL, so it makes a SIGSEGV on requesting vitc from that frame: (gdb) bt #0 mlt_properties_find (self=0x0, name=0x7fffef5adae0 meta.attr.vitc.markup) at mlt_properties.c:484 #1 mlt_properties_get (self=0x0,

[Mlt-devel] Git: fix segfault accessing possible null frame

2012-01-16 Thread Dan Dennedy
src/modules/avformat/consumer_avformat.c | 17 ++--- 1 files changed, 10 insertions(+), 7 deletions(-) New commits: commit c06e689e3c0b269add217452fca192e99104f7ea Author: Dan Dennedy d...@dennedy.org Date: Mon Jan 16 09:32:54 2012 -0800 fix segfault accessing possible null

Re: [Mlt-devel] [PATCH] fix timecode extraction on NULL frame

2012-01-16 Thread Dan Dennedy
2012/1/16 Maksym Veremeyenko ve...@m1stereo.tv: Hi, for some reason requested frame in the beginning of consumer thread is NULL, I am trying to understand why frame is NULL so this timecode feature can work. Did you happen to set real_time 0 on the consumer? so it makes a SIGSEGV on