Commit 92e2c8f8 authored by Karl Heyes's avatar Karl Heyes
Browse files

added theora stats

svn path=/icecast/trunk/icecast/; revision=8354
parent 9fd0b297
......@@ -90,6 +90,17 @@ static refbuf_t *process_theora_page (ogg_state_t *ogg_info, ogg_codec_t *codec,
header_page = 1;
if (codec->headers == 3)
ogg_info->bitrate += theora->ti.target_bitrate;
stats_event_args (ogg_info->mount, "video_bitrate", "%ld",
stats_event_args (ogg_info->mount, "frame_size", "%ld x %ld",
stats_event_args (ogg_info->mount, "framerate", "%.2f",
if (codec->headers < 3)
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