Re: How to pause/resume playing from within my source filter?
- From: Greg <greg@xxxxxxx>
- Date: Fri, 06 Jul 2007 13:41:51 -0400
If you have a network source filter, you can use this mechanism to
prevent the graph going from pause to run until you are ready. Return
VFW_S_STATE_INTERMEDIATE until you have enough data (observing the
timeout param in this case). You will then have to deliver some data
for the graph to cue correctly.
I've been reading this over and doing some other looking around, but still scratching my head a bit on this.
I think I may have originally mis-stated my situation. In my original post I said that I had a streaming source filter, but it's really more like a streaming capture filter. I derive from CSource, and data is pushed to my filter from a live capture server. Currently, I am using Pause/Run in my filter to tell the server to start/stop sending me capture data, so that if the user pauses the stream, I am not chewing up bandwidth with data that I would just throw away. Seems like I would somehow need to know the difference between a graph mandated pause, and a user one.
Not sure if your previous information still applies.
.
- Follow-Ups:
- Re: How to pause/resume playing from within my source filter?
- From: Geraint Davies
- Re: How to pause/resume playing from within my source filter?
- References:
- How to pause/resume playing from within my source filter?
- From: AvitalBY
- Re: How to pause/resume playing from within my source filter?
- From: Geraint Davies
- Re: How to pause/resume playing from within my source filter?
- From: Greg
- Re: How to pause/resume playing from within my source filter?
- From: Geraint Davies
- How to pause/resume playing from within my source filter?
- Prev by Date: Re: ISampleGrabber not updating
- Next by Date: Re: problem with setting up custom VMR9 allocator presenter
- Previous by thread: Re: How to pause/resume playing from within my source filter?
- Next by thread: Re: How to pause/resume playing from within my source filter?
- Index(es):
Relevant Pages
|
Loading