*/
#include "tracklength.h"
-#include "speaker-protocol.h"
-
/* Ugh. It turns out that libxml tries to define a function called
* `attribute', and it's included by GStreamer for some unimaginable reason.
* So undefine it here. We'll want GCC attributes for special effects, but
switch(gst_discoverer_info_get_result(info)) {
case GST_DISCOVERER_OK:
t = gst_discoverer_info_get_duration(info);
- length = (t + 500000000)/1000000000;
+ length = (t + GST_SECOND/2)/GST_SECOND;
break;
case GST_DISCOVERER_TIMEOUT:
disorder_info("discovery timed out probing `%s'", path);