diff options
| author | Comment <tim@gray.(none)> | 2013-11-14 18:49:58 +0000 |
|---|---|---|
| committer | Comment <tim@gray.(none)> | 2013-11-14 18:49:58 +0000 |
| commit | 24bac52d70f35666150018f3133d1b8064539557 (patch) | |
| tree | 348e240556a12fe07a1c2863cf6faee595d3ff0d /rotord/src/libavwrapper.cpp | |
| parent | af4536d52f6d6f095c42b3caa6a49a68966c1cc1 (diff) | |
print avcodec_open2 error code
Diffstat (limited to 'rotord/src/libavwrapper.cpp')
| -rw-r--r-- | rotord/src/libavwrapper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rotord/src/libavwrapper.cpp b/rotord/src/libavwrapper.cpp index aa4ddba..e70fddc 100644 --- a/rotord/src/libavwrapper.cpp +++ b/rotord/src/libavwrapper.cpp @@ -474,7 +474,7 @@ bool libav::exporter::open_video(AVFormatContext *oc, AVCodec *codec, AVStream * } if (ret < 0) { //string e=av_err2str(ret); - cerr<<"Could not open video codec"<<endl; + cerr<<"Could not open video codec, avcodec_open2 returned "<<ret<<endl; return false; } |
