queue2: not update upstream size with negative value
authorEunhae Choi <eunhae1.choi@samsung.com>
Tue, 4 Aug 2015 04:45:09 +0000 (13:45 +0900)
committerThiago Santos <thiagoss@osg.samsung.com>
Tue, 4 Aug 2015 10:03:24 +0000 (07:03 -0300)
commited7e0e744fa3190224a0e9525d80dd33e7d9283e
tree5ce8111ed00c9b50ff8643c508299201889bb85b
parentfa370153bc094335eeeed7febeb1d454c8772a4a
queue2: not update upstream size with negative value

upstream_size can be negative but queue->upstream_size is unsigned type.
to get a chance to update queue->upstream_size in gst_queue2_get_range()
it should keep the default value.

https://bugzilla.gnome.org/show_bug.cgi?id=753011
plugins/elements/gstqueue2.c