AVStream : AVStream Splitters

Discussion in 'Windows Vista Drivers' started by Edward Hsu, Aug 10, 2004.

  1. Edward Hsu

    Edward Hsu Guest

    Dear All,

    I met a problem when I use AVStream Splitter function and described it
    as following.

    Q1: My filter is a pin-centric filter for MPEG2 HW encoder. I set
    KSPIN_FLAG_SPLITTER flag on my "MPEG-2 PS" pin and InstancesPossible field to
    2. After I start this filter, it will call Process routine for 1st "MPEG-2
    PS" pin. In this process routine, I could success to move its stream pointer
    until get STATUS_DEVICE_NOT_READY error and then leave Process routine.
    However, I met one fatal error when I enter Process routine of 1st "MPEG-2
    PS" pin again and try to move stream pointer to next frame. PS : I could get
    leading edge stream pointer successfully. I guess it was caused by the
    previous STATUS_DEVICE_NOT_READY error and I tried to advance its stream
    pointer. But I don't know why the 2nd "MPEG-2 PS" pin didn't send frames to
    next filter. Do I miss some setting for AVStream Splitters?

    Any comments are very appreciated.

    Thanks,
    Edward
     
    Edward Hsu, Aug 10, 2004
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.