diff --git a/gst/playback/gstplaybin2.c b/gst/playback/gstplaybin2.c index 77916bed84..9476299f3f 100644 --- a/gst/playback/gstplaybin2.c +++ b/gst/playback/gstplaybin2.c @@ -2108,6 +2108,10 @@ no_more_pads_cb (GstElement * decodebin, GstSourceGroup * group) gst_play_sink_set_sink (playbin->playsink, GST_PLAY_SINK_TYPE_VIDEO, playbin->video_sink); } + gst_play_sink_set_sink (playbin->playsink, GST_PLAY_SINK_TYPE_TEXT, + playbin->text_sink); + gst_play_sink_set_sink (playbin->playsink, GST_PLAY_SINK_TYPE_SUBPIC, + playbin->subpic_sink); GST_SOURCE_GROUP_UNLOCK (group); GST_LOG_OBJECT (playbin, "reconfigure sink"); diff --git a/gst/playback/gstplaysink.h b/gst/playback/gstplaysink.h index 599e87df9f..fd3cabde3c 100644 --- a/gst/playback/gstplaysink.h +++ b/gst/playback/gstplaysink.h @@ -46,6 +46,7 @@ G_BEGIN_DECLS * @GST_PLAY_SINK_TYPE_VIDEO: a non-raw video pad * @GST_PLAY_SINK_TYPE_VIDEO_RAW: a raw video pad * @GST_PLAY_SINK_TYPE_TEXT: a raw text pad + * @GST_PLAY_SINK_TYPE_SUBPIC: a subpicture pad * @GST_PLAY_SINK_TYPE_LAST: the last type * @GST_PLAY_SINK_TYPE_FLUSHING: a flushing pad, used when shutting down *