[FFmpeg-devel] [PATCH] Implement guessed_pts in avcodec_decode_video2.

Måns Rullgård mans
Sun Jan 30 20:39:39 CET 2011


Nicolas George <nicolas.george at normalesup.org> writes:

> Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
> ---
>  cmdutils.c           |   27 ---------------------------
>  cmdutils.h           |   24 ------------------------
>  ffmpeg.c             |   14 ++++++--------
>  ffplay.c             |   10 +++-------
>  libavcodec/avcodec.h |   20 ++++++++++++++++++++
>  libavcodec/utils.c   |   43 ++++++++++++++++++++++++++++++++++++++++++-
>  6 files changed, 71 insertions(+), 67 deletions(-)
>
> This patch moves the guess_correct_pts function from cmdutils to libavcodec.
> The feature is available through a new field in AVFrame, guessed_pts.
>
> make test and ffplay still work, but I would like to have some more time to
> read it carefully, but I have things to do in the next few days, and this
> feature was discussed in another thread, so here the current version. It
> will conflict with some patches that will certainly soon be applied, so I
> will update and submit it again anyway.

What is all this guessing supposed to achieve anyway?  It makes me
feel uneasy.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list