mirror of
https://github.com/mpv-player/mpv
synced 2025-03-31 07:51:55 +00:00
vo_lavc: fix build on Libav
OF COURSE Libav doesn't have AV_PICTURE_TYPE_NONE. Why the fuck would it?
This commit is contained in:
parent
050b17ca9c
commit
9db1b7a001
@ -418,8 +418,7 @@ static void draw_image_unlocked(struct vo *vo, mp_image_t *mpi)
|
||||
frame->pts = av_rescale_q(vc->lastipts + skipframes,
|
||||
vc->worst_time_base, avc->time_base);
|
||||
|
||||
frame->pict_type = AV_PICTURE_TYPE_NONE;
|
||||
// keep this at avcodec_get_frame_defaults default
|
||||
frame->pict_type = 0; // keep this at unknown/undefined
|
||||
|
||||
frame->quality = avc->global_quality;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user