Commit edd9673a authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

meta reader: Add the input_item that we are reading in the structure.

parent a36325f8
......@@ -82,6 +82,8 @@ typedef struct demux_meta_t
{
VLC_COMMON_MEMBERS
demux_t *p_demux; /** FIXME: use stream_t instead? */
input_item_t *p_item; /***< the input item that is being read */
vlc_meta_t *p_meta; /**< meta data */
int i_attachments; /**< number of attachments */
......
......@@ -2767,6 +2767,7 @@ static void InputSourceMeta( input_thread_t *p_input,
if( !p_demux_meta )
return;
p_demux_meta->p_demux = p_demux;
p_demux_meta->p_item = p_input->p->p_item;
module_t *p_id3 = module_need( p_demux_meta, "meta reader", NULL, false );
if( p_id3 )
......
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