https://bugs.kde.org/show_bug.cgi?id=442880

--- Comment #5 from cropinghigh <[email protected]> ---
I have found where issue was. One commit in mlt library 8 months ago changed
API, but kdenlive not.
Fix:
Replace
"
  static void onThreadCreate(mlt_properties owner, GLWidget *self, RenderThread
**thread, int *priority, thread_function_t function, void *data)
{
    Q_UNUSED(owner)
    Q_UNUSED(priority)
    // self->clearFrameRenderer();
    self->createThread(thread, function, data);
    self->lockMonitor();
}
" 
in file src/monitor/glwidget.cpp
to
"
static void onThreadCreate(mlt_properties owner, void* listener_data,
mlt_event_data event_data)
{
    Q_UNUSED(owner)
    mlt_event_data_thread thread_data =
*((mlt_event_data_thread*)mlt_event_data_to_object(event_data));
    // self->clearFrameRenderer();
    GLWidget* self = ((GLWidget*)(listener_data));
    self->createThread((RenderThread**)thread_data.thread,
thread_data.function, thread_data.data);
    self->lockMonitor();
}
".
Now i'm experiencing another bug, i can't import any clip, segfault happening
in movit library, because gl context not initialized somewhere.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to