0

I am getting 2 byte * (one audio and one video, already demuxed). So it is not a standard file.

Can I create a pushsource with 2 input pins. one for audio and one for video. I know the subtypes and all.

I am getting this data of the networks. So it is a live source.

Mogsdad
  • 44,709
  • 21
  • 151
  • 275
Evren Bingøl
  • 1,306
  • 1
  • 20
  • 32
  • Yes you can, however since it's a source filter which provides data to the graph they should be output pins, not input. – Dee Mon Sep 05 '12 at 10:38

1 Answers1

1

You can create both single push source with two pins, and two push sources with single pin on each. Both ways it can work out. With two pins on one filter make sure to stream/deliver data from different threads.

Roman R.
  • 68,205
  • 6
  • 94
  • 158