decodebin2: Return NULL from the default autoplug-sort handler
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 18 Feb 2011 11:01:05 +0000 (12:01 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 18 Feb 2011 11:01:05 +0000 (12:01 +0100)
commit2a6602d994268b77e7135d28ff9d5b04c23aafb0
treeb4f76102fc13cbb0a75c6057973f4bdea360e803
parentda4b5bf9f9cfa06241c8f85a8b5e1f7f2c67aac3
decodebin2: Return NULL from the default autoplug-sort handler

...instead of copying the array. Returning NULL will result
in the original factories array to be used and prevents a useless
array copy in most use cases.
gst/playback/gstdecodebin2.c