mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
playbin3: Collect appropriate stream-type when doing stream selection
https://bugzilla.gnome.org/show_bug.cgi?id=796193
This commit is contained in:
parent
8583f17e62
commit
88196c36f1
1 changed files with 1 additions and 1 deletions
|
@ -2360,7 +2360,7 @@ do_stream_selection (GstPlayBin3 * playbin, GstSourceGroup * group)
|
|||
playbin->audio_stream_combiner != NULL);
|
||||
nb_audio++;
|
||||
} else if (stream_type & GST_STREAM_TYPE_VIDEO) {
|
||||
pb_stream_type = PLAYBIN_STREAM_AUDIO;
|
||||
pb_stream_type = PLAYBIN_STREAM_VIDEO;
|
||||
select_this =
|
||||
(nb_video == playbin->current_video ||
|
||||
(playbin->current_video == -1 && nb_video == 0) ||
|
||||
|
|
Loading…
Reference in a new issue