Click here to Skip to main content
15,891,777 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ShellExecute Pin
Code-o-mat22-Oct-10 4:01
Code-o-mat22-Oct-10 4:01 
GeneralRe: ShellExecute Pin
john563222-Oct-10 4:03
john563222-Oct-10 4:03 
GeneralRe: ShellExecute Pin
Code-o-mat22-Oct-10 4:11
Code-o-mat22-Oct-10 4:11 
GeneralRe: ShellExecute Pin
john563222-Oct-10 5:46
john563222-Oct-10 5:46 
GeneralRe: ShellExecute [modified] Pin
Code-o-mat22-Oct-10 7:42
Code-o-mat22-Oct-10 7:42 
AnswerRe: ShellExecute Pin
GAJERA22-Oct-10 4:33
GAJERA22-Oct-10 4:33 
QuestionFailed to play .mpg file with directshow Pin
Chesnokov Yuriy21-Oct-10 22:53
professionalChesnokov Yuriy21-Oct-10 22:53 
AnswerRe: Failed to play .mpg file with directshow Pin
Sauro Viti22-Oct-10 1:07
professionalSauro Viti22-Oct-10 1:07 
That HRESULT value stays for E_FAIL which has no more specific details. Have a look at the documentation of ICaptureGraphBuilder2::RenderStream[^] on the MSDN; on the remarks section there are 2 sentences that could help you:


  • If pSource is a filter, the method searches for an output pin on that filter. In that case, use the pCategory and pType parameters to narrow the search. For example, if a filter has separate pins for preview and capture, you can specify either PIN_CATEGORY_CAPTURE or PIN_CATEGORY_PREVIEW. If pSource is an output pin, set the pCategory and pType to NULL.
  • File Sources. You can use this method to transcode or recompress a file. The following discussion assumes that the file has at most one video stream and one audio stream, or else a single interleaved stream. Otherwise, the method will not work correctly. A file source has one output pin, so set pCategory and pType to NULL. Call the method twice — once to render the video stream, and once to render the audio stream. The first call connects the source filter to a parser filter and renders one of the parser filter's output pins. The second call renders the parser's remaining output pin. If you are compressing one stream but not the other, make sure to specify the compressor filter in the first call. The method will automatically pick the correct stream based on the compression type.

QuestionRe: Failed to play .mpg file with directshow Pin
Chesnokov Yuriy22-Oct-10 1:51
professionalChesnokov Yuriy22-Oct-10 1:51 
AnswerRe: Failed to play .mpg file with directshow Pin
Sauro Viti22-Oct-10 2:01
professionalSauro Viti22-Oct-10 2:01 
QuestionRe: Failed to play .mpg file with directshow Pin
Chesnokov Yuriy22-Oct-10 2:05
professionalChesnokov Yuriy22-Oct-10 2:05 
AnswerRe: Failed to play .mpg file with directshow Pin
Chesnokov Yuriy22-Oct-10 2:03
professionalChesnokov Yuriy22-Oct-10 2:03 
GeneralRe: Failed to play .mpg file with directshow Pin
Sauro Viti22-Oct-10 2:17
professionalSauro Viti22-Oct-10 2:17 
AnswerRe: Failed to play .mpg file with directshow Pin
Chesnokov Yuriy22-Oct-10 2:22
professionalChesnokov Yuriy22-Oct-10 2:22 
GeneralRe: Failed to play .mpg file with directshow Pin
Sauro Viti22-Oct-10 2:30
professionalSauro Viti22-Oct-10 2:30 
AnswerRe: Failed to play .mpg file with directshow Pin
Chesnokov Yuriy22-Oct-10 2:52
professionalChesnokov Yuriy22-Oct-10 2:52 
QuestionC Compilers which one to choose for performance Pin
Anurag Gandhi21-Oct-10 22:41
professionalAnurag Gandhi21-Oct-10 22:41 
AnswerRe: C Compilers which one to choose for performance PinPopular
Sauro Viti21-Oct-10 23:22
professionalSauro Viti21-Oct-10 23:22 
GeneralRe: C Compilers which one to choose for performance Pin
Anurag Gandhi22-Oct-10 1:22
professionalAnurag Gandhi22-Oct-10 1:22 
GeneralRe: C Compilers which one to choose for performance Pin
Sauro Viti22-Oct-10 1:56
professionalSauro Viti22-Oct-10 1:56 
GeneralRe: C Compilers which one to choose for performance Pin
Anurag Gandhi22-Oct-10 2:07
professionalAnurag Gandhi22-Oct-10 2:07 
GeneralRe: C Compilers which one to choose for performance Pin
Sauro Viti22-Oct-10 2:26
professionalSauro Viti22-Oct-10 2:26 
GeneralRe: C Compilers which one to choose for performance Pin
Joe Woodbury23-Oct-10 11:34
professionalJoe Woodbury23-Oct-10 11:34 
AnswerRe: C Compilers which one to choose for performance Pin
Aescleal21-Oct-10 23:27
Aescleal21-Oct-10 23:27 
AnswerRe: C Compilers which one to choose for performance Pin
Paul Michalik23-Oct-10 22:53
Paul Michalik23-Oct-10 22:53 

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.