X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc_config.h;h=64d902739ada68fe42bee6501e4398bf79651a88;hb=cf255cfb0ea09fd15c8dbaeccc03380eb9a282a9;hp=6471acd8432be0499776bb5f68adefd9e43c1aab;hpb=9da70ef6b0967720f993d91c87e222b5e2f37927;p=vlc diff --git a/include/vlc_config.h b/include/vlc_config.h index 6471acd843..64d902739a 100644 --- a/include/vlc_config.h +++ b/include/vlc_config.h @@ -19,9 +19,13 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/ +#if !defined( __LIBVLC__ ) + #error You are not libvlc or one of its plugins. You cannot include this file +#endif + /* Conventions regarding names of symbols and variables * ---------------------------------------------------- * @@ -45,9 +49,9 @@ #define THREAD_COND_TIMEOUT 1 /* The configuration file and directory */ -#ifdef SYS_BEOS +#if defined (SYS_BEOS) # define CONFIG_DIR "config/settings/VideoLAN Client" -#elif SYS_DARWIN +#elif defined (__APPLE__) # define CONFIG_DIR "Library/Preferences/VLC" #elif defined( WIN32 ) || defined( UNDER_CE ) # define CONFIG_DIR "vlc" @@ -72,6 +76,10 @@ * Input thread configuration *****************************************************************************/ +#define DEFAULT_INPUT_ACTIVITY 1 +#define DIRECTORY_ACTIVITY 100 +#define TRANSCODE_ACTIVITY 10 + /* Used in ErrorThread */ #define INPUT_IDLE_SLEEP ((mtime_t)(0.100*CLOCK_FREQ))