Skip to content

Commit d2bcd17

Browse files
committed
test2
1 parent 9aad00c commit d2bcd17

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vaapi_encoder.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,7 @@ StatusCode VAAPIEncoder::DoOpen(HostBufferRef *p_pBuff)
412412

413413
m_codec->width = m_CommonProps.GetWidth();
414414
m_codec->height = m_CommonProps.GetHeight();
415+
printf("w %d h %d\n", m_codec->width, m_codec->height);
415416
m_codec->time_base = av_make_q(m_CommonProps.GetFrameRateDen(), m_CommonProps.GetFrameRateNum());
416417
m_codec->framerate = av_make_q(m_CommonProps.GetFrameRateNum(), m_CommonProps.GetFrameRateDen());
417418
m_codec->sample_aspect_ratio = av_make_q(1, 1);

0 commit comments

Comments
 (0)