summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--video/out/vo_lavc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/video/out/vo_lavc.c b/video/out/vo_lavc.c
index 4f70c2b2ed..188a575f45 100644
--- a/video/out/vo_lavc.c
+++ b/video/out/vo_lavc.c
@@ -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;