# HG changeset patch # User bcoudurier # Date 1206624631 0 # Node ID 3cf24d58a8a9e35e0ebbae9b58e35b3ada676758 # Parent 50b9615fbfd6bb0b414a2a127d0b9f3ffb95e747 print essence path in error message diff -r 50b9615fbfd6 -r 3cf24d58a8a9 mov.c --- a/mov.c Thu Mar 27 13:20:12 2008 +0000 +++ b/mov.c Thu Mar 27 13:30:31 2008 +0000 @@ -1259,8 +1259,8 @@ if (sc->dref_id-1 < sc->drefs_count && sc->drefs[sc->dref_id-1].path) { if (url_fopen(&sc->pb, sc->drefs[sc->dref_id-1].path, URL_RDONLY) < 0) - av_log(c->fc, AV_LOG_ERROR, "stream %d, error opening external essence: %s\n", - st->index, strerror(errno)); + av_log(c->fc, AV_LOG_ERROR, "stream %d, error opening file %s: %s\n", + st->index, sc->drefs[sc->dref_id-1].path, strerror(errno)); } else sc->pb = c->fc->pb;