playbin: fix jpeg passthrough to decoder sinks by marking image/* as video stream

This commit is contained in:
Tim-Philipp Müller 2013-04-12 11:49:27 +01:00
parent 4ff3972aa7
commit 1c0288db38

View file

@ -1216,6 +1216,7 @@ init_group (GstPlayBin * playbin, GstSourceGroup * group)
group->selector[PLAYBIN_STREAM_AUDIO].type = GST_PLAY_SINK_TYPE_AUDIO;
group->selector[PLAYBIN_STREAM_AUDIO].channels = group->audio_channels;
group->selector[PLAYBIN_STREAM_VIDEO].media_list[0] = "video/";
group->selector[PLAYBIN_STREAM_VIDEO].media_list[1] = "image/";
group->selector[PLAYBIN_STREAM_VIDEO].type = GST_PLAY_SINK_TYPE_VIDEO;
group->selector[PLAYBIN_STREAM_VIDEO].channels = group->video_channels;
group->selector[PLAYBIN_STREAM_TEXT].media_list[0] = "text/";