diff options
author | jstebbins <[email protected]> | 2009-07-09 16:36:17 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2009-07-09 16:36:17 +0000 |
commit | 766df9ffa24851ca6523311484c426c126eb6ee2 (patch) | |
tree | 87a7732e7c37e45cd9cdb5afe18561fe45f51726 /libhb/ports.h | |
parent | 68dc5bceabe811f180c525c2d1b2f19edf1bd6cd (diff) |
libhb: DVD drive region detection on linux
Read and log the region mask of the DVD drive.
We get the occasional linux user that has an unset region. Logging
the region will help isolate the problem more quickly.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2675 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/ports.h')
-rw-r--r-- | libhb/ports.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libhb/ports.h b/libhb/ports.h index c544f19a6..0f3697f0d 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] ); |