[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gstreamer-devel
Subject:    blank the screen at will
From:       Gary Metalle <Gary.Metalle () rvl ! co ! uk>
Date:       2020-10-29 12:56:45
Message-ID: 1603976204516.76078 () rvl ! co ! uk
[Download RAW message or body]

Hi


Is it possible to easily blank the screen at will? i.e. send something to a sink to \
stop it displaying the last frame it had?


I have two use cases for this:


1. For a VOIP application at the end of a video call (or if the call is placed on \
hold) the last frame of the video remains on the LCD indefinitely. I tend to use \
sync=false on my sink btw. I would like to blank the screen after the video has \
finished.


2. When I don't have anything better to display on the screen, I display the current \
time using the clockoverlay. I pause this pipeline when I want to display video from \
a call but again, this still displays the last frame until the video appears and \
overwrites the display.


I am using an imx6 platform which has some custom Freescale sinks using the GPU and \
they generally have a 'clear-at-null' property which will blank the screen when the \
pipeline goes NULL. This is good when the application shuts down, but I don't \
generally set my pipeline states to NULL but to PAUSED.


Regards.

Gary.


[Attachment #3 (text/html)]

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: \
0px; }--></style> </head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
 <p>Hi<br>
</p>
<p><br>
</p>
<p>Is it possible to easily blank the screen at will? i.e.&nbsp;send something to a \
sink to stop it displaying the last frame it had?<br> </p>
<p><br>
</p>
<p>I have two use cases for this:<br>
</p>
<p><br>
</p>
<p>1. For a VOIP application at the end of a video call (or if the call is placed on \
hold) the last frame of the video remains on the LCD indefinitely. I tend to use \
sync=false on my sink btw. I would like to blank the screen after the video has \
finished.<br> </p>
<p><br>
</p>
<p>2. When I don't have anything better to display on the screen, I display the \
current time using the clockoverlay. I pause this pipeline when I want to display \
video from a call but again, this still displays the last frame until the video \
appears and overwrites  the display.<br>
</p>
<p><br>
</p>
<p>I am using an imx6 platform which has some custom Freescale sinks using the GPU \
and they generally have a 'clear-at-null' property which will blank the screen when \
the pipeline goes NULL. This is good when the application shuts down, but I don't \
generally  set my pipeline states to NULL but to PAUSED.&nbsp;<br>
</p>
<p><br>
</p>
<p>Regards.<br>
</p>
<p><br>
Gary.<br>
</p>
</body>
</html>



_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

--===============1550582596==--

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic