Commit aa8051f4 authored by Thomas Guillem's avatar Thomas Guillem

input: don't update codec specific data

parent ac76000c
......@@ -2943,6 +2943,11 @@ static void EsOutUpdateInfo( es_out_t *out, es_out_id_t *es, const es_format_t *
update.i_extra_languages = es->fmt.i_extra_languages;
update.p_extra_languages = es->fmt.p_extra_languages;
}
/* No need to update codec specific data */
update.i_extra = 0;
update.p_extra = NULL;
input_item_UpdateTracksInfo(input_GetItem(p_input), &update);
}
......
......@@ -1346,8 +1346,6 @@ void input_item_UpdateTracksInfo(input_item_t *item, const es_format_t *fmt)
return;
es_format_Copy(fmt_copy, fmt);
/* XXX: we could free p_extra to save memory, we will likely not need
* the decoder specific data */
vlc_mutex_lock( &item->lock );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment