mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
decodebin2: Actually iterate over the factories instead of only taking the first one
This commit is contained in:
parent
81c9459771
commit
de4fc848fa
1 changed files with 1 additions and 1 deletions
|
@ -1477,7 +1477,7 @@ analyze_new_pad (GstDecodeBin * dbin, GstElement * src, GstPad * pad,
|
||||||
|
|
||||||
for (i = 0; i < factories->n_values && !dontuse; i++) {
|
for (i = 0; i < factories->n_values && !dontuse; i++) {
|
||||||
GstElementFactory *factory =
|
GstElementFactory *factory =
|
||||||
g_value_get_object (g_value_array_get_nth (factories, 0));
|
g_value_get_object (g_value_array_get_nth (factories, i));
|
||||||
GstCaps *tcaps;
|
GstCaps *tcaps;
|
||||||
|
|
||||||
/* We are only interested in skipping decoders */
|
/* We are only interested in skipping decoders */
|
||||||
|
|
Loading…
Reference in a new issue