plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset): So we should use correct constants for checking...

Original commit message from CVS:
* plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
So we should use correct constants for checking for None offset.
This commit is contained in:
Zaheer Abbas Merali 2007-03-20 14:25:15 +00:00
parent f7a3f36f76
commit dab34ba05e
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
* 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 <wim@fluendo.com>
* docs/design/part-block.txt:

View file

@ -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