Commit 1aca0772 authored by Ilkka Ollakka's avatar Ilkka Ollakka

Copy meta when doing input_item_Copy

This enables to keep eg. channel names from dvb playlist when
copying them to medialibrary or inside playlist tree.
parent 6f42766e
...@@ -898,6 +898,9 @@ input_item_t *input_item_Copy( vlc_object_t *p_obj, input_item_t *p_input ) ...@@ -898,6 +898,9 @@ input_item_t *input_item_Copy( vlc_object_t *p_obj, input_item_t *p_input )
} }
} }
p_new_input->p_meta = vlc_meta_New();
vlc_meta_Merge( p_new_input->p_meta, p_input->p_meta );
vlc_mutex_unlock( &p_input->lock ); vlc_mutex_unlock( &p_input->lock );
return p_new_input; return p_new_input;
......
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