h += 210;
if( indexable->is_asset ) {
Asset *asset = (Asset *)indexable;
- if( asset->format == FILE_MPEG ||
- asset->format == FILE_FFMPEG ) h += 42;
+ if( File::can_scale_input(asset) )
+ h += 42;
}
}
return h;
add_subwindow(win_height);
y += win_height->get_h() + 5;
- if( asset && (asset->format == FILE_MPEG || asset->format == FILE_FFMPEG ) ) {
+ if( asset && File::can_scale_input(asset) ) {
y += 5;
x = x1;
add_subwindow(new BC_Title(x, y, _("Actual width:")));