From 8386ea706f99b1e829a5bd8441ed3db4970443f9 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Thu, 9 Nov 2017 11:14:29 +0100 Subject: [PATCH] playbin3: Remove setting 'subtitle-encoding' on decodebin That property doesn't exist --- gst/playback/gstplaybin3.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/gst/playback/gstplaybin3.c b/gst/playback/gstplaybin3.c index cf53aea4fa..0646fa0810 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); }