diff options
author | Edward Hervey <bilboed@bilboed.com> | 2010-01-26 16:47:40 +0100 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2010-01-26 17:29:21 +0100 |
commit | c60f94da58a6bc3b61f991a3f9519fef1666bba6 (patch) | |
tree | fc2736aa707b11be533b7370caa94314cb75549c | |
parent | ed2e09133eb71c8187d509916f675ed1144f89e1 (diff) |
decodebin2: Don't skip an element when getting the topology
Fixes #608167
-rw-r--r-- | gst/playback/gstdecodebin2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/playback/gstdecodebin2.c b/gst/playback/gstdecodebin2.c index d85d7b71..ade6a24e 100644 --- a/gst/playback/gstdecodebin2.c +++ b/gst/playback/gstdecodebin2.c @@ -2865,7 +2865,7 @@ gst_decode_chain_get_topology (GstDecodeChain * chain) } /* Get caps between all elements in this chain */ - l = (chain->elements && chain->elements->next) ? chain->elements->next : NULL; + l = (chain->elements && chain->elements->next) ? chain->elements : NULL; for (; l && l->next; l = l->next) { GstCaps *caps = _gst_element_get_linked_caps (l->next->data, l->data); |