On 25/09/2017 11:10, Luca Barbato wrote:
On 25/09/2017 03:54, Chao Liu wrote:
How about using "MFXCloneSession()" to shorten these codes?
In fact, for Linux, "MFXJoinSession()" probably fails here because the
parent_session has the version of {3, 1} (see hwcontext_qsv.c),
but the child_seesion has the version queried by "MFXQueryIMPL", which
always returns the version of current libmfx, such as {20, 1}.
It is worth a try for sure, thank you!
Looks like trying to Clone the session results in something strange at
least on the version of mediasdk on my test system.
[h264_qsv @ 0x1c4ffa0] Error during QSV decoding.: undefined behavior (-16)
testcase:
./avconv -hwaccel qsv -c:v h264_qsv -r 30000/1001 -i in -f null -
lu
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel