none
The interface IMFQualityAdvise of Microsoft H264 Video Decoder MFT not working RRS feed

  • Question

  • hi,i am trying to set the drop mode of the transform,but it‘s not working.code:

                            HRESULT hr1;
    CComPtr<IMFQualityAdvise> quality_advise;
    hr1 = _realTransform->QueryInterface(IID_IMFQualityAdvise, (void **)&quality_advise);
    if (hr1 != S_OK)
    {
    VXError(L"hr1=" << hex << hr1);
    }
    else
    {

    hr1 = quality_advise->SetDropMode(MF_DROP_MODE_3);
    VXDebug(L"hr1=" << hex << hr1);
    hr1 = quality_advise->SetQualityLevel(MF_QUALITY_NORMAL_MINUS_3);
    VXDebug(L"hr1=" << hex << hr1);
    }

    HRESULT returned was S_OK,but video playing seemed not effected. 

    Friday, May 31, 2019 2:58 AM