summaryrefslogtreecommitdiff
path: root/gst-libs
diff options
context:
space:
mode:
authorPhilippe Normand <philn@igalia.com>2018-01-07 14:45:37 +0000
committerPhilippe Normand <philn@igalia.com>2018-01-07 17:03:10 +0000
commit0c14a92c28744449cd32f6f2a34e956f2fad2a0d (patch)
treee981636ab755ed52bcc6e2cf6ed481443010d510 /gst-libs
parentb5ff71fc3cbdf7ca868b3a3379dd39da436c6473 (diff)
player: doc update for set_subtitle_uri()
A call to this function without enabling the subtitle track has no effect.
Diffstat (limited to 'gst-libs')
-rw-r--r--gst-libs/gst/player/gstplayer.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gst-libs/gst/player/gstplayer.c b/gst-libs/gst/player/gstplayer.c
index 2b324267c..8dac3e9f8 100644
--- a/gst-libs/gst/player/gstplayer.c
+++ b/gst-libs/gst/player/gstplayer.c
@@ -3503,7 +3503,9 @@ gst_player_set_uri (GstPlayer * self, const gchar * val)
* @player: #GstPlayer instance
* @uri: subtitle URI
*
- * Sets the external subtitle URI.
+ * Sets the external subtitle URI. This should be combined with a call to
+ * gst_player_set_subtitle_track_enabled(@player, TRUE) so the subtitles are actually
+ * rendered.
*/
void
gst_player_set_subtitle_uri (GstPlayer * self, const gchar * suburi)