Re: looping from a push source
- From: "Tsviatko Jongov" <johngov@xxxxxxxxx>
- Date: 17 Nov 2006 04:06:58 -0800
If you want update the scrollbar of GraphEdit, and you want it to go to
the beginning on every loop - I think that the only thing that you can
do is Stop, Seek to 0 and Play. This will lead to black frames, but I
don't think there is another way. If you want to update a scrollbar of
your own application, you can do it easily by subtracting the media
duration from your graph position on every loop.
If someone can think of something better, it will be interesting to
here it.
The behaviour of the graph when the timestamps exceed the graph
duration depends on the curent renderers. Here you'll have to implement
IMediaPosition in you push source and on Get_Duration you must return
some big value - for instance 1 year. This will protect your graph from
stopping.
Regards,
Tsviatko Jongov
http://tsviatko.jongov.com
stewartb@xxxxxxxxx написа:
sorry, i mean while playback is going i need to update the scroll bar,
and if i dont reset the timestamp the values will just keep getting
bigger, or will the graph freak out since the timestamps will exceed
the duration or is the graph smart enuf to reset to zero... i guess ill
find out soon enough.
.
- References:
- looping from a push source
- From: stewartb@xxxxxxxxx
- Re: looping from a push source
- From: Tsviatko Jongov
- Re: looping from a push source
- From: stewartb@xxxxxxxxx
- Re: looping from a push source
- From: Geraint Davies
- Re: looping from a push source
- From: stewartb@xxxxxxxxx
- looping from a push source
- Prev by Date: Re: WM ASF Writer
- Next by Date: DirectKS application in video capture?
- Previous by thread: Re: looping from a push source
- Next by thread: Re: How to manage dwSampleFlags in source filter
- Index(es):
Relevant Pages
|