queue2: Avoid re-checking many times whether an item is a buffer
authorEdward Hervey <bilboed@bilboed.com>
Tue, 19 Oct 2010 15:45:16 +0000 (17:45 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Thu, 2 Dec 2010 18:04:56 +0000 (19:04 +0100)
commit66bba2a49e2a4fe9152aa4c42f6b76d54276ac78
treea3c8cea9fce67e7a13bedbaa8297a6e2a47db0f1
parent080c965f4f749d6f67b3e9c49f09d0a683fbb0a2
queue2: Avoid re-checking many times whether an item is a buffer

Avoids calling 6 times gst_buffer_get_type() for every item coming
through queue2
plugins/elements/gstqueue2.c