On 05.02.2017 21:15, Blake Senftner wrote:
I’m in a somewhat similar situation as you, working on a video player,
using a more C approach versus C++ classes for all the data and logic. I
write a hybrid, with classes, but minimally. I prefer C. And I’m using
wxWidgets with OpenGL, so there is v
Hi
I'm trying to use VAAPI accelerated decoding and this piece of code:
{
int err;
const char *device;
Q_ASSERT(m_instance == 0);
#if defined(Q_WS_X11)
QProcessEnvironment env;
QByteArray x11display;
env = QProcessEnvironment::systemEnvironment();
if (env.cont
On 07/02/17 18:54, Anton Sviridenko wrote:
> {
> AVVAAPIHWConfig *hwconfig = NULL;
> AVHWFramesConstraints *constraints = NULL;
>
> hwconfig = (AVVAAPIHWConfig
> *)av_hwdevice_hwconfig_alloc(m_hw_device_ctx);
> constraints =
> av_hwdevice_get_hwframe_constraints