mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
hlsdemux: remove unused attribute
It is never read for anything useful
This commit is contained in:
parent
2bb01f9601
commit
030700a24b
2 changed files with 0 additions and 12 deletions
|
@ -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;
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue