diff options
author | Thiago Santos <thiagoss@osg.samsung.com> | 2015-05-27 05:35:30 -0300 |
---|---|---|
committer | Thiago Santos <thiagoss@osg.samsung.com> | 2015-05-27 05:36:10 -0300 |
commit | 030700a24b38f423e5fee9f4476334cd3e1205c5 (patch) | |
tree | 3a87dbb6a834be78823fdf381d960c166e685473 /ext | |
parent | 2bb01f9601f3c592877a4a169091effef0cf6a8c (diff) | |
download | gstreamer-plugins-bad-030700a24b38f423e5fee9f4476334cd3e1205c5.tar.gz |
hlsdemux: remove unused attribute
It is never read for anything useful
Diffstat (limited to 'ext')
-rw-r--r-- | ext/hls/gsthlsdemux.c | 11 | ||||
-rw-r--r-- | ext/hls/gsthlsdemux.h | 1 |
2 files changed, 0 insertions, 12 deletions
diff --git a/ext/hls/gsthlsdemux.c b/ext/hls/gsthlsdemux.c index 85a9a91e4..2aa456b63 100644 --- a/ext/hls/gsthlsdemux.c +++ b/ext/hls/gsthlsdemux.c @@ -572,12 +572,6 @@ gst_hls_demux_handle_buffer (GstAdaptiveDemux * demux, GST_DEBUG_OBJECT (hlsdemux, "Typefind result: %" GST_PTR_FORMAT " prob:%d", caps, prob); - if (!hlsdemux->input_caps - || !gst_caps_is_equal (caps, hlsdemux->input_caps)) { - gst_caps_replace (&hlsdemux->input_caps, caps); - GST_INFO_OBJECT (demux, "Input source caps: %" GST_PTR_FORMAT, - hlsdemux->input_caps); - } gst_adaptive_demux_stream_set_caps (stream, caps); hlsdemux->do_typefind = FALSE; } @@ -782,11 +776,6 @@ gst_hls_demux_reset (GstAdaptiveDemux * ademux) g_object_unref (demux->key_fragment); demux->key_fragment = NULL; - if (demux->input_caps) { - gst_caps_unref (demux->input_caps); - demux->input_caps = NULL; - } - if (demux->client) { gst_m3u8_client_free (demux->client); demux->client = NULL; diff --git a/ext/hls/gsthlsdemux.h b/ext/hls/gsthlsdemux.h index 7acfead69..f14dbd5f9 100644 --- a/ext/hls/gsthlsdemux.h +++ b/ext/hls/gsthlsdemux.h @@ -66,7 +66,6 @@ struct _GstHLSDemux gint srcpad_counter; - GstCaps *input_caps; gchar *uri; /* Original playlist URI */ GstM3U8Client *client; /* M3U8 client */ gboolean do_typefind; /* Whether we need to typefind the next buffer */ |