-
Notifications
You must be signed in to change notification settings - Fork 68
Open
Description
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".
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels