[gst-devel] Direct Show video sink expose event support

Andoni Morales ylatuya at gmail.com
Thu Apr 23 21:02:32 CEST 2009


2009/4/22 Michael Smith <msmith at xiph.org>:
> On Wed, Apr 22, 2009 at 3:38 AM, Andoni Morales <ylatuya at gmail.com> wrote:
>> hi,
>>
>> I'm trying to add frame stepping support to my video player and I'm
>> having some troubles on Windows using the directshowvideosink.
>>
>> On linux, even with the pipeline in paused state, when I seek to the
>> next frame, this one is drawn without even calling the
>> gst_x_overlay_expose() method.
>>
>> Instead on Windows I need to set the the pipeline into playing state
>> before sending the seek event and then reset the pipeline to paused
>> state to get the next frame displayed, which doesn't always work  as
>> some times the seek is done before returning to the paused state.
>>
>> Why, using the Direct Show video sink, the current frame isn't not
>> drawn when the pipeline is in paused state?
>
> I guess it's a bug - please report it in bugzilla.

I have switched to "glimagesink", and it solves the problem!
It also reduces considerably the CPU usage,from 7% playing an mpeg2
encoded video, to almost 0%...
Is it stable enough to use for  production purpose?

Andoni


>
> Mike
>
> ------------------------------------------------------------------------------
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>




More information about the gstreamer-devel mailing list