Click here to Skip to main content
15,913,941 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: FILE* into a char* Pin
basementman27-Jun-03 4:01
basementman27-Jun-03 4:01 
GeneralRe: FILE* into a char* Pin
Ryan Binns27-Jun-03 4:07
Ryan Binns27-Jun-03 4:07 
GeneralProblem with WM_COMMAND Pin
anshumanshinde26-Jun-03 20:35
anshumanshinde26-Jun-03 20:35 
GeneralRe: Problem with WM_COMMAND Pin
Ryan Binns26-Jun-03 20:42
Ryan Binns26-Jun-03 20:42 
GeneralRe: Problem with WM_COMMAND Pin
anshumanshinde26-Jun-03 21:02
anshumanshinde26-Jun-03 21:02 
GeneralRe: Problem with WM_COMMAND Pin
Ryan Binns26-Jun-03 21:20
Ryan Binns26-Jun-03 21:20 
GeneralOne project add to other project Pin
Anonymous26-Jun-03 20:01
Anonymous26-Jun-03 20:01 
GeneralDirectShow 8.1 .. Problem Connecting two filters. Pin
Member 40481326-Jun-03 19:09
Member 40481326-Jun-03 19:09 
I am trying to connect 3 filter together..
pSrc is my souce capture device filter..
it is connected to a smartTee filter through RenderStream method,(this part works ok). However, when i tried to connect the preview pin from smartTee filter to the input of my VideoRender filter it doesn't work.. can someone see where the problem is?

CoCreateInstance(CLSID_SmartTee, NULL, CLSCTX_INPROC, IID_IBaseFilter, (void **)&smartTee);
CoCreateInstance(CLSID_VideoRenderer,NULL, CLSCTX_INPROC, IID_IBaseFilter,(void**)&VideoRender);

pGraph->AddFilter(VideoRender,L"Video Render Device");
pGraph->AddFilter(smartTee, L"Smart Tea");

pBuilder->RenderStream(NULL, NULL,pSrc, NULL, smartTee);


IPin *pPinOut, // Video port pin on capture filter.
*pPinIn; // Input pin on Overlay Mixer.

// Find the video port pin.
pBuilder->FindPin(
smartTee, // Pointer to capture filter.
PINDIR_OUTPUT, // Find an output pin.
&PIN_CATEGORY_PREVIEW , // Find a video port pin.
NULL, // Any media type.
TRUE, // Pin must be unconnected.
0, // Retrieve first matching pin.
&pPinOut // Address of pointer to pin.
);


// Retrieve input pin 0 on the overlay mixer.
pBuilder->FindPin(VideoRender, PINDIR_INPUT, NULL, NULL, TRUE, 0, &pPinIn);

//Connect the two pins.
pGraph->Connect(pPinOut, pPinIn);



GeneralDeterming if a file is Unicode Pin
Taka Muraoka26-Jun-03 18:55
Taka Muraoka26-Jun-03 18:55 
GeneralRe: Determing if a file is Unicode Pin
Ryan Binns26-Jun-03 19:06
Ryan Binns26-Jun-03 19:06 
GeneralRe: Determing if a file is Unicode Pin
Dave Bryant26-Jun-03 19:14
Dave Bryant26-Jun-03 19:14 
GeneralRe: Determing if a file is Unicode Pin
Johnny ²26-Jun-03 19:47
Johnny ²26-Jun-03 19:47 
GeneralRe: Determing if a file is Unicode Pin
Ryan Binns27-Jun-03 5:06
Ryan Binns27-Jun-03 5:06 
GeneralRe: Determing if a file is Unicode Pin
Michael Dunn26-Jun-03 19:56
sitebuilderMichael Dunn26-Jun-03 19:56 
GeneralMultiple Selection with CRectTracker Pin
Vikrant Vikrant26-Jun-03 18:35
Vikrant Vikrant26-Jun-03 18:35 
GeneralHaving problems with MSVC++ 6.0. Pin
blackmesa26-Jun-03 18:20
blackmesa26-Jun-03 18:20 
GeneralRe: Having problems with MSVC++ 6.0. Pin
flip26-Jun-03 18:57
flip26-Jun-03 18:57 
GeneralRe: Having problems with MSVC++ 6.0. Pin
blackmesa26-Jun-03 19:18
blackmesa26-Jun-03 19:18 
GeneralRe: Having problems with MSVC++ 6.0. Pin
Ryan Binns26-Jun-03 20:40
Ryan Binns26-Jun-03 20:40 
GeneralRe: Having problems with MSVC++ 6.0. Pin
blackmesa27-Jun-03 5:00
blackmesa27-Jun-03 5:00 
GeneralRe: Having problems with MSVC++ 6.0. Pin
Ryan Binns27-Jun-03 5:04
Ryan Binns27-Jun-03 5:04 
GeneralAbout irregular window Pin
tinberdxq26-Jun-03 17:45
tinberdxq26-Jun-03 17:45 
GeneralDLL Security (.NET Securing) Pin
flip26-Jun-03 17:16
flip26-Jun-03 17:16 
GeneralRe: DLL Security (.NET Securing) Pin
Ryan Binns26-Jun-03 19:10
Ryan Binns26-Jun-03 19:10 
GeneralRe: DLL Security (.NET Securing) Pin
flip26-Jun-03 19:22
flip26-Jun-03 19:22 

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.