--- src/zm_remote_camera.cpp.orig 2008-01-31 12:40:17.134369426 +0100 +++ src/zm_remote_camera.cpp 2008-01-31 12:40:26.084504429 +0100 @@ -356,6 +356,14 @@ format = JPEG; state = CONTENT; } + else if ( !strcasecmp( content_type, "image/mpeg" ) ) + { + // Single image + mode = SINGLE_IMAGE; + format = JPEG; + state = CONTENT; + + } else if ( !strcasecmp( content_type, "image/x-rgb" ) ) { // Single image @@ -453,6 +461,10 @@ { format = JPEG; } + else if ( !strcasecmp( content_type, "image/mpeg" ) ) + { + format = JPEG; + } else if ( !strcasecmp( content_type, "image/x-rgb" ) ) { format = X_RGB; @@ -783,6 +795,13 @@ format = JPEG; state = CONTENT; } + else if ( !strcasecmp( content_type, "image/mpeg" ) ) + { + // Single image + mode = SINGLE_IMAGE; + format = JPEG; + state = CONTENT; + } else if ( !strcasecmp( content_type, "image/x-rgb" ) ) { // Single image @@ -947,6 +966,10 @@ { format = JPEG; } + else if ( !strcasecmp( content_type, "image/mpeg" ) ) + { + format = JPEG; + } else if ( !strcasecmp( content_type, "image/x-rgb" ) ) { format = X_RGB;