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

dbus: remove useless intf_sys_t.b_unique

parent 418038f1
...@@ -179,8 +179,7 @@ static int Open( vlc_object_t *p_this ) ...@@ -179,8 +179,7 @@ static int Open( vlc_object_t *p_this )
} }
char psz_service_name[sizeof(DBUS_MPRIS_BUS_NAME) + 12]; char psz_service_name[sizeof(DBUS_MPRIS_BUS_NAME) + 12];
p_sys->b_unique = var_CreateGetBool( p_intf, "dbus-unique-service-id" ); if( var_InheritBool( p_intf, "dbus-unique-service-id" ) )
if( p_sys->b_unique )
snprintf( psz_service_name, sizeof( psz_service_name ), snprintf( psz_service_name, sizeof( psz_service_name ),
DBUS_MPRIS_BUS_NAME"-%d", getpid() ); DBUS_MPRIS_BUS_NAME"-%d", getpid() );
else else
......
...@@ -103,7 +103,6 @@ struct intf_sys_t ...@@ -103,7 +103,6 @@ struct intf_sys_t
input_thread_t *p_input; input_thread_t *p_input;
mtime_t i_last_input_pos; /* Only access it from the input thread */ mtime_t i_last_input_pos; /* Only access it from the input thread */
mtime_t i_last_input_pos_event; /* idem */ mtime_t i_last_input_pos_event; /* idem */
bool b_unique;
}; };
enum enum
......
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