dynamic allocation for media sample?
- From: vikramster@xxxxxxxxx
- Date: 6 Nov 2006 04:31:00 -0800
Hi,
I have developed 2 direct show filters: source filter and transform
filter. However, I find the method CBaseOutputPin::DecideBufferSize
very restricting.
Do I have to tell the pin what is the maximum size of media sample
before connection is made?
Cann't I dynamically allocate memory in FillBuffer (for source filter)
or Transform (for transform filter) and then pass size of this
allocated buffer to downstream filter?
Thanks,
Vikram
.
- Follow-Ups:
- Re: dynamic allocation for media sample?
- From: Andy Champ
- Re: dynamic allocation for media sample?
- From: Geraint Davies
- Re: dynamic allocation for media sample?
- From: Iain
- Re: dynamic allocation for media sample?
- Prev by Date: Re: Getting a decoder inserted automatically by intelligent connect
- Next by Date: Re: DirectShow problems (hangs when calling IMediaSeek::Pause)
- Previous by thread: Getting a decoder inserted automatically by intelligent connect
- Next by thread: Re: dynamic allocation for media sample?
- Index(es):
Relevant Pages
|