Re: [Mlt-devel] Profile change of a created object (producer, consumer...)
Brought to you by:
ddennedy,
lilo_booter
|
From: Brian M. <co...@br...> - 2017-03-13 15:01:46
|
On 3/13/2017 9:17 AM, alcinos wrote: > Thank you for your answer. > So if I understand correctly the logic of the code you've linked, if I > create my objects (filter, consumers, producers) with a pointer to the > same Profile object, then modifing properties of this profile object > (fps, …) has the correct side-effects on all the other objects, is > that it ? Besides stopping the consumer(s), are there any pitfalls I > should be aware of ? I expect that you would have some trouble with producers. Some producers (e.g. avformat) calculate the length when they are first created. If you change the profile to a different frame rate, I'm not sure if the length will be re-calculated. You might need to experiment with that. ~Brian |