From: hoonhee.lee Date: Thu, 17 May 2018 04:54:35 +0000 (+0900) Subject: playbin3: Collect appropriate stream-type when doing stream selection X-Git-Tag: 1.19.3~511^2~1664 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=88196c36f1da3a955fdf74d967fa94d97cbb2164;p=platform%2Fupstream%2Fgstreamer.git playbin3: Collect appropriate stream-type when doing stream selection https://bugzilla.gnome.org/show_bug.cgi?id=796193 --- diff --git a/gst/playback/gstplaybin3.c b/gst/playback/gstplaybin3.c index edb77bd..027766b 100644 --- a/gst/playback/gstplaybin3.c +++ b/gst/playback/gstplaybin3.c @@ -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) ||