Click here to Skip to main content
15,900,973 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Question[Message Deleted] Pin
ddmcr27-Mar-06 2:00
ddmcr27-Mar-06 2:00 
AnswerRe: Allocating memory on the heap - limitations Pin
David Crow27-Mar-06 4:46
David Crow27-Mar-06 4:46 
AnswerRe: Allocating memory on the heap - limitations Pin
Shoaib Patel27-Mar-06 19:50
Shoaib Patel27-Mar-06 19:50 
GeneralRe: Allocating memory on the heap - limitations Pin
ThatsAlok27-Mar-06 23:15
ThatsAlok27-Mar-06 23:15 
QuestionAbout DirectX Video Capture Pin
crazymubashir27-Mar-06 1:48
crazymubashir27-Mar-06 1:48 
AnswerRe: About DirectX Video Capture Pin
Justin Tay27-Mar-06 1:58
Justin Tay27-Mar-06 1:58 
QuestionRe: About DirectX Video Capture Pin
crazymubashir27-Mar-06 2:46
crazymubashir27-Mar-06 2:46 
AnswerRe: About DirectX Video Capture Pin
Justin Tay27-Mar-06 3:04
Justin Tay27-Mar-06 3:04 
I have taken the trouble to look at the sample. Did you add your capture code after

<br />
hr = g_pCapture->RenderStream (&PIN_CATEGORY_PREVIEW, &MEDIATYPE_Video, pSrcFilter, NULL, NULL)<br />


?

Or did you modify it into your capture code?

If you render a video stream with the destination as NULL, it will render it to the default video renderer (The old video renderer usually, and VMR7 in non-mixing mode on Windows XP).

edit:

That said, if you want to do both capturing to disk and previewing to the screen, always render the preview pin first. That way in the event that there isn't a real preview pin, a smart-T filter will be inserted so you can do the capture. From memory AFAIK, I don't think the smart-T gets inserted if you render the capture pin first and there isn't a preview pin.

-- modified at 9:09 Monday 27th March, 2006
GeneralRe: About DirectX Video Capture Pin
crazymubashir28-Mar-06 1:01
crazymubashir28-Mar-06 1:01 
GeneralRe: About DirectX Video Capture Pin
Justin Tay28-Mar-06 23:49
Justin Tay28-Mar-06 23:49 
GeneralRe: About DirectX Video Capture Pin
crazymubashir4-Apr-06 21:27
crazymubashir4-Apr-06 21:27 
AnswerRe: About DirectX Video Capture Pin
aloha181226-Apr-06 0:39
aloha181226-Apr-06 0:39 
QuestionMultithreading Pin
Waldermort27-Mar-06 1:36
Waldermort27-Mar-06 1:36 
AnswerRe: Multithreading Pin
sunit527-Mar-06 1:48
sunit527-Mar-06 1:48 
AnswerRe: Multithreading Pin
Justin Tay27-Mar-06 1:51
Justin Tay27-Mar-06 1:51 
GeneralRe: Multithreading Pin
Waldermort27-Mar-06 2:10
Waldermort27-Mar-06 2:10 
GeneralRe: Multithreading Pin
Waldermort27-Mar-06 2:17
Waldermort27-Mar-06 2:17 
GeneralRe: Multithreading Pin
Justin Tay27-Mar-06 2:33
Justin Tay27-Mar-06 2:33 
GeneralRe: Multithreading Pin
David Crow27-Mar-06 4:53
David Crow27-Mar-06 4:53 
GeneralRe: Multithreading Pin
Waldermort27-Mar-06 18:04
Waldermort27-Mar-06 18:04 
QuestionRe: Multithreading Pin
David Crow28-Mar-06 2:29
David Crow28-Mar-06 2:29 
AnswerRe: Multithreading Pin
El Corazon27-Mar-06 2:14
El Corazon27-Mar-06 2:14 
AnswerRe: Multithreading Pin
Michael Dunn27-Mar-06 9:00
sitebuilderMichael Dunn27-Mar-06 9:00 
QuestionHow to implement crop feature in VC++ Pin
snprani@yahoo.com27-Mar-06 1:29
snprani@yahoo.com27-Mar-06 1:29 
AnswerRe: How to implement crop feature in VC++ Pin
_AnsHUMAN_ 27-Mar-06 3:31
_AnsHUMAN_ 27-Mar-06 3:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.