From 1c0288db38da2fd2397be6da3044a1f4cab46446 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Fri, 12 Apr 2013 11:49:27 +0100 Subject: [PATCH] playbin: fix jpeg passthrough to decoder sinks by marking image/* as video stream --- gst/playback/gstplaybin2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/playback/gstplaybin2.c b/gst/playback/gstplaybin2.c index ad02c891f2..dbd037dd62 100644 --- a/gst/playback/gstplaybin2.c +++ b/gst/playback/gstplaybin2.c @@ -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/";