obs-qsv11: Keep ExtParam value around
This wasn't meant to be freed in InitParams
This commit is contained in:
parent
dab5ff813a
commit
e72aa91a6d
2 changed files with 3 additions and 4 deletions
|
|
@ -61,8 +61,6 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include <VersionHelpers.h>
|
||||
#include <obs-module.h>
|
||||
|
||||
#include <vector>
|
||||
|
||||
#define do_log(level, format, ...) \
|
||||
blog(level, "[qsv encoder: '%s'] " format, "msdk_impl", ##__VA_ARGS__)
|
||||
|
||||
|
|
@ -300,8 +298,6 @@ mfxStatus QSV_Encoder_Internal::InitParams(qsv_param_t *pParams,
|
|||
(mfxU16)(pParams->nKeyIntSec * pParams->nFpsNum /
|
||||
(float)pParams->nFpsDen);
|
||||
|
||||
std::vector<mfxExtBuffer *> extendedBuffers;
|
||||
|
||||
if (m_ver.Major == 1 && m_ver.Minor >= 8) {
|
||||
memset(&m_co2, 0, sizeof(mfxExtCodingOption2));
|
||||
m_co2.Header.BufferId = MFX_EXTBUFF_CODING_OPTION2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue