<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1594,8 +1594,16 @@ void MarkChapters(struct vobgroup *va)
                 int v;
                 
                 v=findnearestvobu(va,s-&gt;vob,s-&gt;cells[k].startpts);
-                if( v&gt;=0 &amp;&amp; v&lt;s-&gt;vob-&gt;numvobus )
-                    s-&gt;vob-&gt;vi[v].vobcellid=1;
+                if (v &gt;= 0 &amp;&amp; v &lt; s-&gt;vob-&gt;numvobus)
+                  {
+                    if (s-&gt;cells[k].ischapter) /* from Wolfgang Wershofen */
+                      {
+                        fprintf(stderr, &quot;CHAPTERS: VTS[%d/%d] &quot;, i + 1, j + 1);
+                        printpts(s-&gt;vob-&gt;vi[v].sectpts[0] - s-&gt;vob-&gt;vi[0].sectpts[0]);
+                        fprintf(stderr, &quot;\n&quot;);
+                      } /*if*/
+                    s-&gt;vob-&gt;vi[v].vobcellid = 1;
+                  } /*if*/
                 s-&gt;cells[k].scellid=v;
 
                 if( lastcellid!=v &amp;&amp;</diff>
      <filename>src/dvdvob.c</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>c1f425d5b5a9065e4b5124cafd2f77837fe81092</id>
    </parent>
  </parents>
  <author>
    <name>Lawrence D'Oliveiro</name>
    <email>ldo@geek-central.gen.nz</email>
  </author>
  <url>http://github.com/ldo/dvdauthor/commit/63fdb18b2952f4567f981da6da3434862094c0b0</url>
  <id>63fdb18b2952f4567f981da6da3434862094c0b0</id>
  <committed-date>2009-11-07T22:24:07-08:00</committed-date>
  <authored-date>2009-11-07T22:24:07-08:00</authored-date>
  <message>add patch from Wolfgang Wershofen to print out chapter timecodes</message>
  <tree>9b875e71c797d8fa73443c2e212bdffee80d5c0c</tree>
  <committer>
    <name>Lawrence D'Oliveiro</name>
    <email>ldo@geek-central.gen.nz</email>
  </committer>
</commit>
