This feature now requires one to set the preview property on this
producer to support special preview mode when the speed is 0.
IDeckLinkVideoInputFrame* video,
IDeckLinkAudioInputPacket* audio )
{
- if ( mlt_producer_get_speed( getProducer() ) == 0.0 && !mlt_deque_count( m_queue ))
+ if ( mlt_properties_get_int( MLT_PRODUCER_PROPERTIES( getProducer() ), "preview" ) &&
+ mlt_producer_get_speed( getProducer() ) == 0.0 && !mlt_deque_count( m_queue ))
{
pthread_cond_broadcast( &m_condition );
return S_OK;
default: 0
unit: lines
widget: spinner
+
+ - identifier: preview
+ title: Enable preview
+ description: Support preview monitoring when paused (speed = 0).
+ type: integer
+ minimum: 0
+ maximum: 1
+ default: 0
+ widget: checkbox