Commit c60f94da authored by Edward Hervey's avatar Edward Hervey
Browse files

decodebin2: Don't skip an element when getting the topology

Fixes #608167
parent ed2e0913
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment