ao_pulse: set icon name

Will replace the generic XDG video icon inherited from media role.
This commit is contained in:
atomnuker 2014-07-04 17:59:27 +01:00 committed by wm4
parent 6fcb34d887
commit e6643abc98
1 changed files with 2 additions and 0 deletions

View File

@ -357,6 +357,8 @@ static int init(struct ao *ao)
goto unlock_and_fail;
}
(void)pa_proplist_sets(proplist, PA_PROP_MEDIA_ROLE, "video");
(void)pa_proplist_sets(proplist, PA_PROP_MEDIA_ICON_NAME,
PULSE_CLIENT_NAME);
if (!(priv->stream = pa_stream_new_with_proplist(priv->context,
"audio stream", &ss,