Skip to content

Commit

Permalink
DTS decode timestamp in log output
Browse files Browse the repository at this point in the history
Fix 3rd value in timestamp log line; this is the packet decode timestamp.
Previously the packet presentation timestamp, which is already present
in the 1st logged value, was shown here again.
  • Loading branch information
kmdewaal committed Feb 25, 2025
1 parent 39a4d07 commit 9e44f37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/decoders/avformatdecoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3336,7 +3336,7 @@ bool AvFormatDecoder::ProcessVideoPacket(AVCodecContext* context, AVStream *curs
{
LOG(VB_PLAYBACK | VB_TIMESTAMP, LOG_INFO, LOC +
QString("video timecodes packet-pts:%1 frame-pts:%2 packet-dts: %3 frame-dts:%4")
.arg(pkt->pts).arg(mpa_pic->pts).arg(pkt->pts)
.arg(pkt->pts).arg(mpa_pic->pts).arg(pkt->dts)
.arg(mpa_pic->pkt_dts));

ProcessVideoFrame(context, curstream, mpa_pic);
Expand Down

0 comments on commit 9e44f37

Please sign in to comment.