Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/azatoth/minidlna.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Maggard <jmaggard@users.sourceforge.net>2009-10-15 01:24:23 +0400
committerJustin Maggard <jmaggard@users.sourceforge.net>2009-10-15 01:24:23 +0400
commitcdcc90eceb3f62a0343ff9d4b134c6e581f0fec2 (patch)
tree1e4ef5c08ee91e462c12c78364f9a313768e3e59 /upnpglobalvars.h
parent15fc47b80d47362fa6482513bc48bf4c64840139 (diff)
* Make strict DLNA adherence optional. Many products appear to handle JPEGs >4096x4096 classified as JPEG_LRG, and it's better to not downscale if we don't have to.
Diffstat (limited to 'upnpglobalvars.h')
-rw-r--r--upnpglobalvars.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/upnpglobalvars.h b/upnpglobalvars.h
index 95ae571..0da3a41 100644
--- a/upnpglobalvars.h
+++ b/upnpglobalvars.h
@@ -76,8 +76,9 @@ extern time_t startup_time;
extern struct runtime_vars_s runtime_vars;
/* runtime boolean flags */
extern int runtime_flags;
-#define INOTIFYMASK 0x0001
-#define TIVOMASK 0x0002
+#define INOTIFY_MASK 0x0001
+#define TIVO_MASK 0x0002
+#define DLNA_STRICT_MASK 0x0004
#define SETFLAG(mask) runtime_flags |= mask
#define GETFLAG(mask) runtime_flags & mask