diff options
author | Edward Hervey <edward@centricular.com> | 2017-11-09 11:14:29 +0100 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2018-02-10 12:17:39 +0100 |
commit | 8386ea706f99b1e829a5bd8441ed3db4970443f9 (patch) | |
tree | 7e96e8e7e3abf8c7cfbc659d05923b2903dbe83e | |
parent | 7b8cfb9e53ab6a8719a3690dee970cec40b7569a (diff) |
playbin3: Remove setting 'subtitle-encoding' on decodebin
That property doesn't exist
-rw-r--r-- | gst/playback/gstplaybin3.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gst/playback/gstplaybin3.c b/gst/playback/gstplaybin3.c index cf53aea4f..0646fa081 100644 --- a/gst/playback/gstplaybin3.c +++ b/gst/playback/gstplaybin3.c @@ -1788,14 +1788,7 @@ gst_play_bin3_set_stream_combiner (GstPlayBin3 * playbin, GstElement ** elem, static void gst_play_bin3_set_encoding (GstPlayBin3 * playbin, const gchar * encoding) { - GstElement *elem; - GST_PLAY_BIN3_LOCK (playbin); - - /* set subtitles on decodebin. */ - if ((elem = playbin->decodebin)) - g_object_set (G_OBJECT (elem), "subtitle-encoding", encoding, NULL); - gst_play_sink_set_subtitle_encoding (playbin->playsink, encoding); GST_PLAY_BIN3_UNLOCK (playbin); } |