Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There may be an error when disconnecting a filter service from the field #1058

Open
wangguangyue opened this issue Dec 11, 2024 · 0 comments

Comments

@wangguangyue
Copy link

Hi,
When a field connect to the filter, it's with a track index value.

int mlt_field_plant_filter(mlt_field self, mlt_filter that, int track)

In this function, the producer member of the field will be replace by this filter, and the old producer member will connect to the filter as input producer at the track index.
But when disconnecting a filter service from the field by fellow function,

void mlt_field_disconnect_service(mlt_field self, mlt_service service)

The corresponding old producer is not correctly obtained through the track index of this filter. Cause function mlt_service_producer returns the last one, not the one specified by track index

image

wangguangyue added a commit to wangguangyue/mlt that referenced this issue Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant