# HG changeset patch # User cehoyos # Date 1282848254 0 # Node ID 93c67b51b17122285846a95373ec0987d4fd5e04 # Parent 0b29d0c8c62d6b8033e1d6000ad705f50e4b1d60 Print a warning, but allow to encode to a non-supported frame rate with libxvid. Patch by Carl Eric Codere, cecodere yahoo ca diff -r 0b29d0c8c62d -r 93c67b51b171 libmpcodecs/ve_xvid4.c --- a/libmpcodecs/ve_xvid4.c Thu Aug 26 18:42:47 2010 +0000 +++ b/libmpcodecs/ve_xvid4.c Thu Aug 26 18:44:14 2010 +0000 @@ -1004,10 +1004,9 @@ if( ((float)mod->mux->h.dwRate/(float)mod->mux->h.dwScale > (float)selected_profile->fps) && (selected_profile->fps != 0)) { - mp_msg(MSGT_MENCODER,MSGL_ERR, - "xvid:[ERROR] frame rate must be <= %d for the chosen profile\n", + mp_msg(MSGT_MENCODER,MSGL_WARN, + "xvid:[WARNING] frame rate should be <= %d for the chosen profile\n", selected_profile->fps); - return BAD; } /* Encodings zones */