diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2014-02-23 11:01:57 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2014-02-23 11:01:57 +0100 |
commit | 090bf9197437915fcb6037bb389d126eee17585a (patch) | |
tree | 0e57b2ce3dcf68c497e94620558c043f5e6161a3 /ext/hls/gsthlsdemux.c | |
parent | 7f591f9c7e3e2e8304b74a2086b7d91509514dff (diff) | |
download | gstreamer-plugins-bad-090bf9197437915fcb6037bb389d126eee17585a.tar.gz |
hlsdemux: Deprecate fragments-cache property
The buffering/caching is handling completely different now and
outside of hlsdemux.
Diffstat (limited to 'ext/hls/gsthlsdemux.c')
-rw-r--r-- | ext/hls/gsthlsdemux.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/ext/hls/gsthlsdemux.c b/ext/hls/gsthlsdemux.c index fbf1f7496..2563e3aeb 100644 --- a/ext/hls/gsthlsdemux.c +++ b/ext/hls/gsthlsdemux.c @@ -163,7 +163,8 @@ gst_hls_demux_class_init (GstHLSDemuxClass * klass) g_object_class_install_property (gobject_class, PROP_FRAGMENTS_CACHE, g_param_spec_uint ("fragments-cache", "Fragments cache", - "Number of fragments needed to be cached to start playing", + "Number of fragments needed to be cached to start playing " + "(DEPRECATED: Has no effect since 1.3.1)", 1, G_MAXUINT, DEFAULT_FRAGMENTS_CACHE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); @@ -216,7 +217,6 @@ gst_hls_demux_init (GstHLSDemux * demux) demux->do_typefind = TRUE; /* Properties */ - demux->fragments_cache = DEFAULT_FRAGMENTS_CACHE; demux->bitrate_limit = DEFAULT_BITRATE_LIMIT; demux->connection_speed = DEFAULT_CONNECTION_SPEED; @@ -248,7 +248,6 @@ gst_hls_demux_set_property (GObject * object, guint prop_id, switch (prop_id) { case PROP_FRAGMENTS_CACHE: - demux->fragments_cache = g_value_get_uint (value); break; case PROP_BITRATE_LIMIT: demux->bitrate_limit = g_value_get_float (value); @@ -270,7 +269,7 @@ gst_hls_demux_get_property (GObject * object, guint prop_id, GValue * value, switch (prop_id) { case PROP_FRAGMENTS_CACHE: - g_value_set_uint (value, demux->fragments_cache); + g_value_set_uint (value, 1); break; case PROP_BITRATE_LIMIT: g_value_set_float (value, demux->bitrate_limit); |