Baptiste Coudurier <[email protected]> added the comment:

On 10/08/2010 05:00 PM, Greg Maus wrote:
>
> Greg Maus<[email protected]>  added the comment:
>
> Here is a second sample:
> It is has not been through dd.  Recorded direct OTA....
> http://filebin.ca/fmcehc/1051_20101008184902.mpg

One way to workaround this issue is to use the attached patch.

The file mentioned in issue171 is no more available so I cannot double 
check with it :(

________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2286>
________________________________________________
Index: libavformat/utils.c
===================================================================
--- libavformat/utils.c	(revision 25392)
+++ libavformat/utils.c	(working copy)
@@ -924,7 +924,7 @@
     // 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_DEBUG, "invalid dts/pts combination\n");
-        pkt->dts= pkt->pts= AV_NOPTS_VALUE;
+        pkt->pts= AV_NOPTS_VALUE;
     }
 
     if (pkt->duration == 0) {

Reply via email to