From 3f59deabc6f14c64983aa681904217a676b1d882 Mon Sep 17 00:00:00 2001 From: Comment Date: Tue, 1 Oct 2013 03:37:08 +0100 Subject: very painful debugging --- rotord/src/libavwrapper.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'rotord/src/libavwrapper.cpp') 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 "<