mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-10 16:00:46 +00:00
Simple pass over the codebase to standardize the platform types.
This commit is contained in:
parent
c75d6feb20
commit
4c35fd37af
189 changed files with 824 additions and 824 deletions
|
|
@ -150,8 +150,8 @@ class VideoEncoderTheora : public VideoEncoder, public Thread
|
|||
F64 videotime = th_granule_time(td,ogg_page_granulepos(&videopage));
|
||||
if (videotime > 0)
|
||||
{
|
||||
int hundredths=(int)(videotime*100-(long)videotime*100);
|
||||
int seconds=(long)videotime%60;
|
||||
S32 hundredths=(int)(videotime*100-(long)videotime*100);
|
||||
S32 seconds=(long)videotime%60;
|
||||
Platform::outputDebugString("Encoding time %g %02i.%02i", videotime, seconds, hundredths);
|
||||
}
|
||||
}
|
||||
|
|
@ -254,12 +254,12 @@ public:
|
|||
th_info_clear(&ti);
|
||||
|
||||
// This is needed for youtube compatibility
|
||||
int vp3_compatible = 1;
|
||||
S32 vp3_compatible = 1;
|
||||
th_encode_ctl(td, TH_ENCCTL_SET_VP3_COMPATIBLE, &vp3_compatible, sizeof(vp3_compatible));
|
||||
|
||||
// Set the encoder to max speed
|
||||
int speed_max;
|
||||
int ret;
|
||||
S32 speed_max;
|
||||
S32 ret;
|
||||
ret = th_encode_ctl(td, TH_ENCCTL_GET_SPLEVEL_MAX, &speed_max, sizeof(speed_max));
|
||||
if(ret<0){
|
||||
Platform::outputDebugString("VideoEncoderTheora::begin() - could not determine maximum speed level.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue