Commit 207395e1 authored by Adrian Georgescu's avatar Adrian Georgescu

Fixed showing video codec

parent 78db11b2
......@@ -171,7 +171,7 @@ class VideoStreamInfo(RTPStreamInfo):
@property
def codec(self):
return '{0.codec_name.decode()} {0.framerate:.3g}fps'.format(self) if self.codec_name else None
return '{} {}fps'.format(self.codec_name.decode(), int(self.framerate)) if self.codec_name else None
def update(self, stream):
super(VideoStreamInfo, self).update(stream)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment