[CinCV TNG] Titles not loaded in GG-20161130

Good Guy good1.2guy at gmail.com
Thu Dec 15 17:27:18 CET 2016

The file->skip_tag() fix corrects this type of problem with xml files:

<TAG_A> tag_a data
  <TAG_B> tag_b data
    <TAG_A> nested tag_a data
  <TAG_C> data to avoid

The first /TAG_A closer will trip if I use the patch you suggest, and read
the "data to avoid" members as valid data.  If you provide the session
file, and directions which illustrate how to produce the error, I will
definitely give it a look.  upload the example to datafilehost.com if the
files are too big for email.  The xml file structure of the session file
may be in error for some reason.


On Thu, Dec 15, 2016 at 1:12 AM, Chris Williams <chris at dept42.com> wrote:

> 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,
>                         }
>                         else
>                         if(load_flags && automation->load(file)
> _______________________________________________
> Cinelerra mailing list
> Cinelerra at lists.cinelerra-cv.org
> http://lists.cinelerra-cv.org/cgi-bin/mailman/listinfo/cinelerra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cinelerra-cv.org/pipermail/cinelerra/attachments/20161215/ebe67958/attachment.html>

More information about the Cinelerra mailing list