MCPcopy Create free account
hub / github.com/Cpasjuste/pplay / getVideoBitrate

Method getVideoBitrate

src/player/mpv.cpp:191–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189}
190
191int Mpv::getVideoBitrate() {
192 double bitrate = 0;
193 mpv_get_property(handle, "video-bitrate", MPV_FORMAT_DOUBLE, &bitrate);
194 return (int) bitrate;
195}
196
197int Mpv::getAudioBitrate() {
198 double bitrate = 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected