[gst-devel] How to temporarily disable drawing in the directdrawsink?

Andoni Morales ylatuya at gmail.com
Tue Aug 3 23:16:32 CEST 2010


2010/8/3 Hoyt, David <hoyt6 at llnl.gov>:
> It's entirely possible if there was a bug in directdrawsink that caused incoming frames to be discarded or not drawn. I'm not sure about directdraw, but in direct3d if you've lost the d3d device object (due to another app going to fullscreen, a UAC prompt, etc.), then incoming frames won't be drawn until you reset the device and redraw. Directdraw may have something similar.
>
> When do you notice this happening? And can you reproduce it reliably and consistently?

I think he his asking "how", and not "why" :P

The approach might vary depending on the pipeline you are using, but
usually setting the element to the paused state, locking its state and
unplugging it will do the job.

Andoni
>
> Just FYI -- the direct3d video sink in the ossbuild repo. correctly handles these scenarios.
>
> -----Original Message-----
> From: wl2776 [mailto:wl2776 at gmail.com]
> Sent: Tuesday, August 03, 2010 5:05 AM
> To: gstreamer-devel at lists.sourceforge.net
> Subject: [gst-devel] How to temporarily disable drawing in the directdrawsink?
>
>
> Is it possible to have a frozen frame on the screen, while the pipeline is
> playing?
>
> I am using playbin2 and directdrawsink as the video sink.
> --
> View this message in context: http://*gstreamer-devel.966125.n4.nabble.com/How-to-temporarily-disable-drawing-in-the-directdrawsink-tp2311736p2311736.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> The Palm PDK Hot Apps Program offers developers who use the
> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
> of $1 Million in cash or HP Products. Visit us here for more details:
> http://*p.sf.net/sfu/dev2dev-palm
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://*lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
> ------------------------------------------------------------------------------
> The Palm PDK Hot Apps Program offers developers who use the
> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
> of $1 Million in cash or HP Products. Visit us here for more details:
> http://p.sf.net/sfu/dev2dev-palm
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>



-- 
Andoni Morales Alastruey

LongoMatch:The Digital Coach
http://www.longomatch.ylatuya.es




More information about the gstreamer-devel mailing list