diff options
author | Edward Hervey <edward@centricular.com> | 2018-03-12 13:38:07 +0100 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2018-03-12 13:48:18 +0100 |
commit | 247b22ae1a1e5a0b4e9f1cc820852a1888f2c4eb (patch) | |
tree | ddb6f2867c3feac718c983f66867a6b5726dd394 | |
parent | 886326bfa09b3db40977c495528e6158d34341ab (diff) |
playback: Remove subtitle-encoding property on uridecodebin3
For now, until we found a more future-proof solution
-rw-r--r-- | gst/playback/gsturidecodebin3.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/gst/playback/gsturidecodebin3.c b/gst/playback/gsturidecodebin3.c index f48d8a4ee..ce3dde013 100644 --- a/gst/playback/gsturidecodebin3.c +++ b/gst/playback/gsturidecodebin3.c @@ -267,7 +267,6 @@ static GstStaticCaps raw_video_caps = GST_STATIC_CAPS ("video/x-raw(ANY)"); #define DEFAULT_PROP_SOURCE NULL #define DEFAULT_CONNECTION_SPEED 0 #define DEFAULT_CAPS (gst_static_caps_get (&default_raw_caps)) -#define DEFAULT_SUBTITLE_ENCODING NULL #define DEFAULT_BUFFER_DURATION -1 #define DEFAULT_BUFFER_SIZE -1 #define DEFAULT_DOWNLOAD FALSE @@ -282,7 +281,6 @@ enum PROP_SUBURI, PROP_CURRENT_SUBURI, PROP_SOURCE, - PROP_SUBTITLE_ENCODING, PROP_CONNECTION_SPEED, PROP_BUFFER_SIZE, PROP_BUFFER_DURATION, @@ -389,14 +387,6 @@ gst_uri_decode_bin3_class_init (GstURIDecodeBin3Class * klass) g_param_spec_object ("source", "Source", "Source object used", GST_TYPE_ELEMENT, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)); - g_object_class_install_property (gobject_class, PROP_SUBTITLE_ENCODING, - g_param_spec_string ("subtitle-encoding", "subtitle encoding", - "Encoding to assume if input subtitles are not in UTF-8 encoding. " - "If not set, the GST_SUBTITLE_ENCODING environment variable will " - "be checked for an encoding to use. If that is not set either, " - "ISO-8859-15 will be assumed.", NULL, - G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - g_object_class_install_property (gobject_class, PROP_CONNECTION_SPEED, g_param_spec_uint64 ("connection-speed", "Connection Speed", "Network connection speed in kbps (0 = unknown)", @@ -811,10 +801,6 @@ gst_uri_decode_bin3_set_property (GObject * object, guint prop_id, g_free (dec->suburi); dec->suburi = g_value_dup_string (value); break; - case PROP_SUBTITLE_ENCODING: - g_object_set_property (G_OBJECT (dec->decodebin), "subtitle-encoding", - value); - break; case PROP_CONNECTION_SPEED: GST_URI_DECODE_BIN3_LOCK (dec); dec->connection_speed = g_value_get_uint64 (value) * 1000; @@ -884,10 +870,6 @@ gst_uri_decode_bin3_get_property (GObject * object, guint prop_id, GST_OBJECT_UNLOCK (dec); break; } - case PROP_SUBTITLE_ENCODING: - g_object_get_property (G_OBJECT (dec->decodebin), "subtitle-encoding", - value); - break; case PROP_CONNECTION_SPEED: GST_URI_DECODE_BIN3_LOCK (dec); g_value_set_uint64 (value, dec->connection_speed / 1000); |