ensonic gstreamer: gstreamer/ gstreamer/plugins/elements/

[email protected]
Newsgroups gmane.comp.video.gstreamer.cvs
Message-ID <[email protected]>
CVS Root:       /cvs/gstreamer
Module:         gstreamer
Changes by:     ensonic
Date:           Fri Nov 21 2008  20:57:30 UTC

Log message:
	* plugins/elements/gstidentity.c:
	Don't warning on offset==-1. Taken from _check_imperfect_offset().

Modified files:
    .               : ChangeLog
    plugins/elements: gstidentity.c

Links:
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/ChangeLog.diff?r1=1.4171&r2=1.4172
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/plugins/elements/gstidentity.c.diff?r1=1.126&r2=1.127

====Begin Diffs====
Index: ChangeLog
===================================================================
RCS file: /cvs/gstreamer/gstreamer/ChangeLog,v
retrieving revision 1.4171
retrieving revision 1.4172
diff -u -d -r1.4171 -r1.4172
--- ChangeLog	21 Nov 2008 18:26:11 -0000	1.4171
+++ ChangeLog	21 Nov 2008 20:57:13 -0000	1.4172
@@ -1,3 +1,8 @@
+2008-11-21  Stefan Kost  <[email protected]>
+
+	* plugins/elements/gstidentity.c:
+	Don't warning on offset==-1. Taken from _check_imperfect_offset().
 2008-11-21  Michael Smith <[email protected]>
 
 	* plugins/elements/gstfilesrc.c:
Index: gstidentity.c
RCS file: /cvs/gstreamer/gstreamer/plugins/elements/gstidentity.c,v
retrieving revision 1.126
retrieving revision 1.127
diff -u -d -r1.126 -r1.127
--- gstidentity.c	31 Oct 2008 08:53:27 -0000	1.126
+++ gstidentity.c	21 Nov 2008 20:57:16 -0000	1.127
@@ -410,7 +410,9 @@
       }
       offset = GST_BUFFER_OFFSET (buf);
-      if (identity->prev_offset_end != offset) {
+      if (identity->prev_offset_end != offset &&
+          identity->prev_offset_end != GST_BUFFER_OFFSET_NONE &&
+          offset != GST_BUFFER_OFFSET_NONE) {
         GST_WARNING_OBJECT (identity,
             "Buffer not data-contiguous with previous one: "
             "prev offset_end %" G_GINT64_FORMAT ", new offset %"

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.