mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
playbin3: Remove setting 'subtitle-encoding' on decodebin
That property doesn't exist
This commit is contained in:
parent
7b8cfb9e53
commit
8386ea706f
1 changed files with 0 additions and 7 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue