diff options
author | Sven Gothel <[email protected]> | 2017-12-26 02:41:27 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2017-12-26 02:41:27 +0100 |
commit | d1ca72fc4abfb5010ab6e8624ee349e111db9aa7 (patch) | |
tree | a1b95c3496a158a82d3c965f366eeaf8cd447723 /libhb | |
parent | cb1ae35aff104d89b7333d36180268686be8cd03 (diff) |
muxavformat: more verbose error msg
Diffstat (limited to 'libhb')
-rw-r--r-- | libhb/muxavformat.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libhb/muxavformat.c b/libhb/muxavformat.c index e9cea8e93..18e134588 100644 --- a/libhb/muxavformat.c +++ b/libhb/muxavformat.c @@ -1274,8 +1274,8 @@ static int avformatMux(hb_mux_object_t *m, hb_mux_data_t *track, hb_buffer_t *bu { char errstr[64]; av_strerror(ret, errstr, sizeof(errstr)); - hb_error("avformatMux: track %d, av_interleaved_write_frame failed with error '%s' (empty_pkt)", - track->st->index, errstr); + hb_error("avformatMux: track %d, av_interleaved_write_frame failed with error '%s' (empty_pkt, ret %d)", + track->st->index, errstr, ret); *job->done_error = HB_ERROR_UNKNOWN; *job->die = 1; return -1; @@ -1403,8 +1403,8 @@ static int avformatMux(hb_mux_object_t *m, hb_mux_data_t *track, hb_buffer_t *bu { char errstr[64]; av_strerror(ret < 0 ? ret : m->oc->pb->error, errstr, sizeof(errstr)); - hb_error("avformatMux: track %d, av_interleaved_write_frame failed with error '%s'", - track->st->index, errstr); + hb_error("avformatMux: track %d, av_interleaved_write_frame failed with error '%s' (ret %d, pb-err %d)", + track->st->index, errstr, ret, m->oc->pb->error); *job->done_error = HB_ERROR_UNKNOWN; *job->die = 1; return -1; |