X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fresourcethread.C;h=308e902d81ae56f6685780778af4e15de5d8f67d;hp=27794d27c388884101fe939f80d3d8507abe3301;hb=cee5af08aebf1f2d45ddbcee1a67b7cc052e8c8f;hpb=5dc041305c444ac2612602a93f06c42a144043db diff --git a/cinelerra-5.1/cinelerra/resourcethread.C b/cinelerra-5.1/cinelerra/resourcethread.C index 27794d27..308e902d 100644 --- a/cinelerra-5.1/cinelerra/resourcethread.C +++ b/cinelerra-5.1/cinelerra/resourcethread.C @@ -680,7 +680,7 @@ void ResourceThread::close_indexable(Indexable *idxbl) { if( audio_thread && audio_thread->render_engine_id == idxbl->id ) audio_thread->close_render_engine(); - if( video_thread && audio_thread->render_engine_id == idxbl->id ) + if( video_thread && video_thread->render_engine_id == idxbl->id ) video_thread->close_render_engine(); }