decodebin2: Add a property to not expose/decode all streams
authorEdward Hervey <bilboed@bilboed.com>
Thu, 6 May 2010 16:50:51 +0000 (18:50 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Fri, 7 May 2010 15:38:38 +0000 (17:38 +0200)
commitac4188bd542eb22c31ec199de02a218107a150c8
treee576f963aa629476cdc0bdbdd9b0ff45d28f81dd
parente84b203de2ae74373d125e6eaa8e3384c6eacda4
decodebin2: Add a property to not expose/decode all streams

API : expose-all-streams

If disabled:
* only the streams that CAN be decoded and match the final caps will have a
  decoder plugged in and be exposed.
* the streams that COULD HAVE BEEN decoded but do not match the finals caps
  will not have a decoder plugged in and will not be exposed.

If no decoder is available to decode a certain stream, then the missing element
message will still be emitted regardless of the value of the property.

https://bugzilla.gnome.org/show_bug.cgi?id=617868
gst/playback/gstdecodebin2.c