mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-25 23:07:18 +00:00
[host] dxgi: follow suit and use h264 high profile
This commit is contained in:
parent
b9723adc30
commit
6653340bac
@ -351,7 +351,7 @@ bool DXGI::InitH264Capture()
|
|||||||
outType->SetGUID (MF_MT_SUBTYPE , MFVideoFormat_H264);
|
outType->SetGUID (MF_MT_SUBTYPE , MFVideoFormat_H264);
|
||||||
outType->SetUINT32(MF_MT_AVG_BITRATE , 384*1000);
|
outType->SetUINT32(MF_MT_AVG_BITRATE , 384*1000);
|
||||||
outType->SetUINT32(MF_MT_INTERLACE_MODE , MFVideoInterlace_Progressive);
|
outType->SetUINT32(MF_MT_INTERLACE_MODE , MFVideoInterlace_Progressive);
|
||||||
outType->SetUINT32(MF_MT_MPEG2_PROFILE , eAVEncH264VProfile_Base);
|
outType->SetUINT32(MF_MT_MPEG2_PROFILE , eAVEncH264VProfile_High);
|
||||||
outType->SetUINT32(MF_MT_ALL_SAMPLES_INDEPENDENT, TRUE);
|
outType->SetUINT32(MF_MT_ALL_SAMPLES_INDEPENDENT, TRUE);
|
||||||
|
|
||||||
MFSetAttributeSize (outType, MF_MT_FRAME_SIZE , m_width, m_height);
|
MFSetAttributeSize (outType, MF_MT_FRAME_SIZE , m_width, m_height);
|
||||||
|
Loading…
Reference in New Issue
Block a user