1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-26 09:02:38 +00:00

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

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,