Skip to content

Commit

Permalink
to_lavc_vid_conv debug time dump fixed
Browse files Browse the repository at this point in the history
- wrong conversion constant used
- typo - forAMt instead of format
  • Loading branch information
MartinPulec committed Apr 12, 2024
1 parent 8074e26 commit c30f9a3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/libavcodec/to_lavc_vid_conv.c
Original file line number Diff line number Diff line change
Expand Up @@ -1868,8 +1868,9 @@ struct AVFrame *to_lavc_vid_conv(struct to_lavc_vid_conv *s, char *in_data) {
}
}
time_ns_t t2 = get_time_in_ns();
log_msg(LOG_LEVEL_DEBUG2, MOD_NAME "duration uv pixfmt change: %f ms, av foramt change: %f ms\n",
(t1 - t0) / MS_IN_SEC_DBL, (t2 - t1) / MS_IN_SEC_DBL);
MSG(DEBUG2,
"duration uv pixfmt change: %f ms, av format change: %f ms\n",
(t1 - t0) / NS_IN_MS_DBL, (t2 - t1) / NS_IN_MS_DBL);
return frame;
};

Expand Down

0 comments on commit c30f9a3

Please sign in to comment.