[packman] ffmpeg patch for nonmonolithic increase dts error in subtitle

Markus Kohm markus.kohm at gmx.de
Thu Jun 7 08:32:03 CEST 2018


Am Donnerstag, 7. Juni 2018, 08:29:12 CEST schrieb Markus Kohm:
> hope attachments work for this list

I see, they don't. So here is the code, but maybe the line break will break 
it:

From: Markus Kohm
Date: 2018-06-06 15:30:00 +0200

Fix VOB streams with nonmonolithic increasing dts error in subtitles.

---
  fftools/ffmpeg.c	|	2 +-
  1 files changes, 1 insertions(+), 1 deletions(-)

Index: ffmpeg-3.4/fftools/ffmpeg.c
=====================================================================
--- ffmpeg-3.4.orig/fftools/ffmpeg.c	2018-06-06 15:26:07.464158761 +0200
+++ ffmpeg-3.4/fftools/ffmpeg.c	2018-06-06 15:27:57.392256994 +0200
@@ -754,7 +754,7 @@
                      - FFMIN3(pkt->pts, pkt->dts, ost->last_mux_dts + 1)
                      - FFMAX3(pkt->pts, pkt->dts, ost->last_mux_dts + 1);
         }
-        if ((st->codecpar->codec_type == AVMEDIA_TYPE_AUDIO || st->codecpar-
>codec_type == AVMEDIA_TYPE_VIDEO) &&
+        if ((st->codecpar->codec_type == AVMEDIA_TYPE_AUDIO || st->codecpar-
>codec_type == AVMEDIA_TYPE_VIDEO || st->codecpar->codec_type == 
AVMEDIA_TYPE_SUBTITLE) &&
             pkt->dts != AV_NOPTS_VALUE &&
             !(st->codecpar->codec_id == AV_CODEC_ID_VP9 && ost->stream_copy) 
&&
             ost->last_mux_dts != AV_NOPTS_VALUE) {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.links2linux.de/pipermail/packman/attachments/20180607/ccec4ce4/attachment.sig>


More information about the Packman mailing list