mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
decodebin2: Don't skip an element when getting the topology
Fixes #608167
This commit is contained in:
parent
ed2e09133e
commit
c60f94da58
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue