Commit 4571f3fa authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen

fl32 is now f32l

This fix a crash when... well when doing anything related to rendering...
parent 93ba7def
......@@ -93,7 +93,7 @@ WorkflowRenderer::setupRenderer()
sprintf( videoString, "width=%i:height=%i:dar=%s:fps=%s:data=%lld:codec=%s:cat=2:caching=0",
m_width, m_height, "16/9", "30/1",
(qint64)m_videoEsHandler, "RV24" );
sprintf( audioParameters, "data=%lld:cat=1:codec=fl32:samplerate=%u:channels=%u:caching=0",
sprintf( audioParameters, "data=%lld:cat=1:codec=f32l:samplerate=%u:channels=%u:caching=0",
(qint64)m_audioEsHandler, m_rate, m_nbChannels );
strcpy( inputSlave, ":input-slave=imem://" );
strcat( inputSlave, audioParameters );
......
......@@ -84,7 +84,7 @@ void AudioClipWorkflow::initVlcOutput()
m_vlcMedia->setAudioDataCtx( this );
m_vlcMedia->setAudioLockCallback( reinterpret_cast<void*>( getLockCallback() ) );
m_vlcMedia->setAudioUnlockCallback( reinterpret_cast<void*>( getUnlockCallback() ) );
m_vlcMedia->addOption( ":sout-transcode-acodec=fl32" );
m_vlcMedia->addOption( ":sout-transcode-acodec=f32l" );
m_vlcMedia->addOption( ":sout-transcode-samplerate=48000" );
m_vlcMedia->addOption( ":sout-transcode-channels=2" );
if ( m_fullSpeedRender == false )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment