Skip to content
Snippets Groups Projects

Resolves #343 GUI and Frame Refactor

Merged Nicolas Pope requested to merge feature/gui2 into master
Compare and Show latest version
15 files
+ 100
59
Compare changes
  • Side-by-side
  • Inline
Files
15
@@ -111,6 +111,7 @@ int main(int argc, char **argv) {
AVFormatContext *oc;
AVStream *video_st[10][2] = {nullptr};
// TODO: Remove in newer versions
av_register_all();
fmt = av_guess_format(NULL, outputfile.c_str(), NULL);
@@ -127,7 +128,11 @@ int main(int argc, char **argv) {
return -1;
}
oc->oformat = fmt;
// TODO: Use URL in newer versions
snprintf(oc->filename, sizeof(oc->filename), "%s", outputfile.c_str());
//oc->url = (char*)av_malloc(outputfile.size()+1);
//snprintf(oc->url, outputfile.size()+1, "%s", outputfile.c_str());
/* open the output file, if needed */
if (!(fmt->flags & AVFMT_NOFILE)) {
Loading