Changeset e0ad269


Ignore:
Timestamp:
Nov 30, 2016, 5:14:38 PM (8 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, sampler, yinfft+
Children:
8b210a9
Parents:
2b3c438
Message:

src/io/source_avcodec.c: improve error messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/io/source_avcodec.c

    r2b3c438 re0ad269  
    352352
    353353  if (len < 0) {
    354     AUBIO_ERR("Error while decoding %s\n", s->path);
     354    AUBIO_ERR("source_avcodec: error while decoding %s\n", s->path);
    355355    goto beach;
    356356  }
    357357#endif
    358358  if (got_frame == 0) {
    359     //AUBIO_ERR("Could not get frame for (%s)\n", s->path);
     359    AUBIO_WRN("source_avcodec: did not get a frame when reading %s\n", s->path);
    360360    goto beach;
    361361  }
     
    371371        (uint8_t **)avFrame->data, in_linesize, in_samples);
    372372  if (out_samples <= 0) {
    373     //AUBIO_ERR("No sample found while converting frame (%s)\n", s->path);
     373    AUBIO_WRN("source_avcodec: no sample found while converting frame (%s)\n", s->path);
    374374    goto beach;
    375375  }
Note: See TracChangeset for help on using the changeset viewer.