int ret = av_interleaved_write_frame(m->oc, &empty_pkt);
if (ret < 0)
{
- hb_error("av_interleaved_write_frame failed!");
+ hb_error("av_interleaved_write_frame failed! - Subtitle -(%d)", ret);
*job->done_error = HB_ERROR_UNKNOWN;
*job->die = 1;
return -1;
// write errors (like disk full condition).
if (ret < 0 || m->oc->pb->error != 0)
{
- hb_error("av_interleaved_write_frame failed!");
+ hb_error("av_interleaved_write_frame failed! - IO -(%d)", ret);
*job->done_error = HB_ERROR_UNKNOWN;
*job->die = 1;
return -1;