Skip to content

Commit

Permalink
Updated debugging logs for the transcoder.
Browse files Browse the repository at this point in the history
  • Loading branch information
Keukhan committed Dec 4, 2024
1 parent 9320b34 commit 79a62e6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/projects/transcoder/filter/filter_fps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ bool FilterFps::Push(std::shared_ptr<MediaFrame> media_frame)

if ((scaled_pts - _last_input_scaled_pts) != 1 && _last_input_scaled_pts != AV_NOPTS_VALUE)
{
logtd("PTS is not continuous. lastPts(%lld/%lld) -> currPts(%lld/%lld)", _last_input_scaled_pts, _last_input_pts, scaled_pts, media_frame->GetPts());
// logtd("PTS is not continuous. lastPts(%lld/%lld) -> currPts(%lld/%lld)", _last_input_scaled_pts, _last_input_pts, scaled_pts, media_frame->GetPts());
}

_last_input_pts = media_frame->GetPts();
Expand Down
2 changes: 1 addition & 1 deletion src/projects/transcoder/filter/filter_resampler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ void FilterResampler::Stop()
{
_thread_work.join();

logtd("resampler filter thread has ended");
logtd("filter resampler thread has ended");
}

SetState(State::STOPPED);
Expand Down
2 changes: 2 additions & 0 deletions src/projects/transcoder/filter/filter_rescaler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,8 @@ void FilterRescaler::Stop()
if (_thread_work.joinable())
{
_thread_work.join();

logtd("filter rescaler thread has ended");
}

OV_SAFE_FUNC(_frame, nullptr, ::av_frame_free, &);
Expand Down

0 comments on commit 79a62e6

Please sign in to comment.