X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=libhb%2Fports.h;h=0f3697f0def413ffec03e4426e0ca28d3b890a74;hb=1c9c75d452c8d15ee972b4c4612763f9b95b1790;hp=9c2143944ec2cad389cf14a78aa3b507a1a972fd;hpb=2707a4c05f84b3846e4e77ca4e9850cc61ffca10;p=handbrake-jp%2Fhandbrake-jp-git.git diff --git a/libhb/ports.h b/libhb/ports.h index 9c214394..0f3697f0 100644 --- a/libhb/ports.h +++ b/libhb/ports.h @@ -19,6 +19,11 @@ int hb_get_cpu_count(); /* Everything from now is only used internally and hidden to the UI */ /************************************************************************ + * DVD utils + ***********************************************************************/ +int hb_dvd_region(char *device, int *region_mask); + +/************************************************************************ * Files utils ***********************************************************************/ void hb_get_tempory_directory( hb_handle_t * h, char path[512] ); @@ -43,6 +48,9 @@ typedef struct hb_thread_s hb_thread_t; #elif defined( SYS_CYGWIN ) # define HB_LOW_PRIORITY 0 # define HB_NORMAL_PRIORITY 1 +#elif defined( SYS_MINGW ) +# define HB_LOW_PRIORITY 0 +# define HB_NORMAL_PRIORITY 0 #endif hb_thread_t * hb_thread_init( char * name, void (* function)(void *),