Original commit message from CVS:
UNITS
case GST_FORMAT_TIME:
*dest_value = src_value * GST_SECOND / osssink->bps;
break;
- case GST_FORMAT_UNIT:
+ case GST_FORMAT_UNITS:
*dest_value = src_value / (osssink->channels * osssink->width);
break;
default:
case GST_FORMAT_BYTES:
*dest_value = src_value * osssink->bps / GST_SECOND;
break;
- case GST_FORMAT_UNIT:
+ case GST_FORMAT_UNITS:
*dest_value = osssink->frequency;
break;
default:
res = FALSE;
}
break;
- case GST_FORMAT_UNIT:
+ case GST_FORMAT_UNITS:
switch (*dest_format) {
case GST_FORMAT_DEFAULT:
*dest_format = GST_FORMAT_TIME;