From f63693a9d7cadf4d1e16168bb85888a4491010b3 Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu <randrianasulu@gmail.com>
Date: Mon, 5 Jul 2021 18:44:55 +0300
Subject: [PATCH 42/43] Final cut pro 1.2.5 accept our edl now, after unix2dos
 utility

---
 cinelerra-5.1/cinelerra/exportedl.C | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/cinelerra-5.1/cinelerra/exportedl.C b/cinelerra-5.1/cinelerra/exportedl.C
index d938a7be..dc5b75f3 100644
--- a/cinelerra-5.1/cinelerra/exportedl.C
+++ b/cinelerra-5.1/cinelerra/exportedl.C
@@ -168,6 +168,9 @@ void ExportEDLAsset::export_it()
 		fprintf(fh, "FCM: DROP FRAME\n");
 		}
 		}
+		// newline after FCM
+		fprintf(fh, "\n");
+		
 		int colnum = 1;
 
 
@@ -241,6 +244,14 @@ void ExportEDLAsset::export_it()
 			colnum ++;
 
 		}
+		
+		fprintf(fh, "\n");
+		
+		// file end for final cut pro 1.2.5 ?
+		fprintf(fh, "\x0D");
+		fprintf(fh, "\x0A");
+		fprintf(fh, "\x1A");
+		fprintf(fh, "\x1A");
 
 	}
 
-- 
2.32.0

