decodebin2: Improve detection of raw caps in expose-all-streams=false mode
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Sat, 26 Feb 2011 22:20:42 +0000 (23:20 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Sat, 26 Feb 2011 22:24:11 +0000 (23:24 +0100)
commit32c30b88ff2bf94aed04dbfc540502b2b987b073
tree98d936e94832e1f700ee8d082722fc466b81f959
parent1265a421246a7b33af39197808e2aeafd0033e83
decodebin2: Improve detection of raw caps in expose-all-streams=false mode

Previously we only checked against the raw caps but we should also
check against the return value of autoplug-continue. Additionally fix
a thread-safety issue with accessing the raw caps.
gst/playback/gstdecodebin2.c