mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 23:14:46 +00:00
plugins/elements/gstidentity.c: Fix check for perfect stream to ignore buffers with -1 offsets/offset ends when check...
Original commit message from CVS: 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org> * plugins/elements/gstidentity.c: (gst_identity_check_perfect): Fix check for perfect stream to ignore buffers with -1 offsets/offset ends when checking data contiguity.
This commit is contained in:
parent
0c16a9954e
commit
953db65b3b
3 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
|
||||
|
||||
* plugins/elements/gstidentity.c: (gst_identity_check_perfect):
|
||||
Fix check for perfect stream to ignore buffers with -1
|
||||
offsets/offset ends when checking data contiguity.
|
||||
|
||||
2007-03-08 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* tools/gst-launch.c: (event_loop):
|
||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit 7c5a0ab68de1fed4e5a1fd473160debc2c4c7b89
|
||||
Subproject commit ea828a478fe11561881a6eaf1f7bf2b0b77c8c85
|
|
@ -366,7 +366,8 @@ 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 != G_MAXUINT64 && offset != G_MAXUINT64) {
|
||||
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