diff options
Diffstat (limited to 'src/video_dec/libvdpau/vdpau_h264.c')
-rw-r--r-- | src/video_dec/libvdpau/vdpau_h264.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_dec/libvdpau/vdpau_h264.c b/src/video_dec/libvdpau/vdpau_h264.c index e20ac2ac9..28d455f39 100644 --- a/src/video_dec/libvdpau/vdpau_h264.c +++ b/src/video_dec/libvdpau/vdpau_h264.c @@ -702,6 +702,7 @@ static void vdpau_h264_flush (video_decoder_t *this_gen) { "h264 flush, draw pts: %lld\n", decoded_pic->img->pts); decoded_pic->img->draw(decoded_pic->img, this->stream); dpb_set_output_picture(&(this->nal_parser->dpb), decoded_pic); + this->last_img = NULL; } dpb_free_all(&this->nal_parser->dpb); this->reset = VO_NEW_SEQUENCE_FLAG; |