Closed egisz closed 3 years ago
I did minor change in code and now player is displayed in front of background image. So it is doable :)
pi@CRANKSHAFT-NG:~/dmxwebcam $ git diff
diff --git a/dmxwebcam.c b/dmxwebcam.c
index c4b5c64..38cea1b 100644
--- a/dmxwebcam.c
+++ b/dmxwebcam.c
@@ -649,7 +649,7 @@ main(
//---------------------------------------------------------------------
BACKGROUND_LAYER_T bg;
- initBackgroundLayer(&bg, 0x000F, 0);
+ initBackgroundLayer(&bg, 0x000F, 4);
//---------------------------------------------------------------------
@@ -740,7 +740,7 @@ main(
exitAndRemovePidFile(EXIT_FAILURE, pfh);
}
- createResourceImageLayer(&imageLayer, 1);
+ createResourceImageLayer(&imageLayer, 5);
//---------------------------------------------------------------------
I try to use your project together with Crankshaft project (OpenAuto) I face problem that when Android Auto starts, dmxwebcam image is not displayed, I believe it is hidden under Android auto. Is it possible to set higer layer? Possibly additional parameter? Similar to omxplayer parameter --layer n
--layer n Set video render layer number (higher numbers are on top)