[FFmpeg-devel] [PATCH] lavf/utils: Fix DTS for short H264 streams.

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Mar 11 22:52:54 CET 2016


Sasi Inguva <isasi-at-google.com <at> ffmpeg.org> writes:

> Fill DTS if all packets have been read in 
> avformat_find_stream_info, and still 
> has_decode_delay_been_guessed returns false.

Could you explain your use-case?
Are streams with less than seven frames frequent?

>          return 1;
>  #endif
> +

No unrelated changes please.

>          if (ret < 0) {
>              /* EOF or error*/
> +            eof_reached = 1;
>              break;
>          }

Doesn't the comment indicate that you should 
check if you really reached eof?

Carl Eugen



More information about the ffmpeg-devel mailing list