On Sat, Sep 15, 2012 at 4:26 PM, Dan Dennedy <[email protected]> wrote:
> On Sat, Sep 15, 2012 at 4:00 PM, Dan Dennedy <[email protected]> wrote:
>> On Sat, Sep 15, 2012 at 3:19 PM, j-b-m <[email protected]> wrote:
>>> Hello.
>>>
>>> The recent change to deinterlace filter (1) breaks playing of some clips in
>>> timeline in Kdenlive.
>>>
>>> I do not really understand why, but playing in the clip monitor works, while
>>> playing the timeline monitor gives a black screen on some clips.
>>>
>>> However, looking at the code, I could fix the black screen problem with the
>>> following patch. This patch seems to make sense, because in current git we
>>> call:
>>>
>>> mlt_frame_get_image( frame, image, format, width, height, writable );
>>>
>>> twice in a row (at line 242 and 248).
>>>
>>> (1)
>>> https://github.com/mltframework/mlt/commit/cf73314203ff98894b2d91a99354aaff69a53ad3
>>
>> No, that is intentional. Read the kdenlive bug and the comment on line
>> 246 to understand why.
>> I will have to figure out what is really wrong. I suspect the alpha
>> channel is all zeroes. because I reproduced in a project and changed
>> the background color producer to read, and it shows through.
>
> No, that does not make sense because I am not using composite.

Hi JB,
The additional mlt_frame_get_image() was invoking the tractor's
get_image function pointer that was pushed on the frame's image stack
for the "tracks-as-layers" processing. I pushed a fix now that removes
this extra operation that was adversely affecting the state of the
image stack.

-- 
+-DRD-+

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Mlt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to