clapper-app: Show sink bin child name in info window

Sinks that are bin types often take another configurable sink through a property.
We want to show what was set there in info window too.
This commit is contained in:
Rafał Dzięgiel
2025-01-18 15:49:42 +01:00
parent e35d04a742
commit 4472d87f8b
2 changed files with 45 additions and 2 deletions

View File

@@ -181,7 +181,7 @@
<object class="ClapperAppPropertyRow">
<property name="title" translatable="yes">Sink</property>
<binding name="subtitle">
<closure type="gchararray" function="playback_element_name_closure">
<closure type="gchararray" function="playback_sink_closure">
<lookup name="video-sink" type="ClapperPlayer">
<lookup name="player">ClapperAppInfoWindow</lookup>
</lookup>
@@ -222,7 +222,7 @@
<object class="ClapperAppPropertyRow">
<property name="title" translatable="yes">Sink</property>
<binding name="subtitle">
<closure type="gchararray" function="playback_element_name_closure">
<closure type="gchararray" function="playback_sink_closure">
<lookup name="audio-sink" type="ClapperPlayer">
<lookup name="player">ClapperAppInfoWindow</lookup>
</lookup>