mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 03:29:50 +00:00
Revert "decodebin2: Try harder to get initial topology caps"
This reverts commit 6b3e3544d4
.
I really shouldn't put WIP commits in my main branch ...
This commit is contained in:
parent
1863308a8e
commit
f5f781e8fb
1 changed files with 0 additions and 8 deletions
|
@ -3512,14 +3512,6 @@ gst_decode_chain_get_topology (GstDecodeChain * chain)
|
||||||
|
|
||||||
/* Caps that resulted in this chain */
|
/* Caps that resulted in this chain */
|
||||||
caps = gst_pad_get_current_caps (chain->pad);
|
caps = gst_pad_get_current_caps (chain->pad);
|
||||||
|
|
||||||
if (!caps) {
|
|
||||||
/* Try querying the peer sink pad caps.
|
|
||||||
* This will most likely be the case with typefind:src
|
|
||||||
*/
|
|
||||||
caps = gst_pad_peer_query_caps (chain->pad, NULL);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!caps) {
|
if (!caps) {
|
||||||
caps = get_pad_caps (chain->pad);
|
caps = get_pad_caps (chain->pad);
|
||||||
if (G_UNLIKELY (!gst_caps_is_fixed (caps))) {
|
if (G_UNLIKELY (!gst_caps_is_fixed (caps))) {
|
||||||
|
|
Loading…
Reference in a new issue