[CinCV TNG] Titles not loaded in GG-20161130

Chris Williams chris at dept42.com
Thu Dec 15 09:12:28 CET 2016


When loading a file in recent releases of GG, track names and other 
TITLE tags are ignored. I assume this change must have been some sort of 
mistake? Reverting to the earlier code as per below fixes the problem.


diff --git a/cinelerra-5.1/cinelerra/track.C 
b/cinelerra-5.1/cinelerra/track.C
index 05bb503..ae7d104 100644
--- a/cinelerra-5.1/cinelerra/track.C
+++ b/cinelerra-5.1/cinelerra/track.C
@@ -339,7 +339,7 @@ int Track::load(FileXML *file, int track_offset, 
uint32_t load_flags)
                         else
                         if(file->tag.title_is("TITLE"))
                         {
-                               result = file->skip_tag();
+                               file->read_text_until("/TITLE", title, 
BCTEXTLEN);
                         }
                         else
                         if(load_flags && automation->load(file)



More information about the Cinelerra mailing list