summaryrefslogtreecommitdiff
path: root/rotord
diff options
context:
space:
mode:
authorComment <tim@gray.(none)>2013-10-01 03:37:08 +0100
committerComment <tim@gray.(none)>2013-10-01 03:37:08 +0100
commit3f59deabc6f14c64983aa681904217a676b1d882 (patch)
treebb8c69264ccd63e9bea32135e4eb44ebe989732b /rotord
parent252224c0263c3b1d125ea221a78547fe051ee0e2 (diff)
very painful debugging
Diffstat (limited to 'rotord')
-rw-r--r--rotord/src/libavwrapper.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/rotord/src/libavwrapper.cpp b/rotord/src/libavwrapper.cpp
index dee8d47..1376d02 100644
--- a/rotord/src/libavwrapper.cpp
+++ b/rotord/src/libavwrapper.cpp
@@ -141,7 +141,7 @@ bool libav::exporter::record(std::string filename){
// allocate the output media context //
avformat_alloc_output_context2(&oc, NULL, NULL, filename.c_str());
- rintf("exporter 2.\n");
+ printf("exporter 2.\n");
if (!oc) {
printf("Could not deduce output format from file extension: using MPEG.\n");
@@ -152,7 +152,7 @@ bool libav::exporter::record(std::string filename){
}
fmt = oc->oformat;
- rintf("exporter 3.\n");
+ printf("exporter 3.\n");
// Add the audio and video streams using the default format codecs
// * and initialize the codecs. //
@@ -169,7 +169,7 @@ bool libav::exporter::record(std::string filename){
audio_st = add_stream(oc, &audio_codec, fmt->audio_codec);
}
- rintf("exporter 4.\n");
+ printf("exporter 4.\n");
//set initial video params
video_st->codec->width=w;
@@ -205,7 +205,7 @@ bool libav::exporter::record(std::string filename){
std::cerr << "opened audio codec with "<<audioframesize<<" frame size and "<<audiostep<<" seconds per frame"<<std::endl;
}
- rintf("exporter 5.\n");
+ printf("exporter 5.\n");
av_dump_format(oc, 0, filename.c_str(), 1);