When using non-integer profile frame rate, supplying frame_rate on URL,
and not supplying frame_rate_base on URL.
// These are required by video4linux2 (defaults)
params->width = profile->width;
params->height = profile->height;
- params->time_base= (AVRational){ profile->frame_rate_den, profile->frame_rate_num };
+ if ( !strstr( URL, "&frame_rate" ) )
+ params->time_base = (AVRational){ profile->frame_rate_den, profile->frame_rate_num };
params->channels = 2;
params->sample_rate = 48000;