Commit eb52ecee authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

input item: remove b_fixed name, always false

parent 9f507dec
......@@ -86,7 +86,6 @@ struct input_item_t
vlc_mutex_t lock; /**< Lock for the item */
uint8_t i_type; /**< Type (file, disc, ... see input_item_type_e) */
bool b_fixed_name; /**< Can the interface change the name ?*/
bool b_error_when_reading;/**< Error When Reading */
};
......
......@@ -1355,7 +1355,7 @@ static void EsOutMeta( es_out_t *p_out, const vlc_meta_t *p_meta )
vlc_mutex_lock( &p_item->lock );
if( vlc_meta_Get( p_meta, vlc_meta_Title ) && !p_item->b_fixed_name )
if( vlc_meta_Get( p_meta, vlc_meta_Title ) )
psz_title = strdup( vlc_meta_Get( p_meta, vlc_meta_Title ) );
vlc_meta_Merge( p_item->p_meta, p_meta );
......
......@@ -867,7 +867,6 @@ input_item_NewWithType( const char *psz_uri, const char *psz_name,
if( type != ITEM_TYPE_UNKNOWN )
p_input->i_type = type;
p_input->b_fixed_name = false;
p_input->b_error_when_reading = false;
return p_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