@@ -247,10 +247,17 @@ void sub2video_update(InputStream *ist, AVSubtitle *sub)
end_pts = av_rescale_q(sub->pts + sub->end_display_time * 1000LL,
AV_TIME_BASE_Q, ist->st->time_base);
num_rects = sub->num_rects;
+ av_log(ist->dec_ctx, AV_LOG_WARNING,
+ "normal AVSubtitle: utilized values: pts=%"PRId64",
end_pts=%"PRId64", "
+ "num_rects=%d\n",
+ pts, end_pts, num_rects);
} else {
pts = ist->sub2video.end_pts;
end_pts = INT64_MAX;
num_rects = 0;
+ av_log(ist->dec_ctx, AV_LOG_WARNING,
+ "nullptr AVSubtitle: utilized values: pts=%"PRId64",
end_pts=%"PRId64"\n",
+ pts, end_pts);
}