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

input: Remove a tautology in input_item_SetPreparsed.

parent 7aca2b19
...@@ -242,7 +242,7 @@ static inline void input_item_SetPreparsed( input_item_t *p_i, bool preparsed ) ...@@ -242,7 +242,7 @@ static inline void input_item_SetPreparsed( input_item_t *p_i, bool preparsed )
new_status = p_i->p_meta->i_status | ITEM_PREPARSED; new_status = p_i->p_meta->i_status | ITEM_PREPARSED;
else else
new_status = p_i->p_meta->i_status & ~ITEM_PREPARSED; new_status = p_i->p_meta->i_status & ~ITEM_PREPARSED;
if ( p_i->p_meta->i_status != new_status ) if( p_i->p_meta->i_status != new_status )
{ {
p_i->p_meta->i_status = new_status; p_i->p_meta->i_status = new_status;
send_event = true; send_event = true;
...@@ -250,7 +250,7 @@ static inline void input_item_SetPreparsed( input_item_t *p_i, bool preparsed ) ...@@ -250,7 +250,7 @@ static inline void input_item_SetPreparsed( input_item_t *p_i, bool preparsed )
vlc_mutex_unlock( &p_i->lock ); vlc_mutex_unlock( &p_i->lock );
if ( send_event == true ) if( send_event )
{ {
vlc_event_t event; vlc_event_t event;
event.type = vlc_InputItemPreparsedChanged; event.type = vlc_InputItemPreparsedChanged;
......
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