Skip to content

Commit

Permalink
Disable postprocessing for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jun 15, 2011
1 parent d702822 commit 4cd0092
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion theoraplay.c
Expand Up @@ -256,7 +256,8 @@ static void WorkerThread(TheoraDecoder *ctx)
// Set decoder to maximum post-processing level.
// Theoretically we could try dropping this level if we're not keeping up.
int pp_level_max = 0;
th_decode_ctl(tdec, TH_DECCTL_GET_PPLEVEL_MAX, &pp_level_max, sizeof(pp_level_max));
// !!! FIXME: maybe an API to set this?
//th_decode_ctl(tdec, TH_DECCTL_GET_PPLEVEL_MAX, &pp_level_max, sizeof(pp_level_max));
th_decode_ctl(tdec, TH_DECCTL_SET_PPLEVEL, &pp_level_max, sizeof(pp_level_max));
} // if

Expand Down

0 comments on commit 4cd0092

Please sign in to comment.