static void
gst_hls_demux_clear_pending_data (GstHLSDemux * hlsdemux)
{
- gst_hls_demux_decrypt_end (hlsdemux);
gst_adapter_clear (hlsdemux->pending_encrypted_data);
gst_buffer_replace (&hlsdemux->pending_decrypted_buffer, NULL);
gst_buffer_replace (&hlsdemux->pending_typefind_buffer, NULL);
if (flags & GST_SEEK_FLAG_FLUSH) {
#ifdef TIZEN_FEATURE_ADAPTIVE_MODIFICATION
gst_hls_demux_clear_pending_data (hlsdemux);
-#else
- gst_hls_demux_decrypt_end (hlsdemux);
#endif
+ gst_hls_demux_decrypt_end (hlsdemux);
}
/* Use I-frame variants for trick modes */
/* only 1 output supported */
#ifdef TIZEN_FEATURE_ADAPTIVE_MODIFICATION
gst_hls_demux_clear_pending_data (hlsdemux);
+ gst_hls_demux_decrypt_end (hlsdemux);
+
#endif
gst_adaptive_demux_stream_new (demux, gst_hls_demux_create_pad (hlsdemux));
g_free (demux->current_iv);
demux->current_iv = NULL;
}
-
gst_hls_demux_decrypt_end (demux);
}
#ifdef TIZEN_FEATURE_ADAPTIVE_MODIFICATION
/* update variant stream info */
- for (l = self->current_variant; l != NULL; l = l->next) {
+ for (l = self->lists; l != NULL; l = l->next) {
GstM3U8 *data = l->data;
GstM3U8VideoVariantInfo *var_info = g_new0(GstM3U8VideoVariantInfo, 1);