(M)JPG HTTP output support
This commit is contained in:
		
							parent
							
								
									ecd7e324dd
								
							
						
					
					
						commit
						eed71b66d4
					
				
					 10 changed files with 92 additions and 300 deletions
				
			
		| 
						 | 
				
			
			@ -381,6 +381,16 @@ namespace Mist{
 | 
			
		|||
          trueCodec = "JPEG";
 | 
			
		||||
          trueType = "video";
 | 
			
		||||
        }
 | 
			
		||||
        if (codec == "V_MS/VFW/FOURCC"){
 | 
			
		||||
          tmpElem = E.findChild(EBML::EID_CODECPRIVATE);
 | 
			
		||||
          if (tmpElem){
 | 
			
		||||
            std::string bitmapheader = tmpElem.getValStringUntrimmed();
 | 
			
		||||
            if (bitmapheader.substr(16, 4) == "MJPG"){
 | 
			
		||||
              trueCodec = "JPEG";
 | 
			
		||||
              trueType = "video";
 | 
			
		||||
            }
 | 
			
		||||
          }
 | 
			
		||||
        }
 | 
			
		||||
        if (codec == "A_PCM/FLOAT/IEEE"){
 | 
			
		||||
          trueCodec = "FLOAT";
 | 
			
		||||
          trueType = "audio";
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue