Skip to content

Commit

Permalink
kbps = 1024 bps
Browse files Browse the repository at this point in the history
  • Loading branch information
igorshevach committed Sep 10, 2024
1 parent 5a2946a commit c5f12ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions transcoder/KMP/KMP.c
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,7 @@ int KMP_log_mediainfo(KMP_session_t *context,
params->bits_per_coded_sample,
params->channels,
params->channel_layout,
params->bit_rate / 1000.0, transcodeMediaInfo->timeScale.num, transcodeMediaInfo->timeScale.den,
params->bit_rate / 1024.0, transcodeMediaInfo->timeScale.num, transcodeMediaInfo->timeScale.den,
ex);
}
else if (params->codec_type == AVMEDIA_TYPE_VIDEO) {
Expand All @@ -833,7 +833,7 @@ int KMP_log_mediainfo(KMP_session_t *context,
params->width,
params->height,
transcodeMediaInfo->frameRate.num, transcodeMediaInfo->frameRate.den,
params->bit_rate / 1000.0, transcodeMediaInfo->timeScale.num, transcodeMediaInfo->timeScale.den,
params->bit_rate / 1024.0, transcodeMediaInfo->timeScale.num, transcodeMediaInfo->timeScale.den,
transcodeMediaInfo->closed_captions ? "yes" : "no",
ex);
}
Expand Down

0 comments on commit c5f12ec

Please sign in to comment.