mirror of
https://github.com/mpv-player/mpv
synced 2025-04-24 20:29:53 +00:00
ao_pulse: set icon name
Will replace the generic XDG video icon inherited from media role.
This commit is contained in:
parent
6fcb34d887
commit
e6643abc98
@ -357,6 +357,8 @@ static int init(struct ao *ao)
|
|||||||
goto unlock_and_fail;
|
goto unlock_and_fail;
|
||||||
}
|
}
|
||||||
(void)pa_proplist_sets(proplist, PA_PROP_MEDIA_ROLE, "video");
|
(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,
|
if (!(priv->stream = pa_stream_new_with_proplist(priv->context,
|
||||||
"audio stream", &ss,
|
"audio stream", &ss,
|
||||||
|
Loading…
Reference in New Issue
Block a user