Use updated temporal API 2/2

This commit is contained in:
Robin Gareus 2021-12-11 15:51:31 +01:00
parent 60be0c27a1
commit 3c03e4951e
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
16 changed files with 48 additions and 48 deletions

View file

@ -612,7 +612,7 @@ EditorSources::format_position (timepos_t const & pos, char* buf, size_t bufsize
Temporal::BBT_Time bbt;
Timecode::Time timecode;
if (pos.negative()) {
if (pos.is_negative ()) {
error << string_compose (_("EditorSources::format_position: negative timecode position: %1"), pos) << endmsg;
snprintf (buf, bufsize, "invalid");
return;