I need to play two videos (picture in picture) on top of the linux desktop. In addition to this have an overlay using the drmrenderer class that should always remain on top of everything else.
How can I control which nvdrmvideosink is drawn on top of the other? I need to change this dynamically while video is playing. I.e. change which of the video is the picture-in-picture.
How can I use drmrenderer class together with drmvideosink such that the overlay used by drmrenderer is always on top of all the other overlays?