How to use fullscreeen mode?

Hi. I'm trying to use Full screen mode in my player. I called IMFVideoDisplayControl::SetFullscreen(TRUE) while playback was running, but it will blackout screen and doesn't show any picture.

My player creats topology below.

source->decoderMFT->EVR

decoderMFT uses DXVA2.0 and MFT_OUTPUT_STREAM_PROVIDES_SAMPLES flag on.

What should I do to show picture on full screen

Thanks.

kasumi.



Answer this question

How to use fullscreeen mode?

  • David_Taylor_SOE

    Hi Becky

    I'm using Mobile Intel(R) 945GM for Display adapter and Driver Version is 7.14.10.1096

    >Are you never seeing an image again, or does your image come back after some time

    I have waited more than five minute but image never come back.

    Although if I set back to window mode image shows up again.

    >Programmatically, you can poll GetFullscreen(); if it returns MF_E_INVALIDREQUEST, it's still transitioned.

    I checked GetFullscreen() while running in Fullscreen mode.

    It returned S_OK and BOOL* pfFullscreen was TRUE.


  • JanJan

    It looks like we are seeing this bug that you're reporting, and it's most likely driver-specific. So I know this isn't a great answer, but you might want to avoid Set/GetFullscreen for now if you're having problems getting it working.

  • douroth

    I tried this out (with different hardware from what you have) and verified that Set/GetFullscreen work fine. So -- in general -- it works. We will try to reproduce your problem with that same video card to see if maybe this is a driver issue. Thanks very much for reporting it, and I'll let you know if I have any further questions or something else to say about it.

  • weaasd

    Hey Kasumi,

    It sounds like you're doing the right things.

    The transition to fullscreen mode can take a long time, like several seconds. Are you never seeing an image again, or does your image come back after some time Programmatically, you can poll GetFullscreen(); if it returns MF_E_INVALIDREQUEST, it's still transitioned. When it's done transitioning it will return the actual result. Try it and let me know how that goes.

    Just in case we need it, would you mind giving us details on your video card

    Becky



  • Jerry_Du

    I have same problem about fullscreen mode.

    Could you teach me when the problem will be solved

    And would you mind giving us details on your video card

    I want to try at the same environment.

    My best regards.


  • How to use fullscreeen mode?