fix segv ffmpeg opts popup, minor enhancements, hi-bits compile switch
[goodguy/history.git] / cinelerra-5.1 / cinelerra / dvdcreate.C
index 66d93793bdd31956c07c04c831f05181cc3da512..f61078148bedaf8cfae29f0725f54926cfe64d36 100644 (file)
@@ -180,6 +180,9 @@ int CreateDVD_Thread::create_dvd_jobs(ArrayList<BatchRenderJob*> *jobs,
        fprintf(fp,"rm -rf $1/iso\n");
        fprintf(fp,"mkdir -p $1/iso\n");
        fprintf(fp,"\n");
+// dvdauthor ver 0.7.0 requires this to work
+       fprintf(fp,"export VIDEO_FORMAT=%s\n",
+               use_standard == HD_720x576_2500 ? "PAL" : "NTSC");
        fprintf(fp,"dvdauthor -x - <<eof\n");
        fprintf(fp,"<dvdauthor dest=\"$1/iso\">\n");
        fprintf(fp,"  <vmgm>\n");