[FFmpeg-devel] [PATCH 1/2] libavformat: Add av_pkt_dump{, _log}2, taking a timebase parameter

Michael Niedermayer michaelni
Wed Feb 23 23:37:57 CET 2011

On Wed, Feb 23, 2011 at 11:21:42PM +0200, Martin Storsj? wrote:
> This removes a fixme issue.
> ---
>  libavformat/avformat.h |   16 ++++++++++++----
>  libavformat/utils.c    |   26 +++++++++++++++++++-------
>  2 files changed, 31 insertions(+), 11 deletions(-)

I would suggest *AVStream to be passed instead of a time_base.
Its more information that might be usefull in the future
It avoids the mistake of passing the AVCodecContext timebase by mistake
Its simpler

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is not what we do, but why we do it that matters.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110223/143ee380/attachment.pgp>

More information about the ffmpeg-devel mailing list