Commit 2fece989 authored by Michael Niedermayer's avatar Michael Niedermayer

doc/examples/demuxing_decoding: Drop AVFrame->pts use

This code is not correct for git master
Reviewed-by: 's avatarStefano Sabatini <stefasab@gmail.com>
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 2bd99564)
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent a2d3e739
...@@ -93,10 +93,9 @@ static int decode_packet(int *got_frame, int cached) ...@@ -93,10 +93,9 @@ static int decode_packet(int *got_frame, int cached)
return -1; return -1;
} }
printf("video_frame%s n:%d coded_n:%d pts:%s\n", printf("video_frame%s n:%d coded_n:%d\n",
cached ? "(cached)" : "", cached ? "(cached)" : "",
video_frame_count++, frame->coded_picture_number, video_frame_count++, frame->coded_picture_number);
av_ts2timestr(frame->pts, &video_dec_ctx->time_base));
/* copy decoded frame to destination buffer: /* copy decoded frame to destination buffer:
* this is required since rawvideo expects non aligned data */ * this is required since rawvideo expects non aligned data */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment