Skip to content

Commit

Permalink
[editor/audio] Display in 00:00:22.22 rather than in microseconds
Browse files Browse the repository at this point in the history
  • Loading branch information
mean committed Feb 7, 2016
1 parent 0e08657 commit 5bfe0eb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions avidemux/common/ADM_editor/src/audio/ADM_edAudioPcm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,9 @@ uint32_t outFrequency=getCurrentTrack()->codec->getOutputFrequency();
{
if(labs((int64_t)lastDts-(int64_t)packetBufferDts)>ADM_ALLOWED_DRIFT_US)
{
printf("[Composer::getPCMPacket] Track %d,%"PRIx64" : drift %d, computed :%"PRIu64" got %"PRIu64"\n",
(int)myTrackNumber,(uint64_t)trk,(int)(lastDts-packetBufferDts),lastDts,packetBufferDts);
ADM_info("[Composer::getPCMPacket] Track %d,%"PRIx64" : drift %d, computed :%s",
(int)myTrackNumber,(uint64_t)trk,(int)(lastDts-packetBufferDts),ADM_us2plain(lastDts));
ADM_info(" got %s\n", ADM_us2plain(packetBufferDts));
if(packetBufferDts<lastDts)
{
printf("[Composer::getPCMPacket] Track %d:%"PRIx64" : Dropping packet %"PRIu32" last =%"PRIu32"\n",myTrackNumber,(uint64_t)trk,(uint32_t)(lastDts/1000),(uint32_t)(packetBufferDts/1000));
Expand Down

0 comments on commit 5bfe0eb

Please sign in to comment.