You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Commit 3fd071e "Update qplayvid to newer ffmpeg APIs" breaks the build for all systems which supply ffmpeg/libav versions < 56 (i.e. practically all current systems!) ...
qplayvid.c: In function ‘decode_audio’:
qplayvid.c:140:18: error: ‘AVCodecContext’ has no member named ‘get_buffer2’
ctx->a_codec_ctx->get_buffer2(ctx->a_codec_ctx, ctx->a_frame, 0);
^
qplayvid.c: In function ‘decode_video’:
qplayvid.c:225:2: warning: implicit declaration of function ‘av_frame_get_best_effort_timestamp’ [-Wimplicit-function-declaration]
frame_pts = av_frame_get_best_effort_timestamp(ctx->v_frame);
^
make[2]: *** [tools/qplayvid/CMakeFiles/qplayvid.dir/qplayvid.c.o] Error 1
make[1]: *** [tools/qplayvid/CMakeFiles/qplayvid.dir/all] Error 2
make: *** [all] Error 2
My pending pull request #17 now includes this patch to unbreak it:
Commit 12574cb "Fix qplayvid build for older ffmpeg APIs".
The text was updated successfully, but these errors were encountered:
I thank you very much kamalmostafa, I use Ubuntu 14.04. After a (long) fight for dependencies, the last but not the least qplayvid.c.o refused compilation. I was lost, your commits 3fd071e & 12574cb saved my night at 2:30 AM local french time !
Commit 3fd071e "Update qplayvid to newer ffmpeg APIs" breaks the build for all systems which supply ffmpeg/libav versions < 56 (i.e. practically all current systems!) ...
My pending pull request #17 now includes this patch to unbreak it:
Commit 12574cb "Fix qplayvid build for older ffmpeg APIs".
The text was updated successfully, but these errors were encountered: