Skip to content

Commit

Permalink
updated Python bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
dusty-nv committed Jun 15, 2020
1 parent 50622d4 commit 9bd7daa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/bindings/PyVideo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ static PyObject* PyVideoOutput_GetFrameRate( PyVideoOutput_Object* self )
return NULL;
}

return PYLONG_FROM_UNSIGNED_LONG(self->output->GetFrameRate());
return PyFloat_FromDouble(self->output->GetFrameRate());
}

// PyVideoOutput_IsStreaming
Expand Down

0 comments on commit 9bd7daa

Please sign in to comment.