diff --git a/ChangeLog b/ChangeLog index d3dd2b7042..ec084a5e1b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-03-20 Zaheer Abbas Merali + + * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset): + So we should use correct constants for checking for None offset. + 2007-03-20 Wim Taymans * docs/design/part-block.txt: diff --git a/plugins/elements/gstidentity.c b/plugins/elements/gstidentity.c index 06c360994c..b91a19c9f7 100644 --- a/plugins/elements/gstidentity.c +++ b/plugins/elements/gstidentity.c @@ -431,7 +431,8 @@ gst_identity_check_imperfect_offset (GstIdentity * identity, GstBuffer * buf) offset = GST_BUFFER_OFFSET (buf); if (identity->prev_offset_end != offset && - identity->prev_offset_end != G_MAXUINT64 && offset != G_MAXUINT64) { + identity->prev_offset_end != GST_BUFFER_OFFSET_NONE && + offset != GST_BUFFER_OFFSET_NONE) { /* * "imperfect-offset" bus message: * @identity: the identity instance