bilboed gnonlin: gnonlin/ gnonlin/gnl/

[email protected] Sun, 28 Dec 2008 07:28:54 -0800 (PST)
Newsgroups gmane.comp.video.gstreamer.cvs
Message-ID <[email protected]>
CVS Root:       /cvs/gstreamer
Module:         gnonlin
Changes by:     bilboed
Date:           Sun Dec 28 2008  15:28:54 UTC

Log message:
* gnl/gnlcomposition.c: (refine_start_stop_in_region_above_priority):
Refine means "do not EXTEND the region" !
This should fix more issues with complex timelines.

Modified files:
    .               : ChangeLog
    gnl             : gnlcomposition.c

Links:
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gnonlin/ChangeLog.diff?r1=1.216&r2=1.217
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gnonlin/gnl/gnlcomposition.c.diff?r1=1.79&r2=1.80

====Begin Diffs====
Index: ChangeLog
===================================================================
RCS file: /cvs/gstreamer/gnonlin/ChangeLog,v
retrieving revision 1.216
retrieving revision 1.217
diff -u -d -r1.216 -r1.217
--- ChangeLog	14 Dec 2008 12:24:29 -0000	1.216
+++ ChangeLog	28 Dec 2008 15:28:39 -0000	1.217
@@ -1,3 +1,9 @@
+2008-12-28  Edward Hervey  <[email protected]>
+
+	* gnl/gnlcomposition.c: (refine_start_stop_in_region_above_priority):
+	Refine means "do not EXTEND the region" !
+	This should fix more issues with complex timelines.
 2008-12-14  Edward Hervey  <[email protected]>
 
 	* gnl/gnlsource.c: (gnl_source_send_event):
Index: gnlcomposition.c
RCS file: /cvs/gstreamer/gnonlin/gnl/gnlcomposition.c,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -d -r1.79 -r1.80
--- gnlcomposition.c	29 Jul 2008 17:19:42 -0000	1.79
+++ gnlcomposition.c	28 Dec 2008 15:28:40 -0000	1.80
@@ -1033,6 +1033,9 @@
     if (object->start <= timestamp)
       continue;
+    if (object->start >= nstop)
+      continue;
     nstop = object->start;
     GST_DEBUG_OBJECT (composition,
         "START Found %s [prio:%u] at %" GST_TIME_FORMAT,
@@ -1053,6 +1056,9 @@
     if (object->stop >= timestamp)
+    if (object->stop <= nstart)
     nstart = object->stop;
         "STOP Found %s [prio:%u] at %" GST_TIME_FORMAT,

------------------------------------------------------------------------------