X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=core%2Fproducer%2Fframerate%2Fframerate_producer.h;h=f742e484cccad27054c79c97d58043719775e006;hb=726897adbf881d3b75f171fff24f2b917ba5f05a;hp=f0995310d1fa97afd2da306b724144927faee59d;hpb=cd1a44a41dd64c05de067ba728c285f001b66bf3;p=casparcg diff --git a/core/producer/framerate/framerate_producer.h b/core/producer/framerate/framerate_producer.h index f0995310d..f742e484c 100644 --- a/core/producer/framerate/framerate_producer.h +++ b/core/producer/framerate/framerate_producer.h @@ -29,6 +29,7 @@ #include #include +#include #include @@ -38,7 +39,7 @@ void describe_framerate_producer(help_sink& sink); spl::shared_ptr create_framerate_producer( spl::shared_ptr source, - boost::rational source_framerate, + std::function ()> get_source_framerate, // Will be called after first receive() on the source boost::rational destination_framerate, field_mode destination_fieldmode, std::vector destination_audio_cadence);