Skip to content

Commit

Permalink
fix log line
Browse files Browse the repository at this point in the history
  • Loading branch information
igorshevach committed Sep 18, 2024
1 parent f27d3a7 commit 200f8c5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions transcoder/transcode/transcode_session.c
Original file line number Diff line number Diff line change
Expand Up @@ -416,14 +416,14 @@ int encodeFrame(transcode_session_t *pContext,int encoderId,int outputId,AVFrame
goto encoder_error;
}

output_frame_id = pContext->transcoded_frame_first_id+pOutput->stats.totalFrames;
add_packet_frame_id_and_pts(pOutPacket,output_frame_id,pOutPacket->pts);
pOutPacket->pos=clock_estimator_get_clock(&pContext->clock_estimator,pOutPacket->dts);

LOGGER(CATEGORY_TRANSCODING_SESSION,AV_LOG_DEBUG,"[%s] received encoded frame %s from encoder Id %d",
pOutput->track_id,
getPacketDesc(pOutPacket),
encoderId);
output_frame_id = pContext->transcoded_frame_first_id+pOutput->stats.totalFrames;
add_packet_frame_id_and_pts(pOutPacket,output_frame_id,pOutPacket->pts);

pOutPacket->pos=clock_estimator_get_clock(&pContext->clock_estimator,pOutPacket->dts);

if(pContext->ack_handler == pOutput){
_S(ackEncode(pEncoder->ctx,&pContext->ack_handler->acker,pOutPacket));
Expand Down

0 comments on commit 200f8c5

Please sign in to comment.