[FFmpeg-devel] [PATCH]Show "00:00" on status line if pts is unknown

Marton Balint cus at passwd.hu
Wed Mar 5 20:41:45 CET 2014



On Wed, 5 Mar 2014, Carl Eugen Hoyos wrote:

> Hi!
>
> If current pts is unknown in ffmpeg.c (because it is AV_NOPTS_VALUE), ffmpeg
> currently shows "time=-577014:-32:-22.-77" (INT64_MIN) on the status line.
> Attached patch forces the output to "00:00" in this case, intends to fix
> ticket #3427.
>
> Please comment, Carl Eugen

Would not it be better to output N/A instead, to be able to differentiate 
from really 0 pts?

Regards,
Marton


More information about the ffmpeg-devel mailing list