Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions plugins/image/io/AudioVideo/src/reader/AVReaderPlugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,8 @@ bool AVReaderPlugin::getRegionOfDefinition( const OFX::RegionOfDefinitionArgumen

void AVReaderPlugin::beginSequenceRender( const OFX::BeginSequenceRenderArguments& args )
{
ReaderPlugin::beginSequenceRender( args );

ensureVideoIsOpen();

_inputFile->setProfile( _paramFormatCustom.getCorrespondingProfile() );
Expand Down
3 changes: 3 additions & 0 deletions plugins/image/io/AudioVideo/src/writer/AVWriterPlugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1041,6 +1041,8 @@ void AVWriterPlugin::cleanVideoAndAudio()
*/
void AVWriterPlugin::beginSequenceRender( const OFX::BeginSequenceRenderArguments& args )
{
WriterPlugin::beginSequenceRender( args );

// Before new render
cleanVideoAndAudio();
initOutput();
Expand Down Expand Up @@ -1078,6 +1080,7 @@ void AVWriterPlugin::endSequenceRender( const OFX::EndSequenceRenderArguments& a
if( ! _initWrap || ! _initVideo )
return;

WriterPlugin::endSequenceRender( args );
_outputFile->endWrap();
}

Expand Down