diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2013-04-12 11:49:27 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2013-04-13 14:02:26 +0100 |
commit | 1454914a2b1b94d433a4075e433b4111a280a322 (patch) | |
tree | ecb56150de49d29f90b1465d7e602f3a6494a408 | |
parent | 7081db9b9be3cb82825e639a725ac30236f65e2d (diff) |
playbin: fix jpeg passthrough to decoder sinks by marking image/* as video stream
-rw-r--r-- | gst/playback/gstplaybin2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/playback/gstplaybin2.c b/gst/playback/gstplaybin2.c index 2fccfd58c..bef9e9af7 100644 --- a/gst/playback/gstplaybin2.c +++ b/gst/playback/gstplaybin2.c @@ -1212,6 +1212,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/"; |