]> git.sesse.net Git - mlt/commit
Add fetching previous and next frames in producers.
authorDan Dennedy <dan@dennedy.org>
Wed, 3 Feb 2010 07:20:22 +0000 (23:20 -0800)
committerDan Dennedy <dan@dennedy.org>
Fri, 5 Feb 2010 04:46:53 +0000 (20:46 -0800)
commit578d4a79afa96ba4f593b1ddc9412f1fe13e17e7
treeef0f4f5bc30cf593aa09e0a4efc91ab2de2dd192
parentcf90229be3d01edf2d9b38d45145e3e7ea857af5
Add fetching previous and next frames in producers.

This is only enabled when the property need-previous-next is set true on
the producer. This also adds firing a service-changed event on the
filter when it gets attached so the filter can set this property on the
producer to which it is attached. These frame references are set as
"previous frame" and "next frame" properties on the current frame. It is
also important to note that these frames do not have ANY filters applied
to them, which is important for YADIF and telecide filters, which
process before all other filters.
src/framework/mlt_filter.h
src/framework/mlt_frame.h
src/framework/mlt_service.c
src/framework/mlt_service.h