On Fri, 17 Apr 2015 22:52:07 +0200
Michael Niedermayer <[email protected]> wrote:
> On Fri, Apr 17, 2015 at 09:59:36PM +0200, wm4 wrote:
> > This affects a bunch of demuxers, including raw h264.
> > ---
> > libavformat/rawdec.h | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
>
> this breaks fate-hevc-paramchange-yuv420p-yuv420p10
>
> [...]
>
Only the (insignificant) timestamps are different.
This "fixes" it:
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 6c7ca0a..cccc591 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -3143,7 +3143,7 @@ int avformat_find_stream_info(AVFormatContext *ic,
AVDictionary **options)
!st->codec->extradata)
break;
if (st->first_dts == AV_NOPTS_VALUE &&
- !(ic->iformat->flags & AVFMT_NOTIMESTAMPS) &&
+ /*!(ic->iformat->flags & AVFMT_NOTIMESTAMPS) &&*/
st->codec_info_nb_frames < ic->max_ts_probe &&
(st->codec->codec_type == AVMEDIA_TYPE_VIDEO ||
st->codec->codec_type == AVMEDIA_TYPE_AUDIO))
I have no idea what this does, and it happens in
avformat_find_stream_info(), which is satan.
Would it be ok to send a new patch with the timestamps changed in the
ref file?
_______________________________________________
ffmpeg-devel mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel