summaryrefslogtreecommitdiff
path: root/rotord/src
diff options
context:
space:
mode:
authorComment <tim@gray.(none)>2013-11-14 18:49:58 +0000
committerComment <tim@gray.(none)>2013-11-14 18:49:58 +0000
commit24bac52d70f35666150018f3133d1b8064539557 (patch)
tree348e240556a12fe07a1c2863cf6faee595d3ff0d /rotord/src
parentaf4536d52f6d6f095c42b3caa6a49a68966c1cc1 (diff)
print avcodec_open2 error code
Diffstat (limited to 'rotord/src')
-rw-r--r--rotord/src/libavwrapper.cpp2
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;
}