[FFmpeg-devel] [PATCH] libavformat: Add H264 API test

Michael Niedermayer michaelni at gmx.at
Thu Jun 25 04:25:59 CEST 2015


On Wed, Jun 24, 2015 at 07:21:07PM +0300, Ludmila Glinskih wrote:
> Result differs in pkt_duration and time_base.den for some reason.
> Right now it tests only one example (adjusted to match the output).
> 
> Signed-off-by: Ludmila Glinskih <lglinskih at gmail.com>

[...]

> +                printf("%d, %10"PRId64", %10"PRId64", %8"PRId64", %8d, 0x%08lx\n", video_stream,
> +                        fr->pkt_pts, fr->pkt_dts, fr->pkt_duration,

minor nitpick, this should use av_frame_get_pkt_duration() instead
of directly acessing fr->pkt_duration

changed that
applied

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Democracy is the form of government in which you can choose your dictator
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150625/86734d08/attachment.asc>


More information about the ffmpeg-devel mailing list