clapper-gtk: Add video placeholder widget

A simple placeholder to be shown when "ClapperGtkVideo" is used with a video
sink that cannot be embedded in it (with a text explaining that).
This commit is contained in:
Rafał Dzięgiel
2024-05-19 17:02:14 +02:00
parent 93b1be3147
commit a91ce5b0ab
8 changed files with 243 additions and 6 deletions

View File

@@ -25,15 +25,21 @@ clapper-gtk-video clapper-gtk-status.osd {
background-color: transparent;
}
clapper-gtk-status box {
clapper-gtk-video-placeholder {
background-color: black;
}
clapper-gtk-status box,
clapper-gtk-video-placeholder box {
padding-left: 6px;
padding-right: 6px;
}
clapper-gtk-status box image {
clapper-gtk-status box image,
clapper-gtk-video-placeholder box image {
-gtk-icon-size: 128px;
-gtk-icon-filter: opacity(0.6);
}
clapper-gtk-status.adapted box image {
clapper-gtk-status.adapted box image,
clapper-gtk-video-placeholder.adapted box image {
-gtk-icon-size: 96px;
}