Re: [Libav-user] Using ffmpeg with SDL2 - Bad src image pointers / New decoding flow - questions

2017-02-07 Thread Jan
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

[Libav-user] VAAPI constraints - Failed to query surface attributes: 4 (invalid VAConfigID)

2017-02-07 Thread Anton Sviridenko
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

Re: [Libav-user] VAAPI constraints - Failed to query surface attributes: 4 (invalid VAConfigID)

2017-02-07 Thread Mark Thompson
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