Mercurial > mplayer.hg
diff libaf/af_center.c @ 29049:8c706ce21c6f
Remove af_msg special-casing API in libaf.
Replace it by standard mp_msg message system.
author | bircoph |
---|---|
date | Sat, 28 Mar 2009 19:57:56 +0000 |
parents | 72d0b1444141 |
children | 0f1b5b68af32 |
line wrap: on
line diff
--- a/libaf/af_center.c Sat Mar 28 19:24:08 2009 +0000 +++ b/libaf/af_center.c Sat Mar 28 19:57:56 2009 +0000 @@ -62,7 +62,7 @@ case AF_CONTROL_CENTER_CH | AF_CONTROL_SET: // Requires reinit // Sanity check if((*(int*)arg >= AF_NCH) || (*(int*)arg < 0)){ - af_msg(AF_MSG_ERROR,"[sub] Center channel number must be between " + mp_msg(MSGT_AFILTER, MSGL_ERR, "[sub] Center channel number must be between " " 0 and %i current value is %i\n", AF_NCH-1, *(int*)arg); return AF_ERROR; }