mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
playbin: fix jpeg passthrough to decoder sinks by marking image/* as video stream
This commit is contained in:
parent
4ff3972aa7
commit
1c0288db38
1 changed files with 1 additions and 0 deletions
|
@ -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/";
|
||||
|
|
Loading…
Reference in a new issue