Skip to content

Commit

Permalink
directrender: Don't set pkt_pts field
Browse files Browse the repository at this point in the history
It's not supposed to be set.

Signed-off-by: Derek Buitenhuis <[email protected]>
  • Loading branch information
dwbuiten committed Nov 18, 2013
1 parent 2d50dfc commit ca741fa
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion vs/directrender.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ int VSGetBuffer(AVCodecContext *avctx, AVFrame *pic, int flag)

pic->opaque = (void *) userdata->vs_frame;
pic->extended_data = pic->data;
pic->pkt_pts = avctx->pkt ? avctx->pkt->pts : AV_NOPTS_VALUE;
pic->width = data->aligned_width;
pic->height = data->aligned_height;
pic->format = avctx->pix_fmt;
Expand Down

0 comments on commit ca741fa

Please sign in to comment.