gstqueuearray: make find() return a 0-based index
authorMathieu Duponchelle <mathieu@centricular.com>
Wed, 11 Apr 2018 11:44:33 +0000 (13:44 +0200)
committerMathieu Duponchelle <mathieu@centricular.com>
Fri, 13 Apr 2018 22:01:35 +0000 (00:01 +0200)
commit68761eecaec51ed403a0e6bebe75584e094ec804
tree60234371f7b36a6bd6bfbe3bf122ac356b398e59
parented5d888ba5ffcaa9561e60c6b237bcf4a9ca3853
gstqueuearray: make find() return a 0-based index

And make the drop() functions expect a 0-based index too,
this addresses a longstanding FIXME. This will not break
backward compatibility, because the drop() functions
were previously only meant to be used with the index
returned by find().

https://bugzilla.gnome.org/show_bug.cgi?id=795156
libs/gst/base/gstqueuearray.c