[FFmpeg-devel] [PATCH 10/28] silence 'invalid dts/pts combination' spew coming from ffmpeg. This is an info message not a error condition as ffmpeg will flag the invalid pts as AV_NOPTS_VALUE.
Michael Niedermayer
michaelni
Wed Jun 30 18:02:21 CEST 2010
On Wed, Jun 30, 2010 at 10:09:38AM +0100, Mans Rullgard wrote:
> From: Cory Fields <theuni-nospam- at xbmc.org>
>
> ---
> libavformat/utils.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/libavformat/utils.c b/libavformat/utils.c
> index 09034bb..a255df3 100644
> --- a/libavformat/utils.c
> +++ b/libavformat/utils.c
> @@ -908,7 +908,7 @@ static void compute_pkt_fields(AVFormatContext *s, AVStream *st,
> // we take the conservative approach and discard both
> // Note, if this is misbehaving for a H.264 file then possibly presentation_delayed is not set correctly.
> if(delay==1 && pkt->dts == pkt->pts && pkt->dts != AV_NOPTS_VALUE && presentation_delayed){
> - av_log(s, AV_LOG_WARNING, "invalid dts/pts combination\n");
> + av_log(s, AV_LOG_DEBUG, "invalid dts/pts combination\n");
> pkt->dts= pkt->pts= AV_NOPTS_VALUE;
if people consider it to noisy then the patch is ok
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Everything should be made as simple as possible, but not simpler.
-- Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100630/3158c0ec/attachment.pgp>
More information about the ffmpeg-devel
mailing list