GNOME Bugzilla – Bug 794592
adaptivedemux: Use bps units for connection-speed property
Last modified: 2018-03-22 14:07:15 UTC
Created attachment 369998 [details] [review] Use bps units for connection-speed property Using kbps units causes unnecessary conversions when setting the property and when using the value for bitrate comparisons.
Is there a reason for connection-speed property to be in kbps units? It is unnecessarily being converted to bps again, so I feel it is better for this property to be in bps units. Also, normally player applications will do their own bitrate calculations in bps units, so when it tries to use this property, they will also have to convert values to kbps units unnecessarily. Any advice will be helpful.
This change would not be backwards compatible, and it doesn't really seem worth it to me either :)
Okay, then is there any reason for it to be in kbps units?
All other connect-speed properties are in the same unit, and back in ancient times someone decided that way :)
Thanks for the patch, but I don't think we can change this now.