[MPlayer-cvslog] r32019 - trunk/libmpcodecs/ve_xvid4.c
cehoyos
subversion at mplayerhq.hu
Thu Aug 26 20:44:14 CEST 2010
Author: cehoyos
Date: Thu Aug 26 20:44:14 2010
New Revision: 32019
Log:
Print a warning, but allow to encode to a non-supported frame rate with
libxvid.
Patch by Carl Eric Codere, cecodere yahoo ca
Modified:
trunk/libmpcodecs/ve_xvid4.c
Modified: trunk/libmpcodecs/ve_xvid4.c
==============================================================================
--- trunk/libmpcodecs/ve_xvid4.c Thu Aug 26 20:42:47 2010 (r32018)
+++ trunk/libmpcodecs/ve_xvid4.c Thu Aug 26 20:44:14 2010 (r32019)
@@ -1004,10 +1004,9 @@ static int set_create_struct(xvid_mplaye
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 */
More information about the MPlayer-cvslog
mailing list