mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
plugins/elements/gstidentity.c: Don't warning on offset==-1. Taken from _check_imperfect_offset().
Original commit message from CVS: * plugins/elements/gstidentity.c: Don't warning on offset==-1. Taken from _check_imperfect_offset().
This commit is contained in:
parent
42c08ab20f
commit
9e501b274f
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-11-21 Stefan Kost <ensonic@users.sf.net>
|
||||
|
||||
* plugins/elements/gstidentity.c:
|
||||
Don't warning on offset==-1. Taken from _check_imperfect_offset().
|
||||
|
||||
2008-11-21 Michael Smith <msmith@songbirdnest.com>
|
||||
|
||||
* plugins/elements/gstfilesrc.c:
|
||||
|
|
|
@ -410,7 +410,9 @@ gst_identity_check_perfect (GstIdentity * identity, GstBuffer * buf)
|
|||
}
|
||||
|
||||
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 %"
|
||||
|
|
Loading…
Reference in a new issue