Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 262019 | Differences between
and this patch

Collapse All | Expand All

(-)ZoneMinder-1.24.1/src/zm_remote_camera_http.cpp (+23 lines)
Lines 356-361 int RemoteCamera::GetResponse() Link Here
356
							format = JPEG;
356
							format = JPEG;
357
							state = CONTENT;
357
							state = CONTENT;
358
						}
358
						}
359
						else if ( !strcasecmp( content_type, "image/mpeg" ) )
360
						{
361
							// Single image
362
							mode = SINGLE_IMAGE;
363
							format = JPEG;
364
							state = CONTENT;
365
366
						}
359
						else if ( !strcasecmp( content_type, "image/x-rgb" ) )
367
						else if ( !strcasecmp( content_type, "image/x-rgb" ) )
360
						{
368
						{
361
							// Single image
369
							// Single image
Lines 453-458 int RemoteCamera::GetResponse() Link Here
453
					{
461
					{
454
						format = JPEG;
462
						format = JPEG;
455
					}
463
					}
464
					else if ( !strcasecmp( content_type, "image/mpeg" ) )
465
					{
466
						format = JPEG;
467
					}
456
					else if ( !strcasecmp( content_type, "image/x-rgb" ) )
468
					else if ( !strcasecmp( content_type, "image/x-rgb" ) )
457
					{
469
					{
458
						format = X_RGB;
470
						format = X_RGB;
Lines 783-788 int RemoteCamera::GetResponse() Link Here
783
							format = JPEG;
795
							format = JPEG;
784
							state = CONTENT;
796
							state = CONTENT;
785
						}
797
						}
798
						else if ( !strcasecmp( content_type, "image/mpeg" ) )
799
						{
800
							// Single image
801
							mode = SINGLE_IMAGE;
802
							format = JPEG;
803
							state = CONTENT;
804
						}
786
						else if ( !strcasecmp( content_type, "image/x-rgb" ) )
805
						else if ( !strcasecmp( content_type, "image/x-rgb" ) )
787
						{
806
						{
788
							// Single image
807
							// Single image
Lines 947-952 int RemoteCamera::GetResponse() Link Here
947
					{
966
					{
948
						format = JPEG;
967
						format = JPEG;
949
					}
968
					}
969
					else if ( !strcasecmp( content_type, "image/mpeg" ) )
970
					{
971
						format = JPEG;
972
					}
950
					else if ( !strcasecmp( content_type, "image/x-rgb" ) )
973
					else if ( !strcasecmp( content_type, "image/x-rgb" ) )
951
					{
974
					{
952
						format = X_RGB;
975
						format = X_RGB;

Return to bug 262019