[FFmpeg-devel] [PATCH] libavformat: improve logs with cur_dts

Michael Niedermayer michael at niedermayer.cc
Fri Apr 19 18:16:09 EEST 2019


On Fri, Apr 19, 2019 at 08:09:28AM +0000, Andreas Håkon via ffmpeg-devel wrote:
> 
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Thursday, 18 de April de 2019 22:13, Michael Niedermayer <michael at niedermayer.cc> wrote:
> 
> > On Thu, Apr 18, 2019 at 07:46:43AM +0000, Andreas Håkon via ffmpeg-devel wrote:
> >
> > > Hi,
> > > This is the second part of my previous patch:
> > > https://patchwork.ffmpeg.org/patch/12783/
> > > It improves the logs when the message "cur_dts is invalid" appears.
> > > If helps to identify which stream generates the trouble,
> > > and the status of the stream.
> > > A lot of users suffers with the message, and the origin varies.
> > > The improved message can help to discover the cause.
> > > Regards.
> > > A.H.
> >
> >
> > "git am" doesnt accept this patch
> >
> > Applying: libavformat: input init fix mpegts filters
> > Using index info to reconstruct a base tree...
> > error: patch failed: libavformat/utils.c:1402
> > error: libavformat/utils.c: patch does not apply
> > error: Did you hand edit your patch?
> > It does not apply to blobs recorded in its index.
> > Patch failed at 0001 libavformat: input init fix mpegts filters
> > hint: Use 'git am --show-current-patch' to see the failed patch
> > When you have resolved this problem, run "git am --continue".
> > If you prefer to skip this patch, run "git am --skip" instead.
> > To restore the original branch and stop patching, run "git am --abort".
> >
> 
> Sorry Michael!
> 
> I re-created the patch with a clean copy.
> Here it is.
> 
> Regards.
> A.H.
> 
> 
> ---
> 

> From 88dd030ddcde04b425bf1896ea6c1a2f263dc2ac Mon Sep 17 00:00:00 2001
> From: Andreas Hakon <andreas.hakon at protonmail.com>
> Date: Fri, 19 Apr 2019 08:58:37 +0100
> Subject: [PATCH] libavformat: improve logs with cur_dts v2
> 
> This patch improves the logs when the message "cur_dts is invalid" appears.
> If helps to identify which stream generates the trouble,
> and the status of the stream.
> A lot of users suffers with the message, and the origin varies.
> The improved message can help to discover the cause.
> 
> Signed-off-by: Andreas Hakon <andreas.hakon at protonmail.com>
> ---
>  fftools/ffmpeg.c    |    4 +++-
>  libavformat/utils.c |    4 ++--
>  2 files changed, 5 insertions(+), 3 deletions(-)

will apply

thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If you drop bombs on a foreign country and kill a hundred thousand
innocent people, expect your government to call the consequence
"unprovoked inhuman terrorist attacks" and use it to justify dropping
more bombs and killing more people. The technology changed, the idea is old.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190419/6f60efea/attachment.sig>


More information about the ffmpeg-devel mailing list