msg("video: %dx%d, fps %f\n", video->width, video->height, video->fps);
i->video = video;
msg("video: %dx%d, fps %f\n", video->width, video->height, video->fps);
i->video = video;
i->samplerate = atoi(value);
} else if(!strcmp(name, "framerate")) {
i->framerate = atof(value);
i->samplerate = atoi(value);
} else if(!strcmp(name, "framerate")) {
i->framerate = atof(value);