diff options
author | sr55 <[email protected]> | 2013-12-29 19:25:24 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2013-12-29 19:25:24 +0000 |
commit | 6be910a604b07801704fa4c48f40e0a949e7695c (patch) | |
tree | 3d8e0b7d48b3bf2a21ff547570c10ac89ebaf7df /libhb | |
parent | e087032ff8edb0441eafc225ae860503ce12f3d4 (diff) |
Print the av_interleaved_write_frame error code in muxavformat.c
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5943 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r-- | libhb/muxavformat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/muxavformat.c b/libhb/muxavformat.c index 6aeb5122e..862290ecf 100644 --- a/libhb/muxavformat.c +++ b/libhb/muxavformat.c @@ -1098,7 +1098,7 @@ static int avformatMux(hb_mux_object_t *m, hb_mux_data_t *track, hb_buffer_t *bu 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; @@ -1145,7 +1145,7 @@ static int avformatMux(hb_mux_object_t *m, hb_mux_data_t *track, hb_buffer_t *bu // 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; |