gtksink and gtkglsink issue

Russel Winder russel at winder.org.uk
Mon Jun 1 10:32:10 UTC 2020


Hi,

Me TV uses either a gtksink or a gtkglsink (in a playbin) as the final sink
for the video/x-raw stream. It seems that when the stream stops, the
gtk::DrawingArea or gtk::GLArea retain the last frame. This is fine if the
stream restarts as the new stream quickly changes the image. However not all
channels have video streams, some are audio only. In this case that last frame
of the old channel is retained.

Is there an easy way of clearing the image?

Once I get the MPEG-TS stuff working, I will need to write the radio station
data to the GTK display area as a real television does. I guess this will mean
writing to the DrawingArea/GLArea directly as the gtksink and gtkglsink
elements seem only to have video/x-raw pads.
 
-- 
Russel.
===========================================
Dr Russel Winder      t: +44 20 7585 2200
41 Buckmaster Road    m: +44 7770 465 077
London SW11 1EN, UK   w: www.russel.org.uk

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200601/dccae6cf/attachment.sig>


More information about the gstreamer-devel mailing list