Skip to content

Commit

Permalink
fixed compilation error on VS2019
Browse files Browse the repository at this point in the history
  • Loading branch information
randaz81 committed Apr 14, 2021
1 parent 22a7954 commit 5313b2d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/carriers/libffmpeg_portmonitor/ffmpegPortmonitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ bool FfmpegMonitorObject::create(const yarp::os::Property& options)
firstTime = true;

// Set time base parameter
codecContext->time_base = (AVRational) { 1, 15 };
codecContext->time_base.num = 1;
codecContext->time_base.den = 15;
// Set command line params
if (setCommandLineParams() == -1)
return false;
Expand Down

0 comments on commit 5313b2d

Please sign in to comment.