X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;ds=sidebyside;f=cinelerra-5.1%2Fcinelerra%2Fpreferencesthread.C;h=39a198d435cbef017e33cc449e6f050266bc1f3e;hb=f3adc7285af86851913b48592a8c4fdfcdcdf8b6;hp=3e4ac56fb2617970d324142d6b7fe469ee65286c;hpb=61d95f04b83c2f7f1fa6b44ff64ed9c83a7d8abb;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/preferencesthread.C b/cinelerra-5.1/cinelerra/preferencesthread.C index 3e4ac56f..39a198d4 100644 --- a/cinelerra-5.1/cinelerra/preferencesthread.C +++ b/cinelerra-5.1/cinelerra/preferencesthread.C @@ -211,6 +211,14 @@ int PreferencesThread::apply_settings() (*this_aconfig != *aconfig) || (*this_vconfig != *vconfig) || !preferences->brender_asset->equivalent(*mwindow->preferences->brender_asset, 0, 1, edl); + if( preferences->yuv_color_space != mwindow->preferences->yuv_color_space || + preferences->yuv_color_range != mwindow->preferences->yuv_color_range ) { + YUV::yuv.yuv_set_colors( + preferences->yuv_color_space, + preferences->yuv_color_range); + rerender = 1; + } + if( preferences->highlight_inverse != mwindow->preferences->highlight_inverse ) { mwindow->gui->lock_window("PreferencesThread::apply_settings 0"); mwindow->gui->hide_cursor(0); @@ -317,10 +325,7 @@ int PreferencesThread::apply_settings() //printf("PreferencesThread::apply_settings 1\n"); // This doesn't stop and restart, only reloads the assets before // the next play command. - mwindow->cwindow->playback_engine->que->send_command(CURRENT_FRAME, - CHANGE_ALL, - mwindow->edl, - 1); + mwindow->cwindow->refresh_frame(CHANGE_ALL, mwindow->edl); //printf("PreferencesThread::apply_settings 10\n"); }