X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fbatchrender.C;h=ae1cef938410cd79ceefa0a9592cde373f79704f;hp=e75c71093253ea7c219b7954d1c66b1fd53ded77;hb=010024a919b463542b843cf2dd50e0ccb30f1269;hpb=e375434717622cc3198a6bf9f7b7fb9fde555c21 diff --git a/cinelerra-5.1/cinelerra/batchrender.C b/cinelerra-5.1/cinelerra/batchrender.C index e75c7109..ae1cef93 100644 --- a/cinelerra-5.1/cinelerra/batchrender.C +++ b/cinelerra-5.1/cinelerra/batchrender.C @@ -392,7 +392,7 @@ int BatchRenderThread::test_edl_files() for( int i=0; !ret && ienabled ) continue; - const char *path = jobs.values[i]->edl_path; + path = jobs.values[i]->edl_path; int is_script = *path == '@' ? 1 : 0; if( is_script ) ++path; FILE *fp = fopen(path, "r"); @@ -1211,9 +1211,14 @@ int BatchRenderList::selection_changed() int BatchRenderList::column_resize_event() { - for( int i = 0; i < BATCHRENDER_COLUMNS; i++ ) { - thread->list_width[i] = get_column_width(i); - } + int col = 0; + thread->list_width[ENABLED_COL] = get_column_width(col++); + thread->list_width[LABELED_COL] = get_column_width(col++); + if( thread->gui->use_renderfarm ) + thread->list_width[FARMED_COL] = get_column_width(col++); + thread->list_width[OUTPUT_COL] = get_column_width(col++); + thread->list_width[EDL_COL] = get_column_width(col++); + thread->list_width[ELAPSED_COL] = get_column_width(col); return 1; }