Merge branch 'development' into LTS_development
This commit is contained in:
		
						commit
						e00247af87
					
				
					 3 changed files with 5 additions and 1 deletions
				
			
		| 
						 | 
					@ -396,6 +396,8 @@ FLV::Tag::~Tag() {
 | 
				
			||||||
/// This operator checks for self-assignment.
 | 
					/// This operator checks for self-assignment.
 | 
				
			||||||
FLV::Tag & FLV::Tag::operator=(const FLV::Tag & O) {
 | 
					FLV::Tag & FLV::Tag::operator=(const FLV::Tag & O) {
 | 
				
			||||||
  if (this != &O) { //no self-assignment
 | 
					  if (this != &O) { //no self-assignment
 | 
				
			||||||
 | 
					    done = true;
 | 
				
			||||||
 | 
					    sofar = 0;
 | 
				
			||||||
    len = O.len;
 | 
					    len = O.len;
 | 
				
			||||||
    if (len > 0) {
 | 
					    if (len > 0) {
 | 
				
			||||||
      if (checkBufferSize()) {
 | 
					      if (checkBufferSize()) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -96,10 +96,12 @@ namespace Mist {
 | 
				
			||||||
    bench = Util::getMicros(bench);
 | 
					    bench = Util::getMicros(bench);
 | 
				
			||||||
    INFO_MSG("Header generated in %llu ms: @%lld, %s, %s", bench/1000, lastBytePos, myMeta.vod?"VoD":"NOVoD", myMeta.live?"Live":"NOLive");
 | 
					    INFO_MSG("Header generated in %llu ms: @%lld, %s, %s", bench/1000, lastBytePos, myMeta.vod?"VoD":"NOVoD", myMeta.live?"Live":"NOLive");
 | 
				
			||||||
    if (FLV::Parse_Error){
 | 
					    if (FLV::Parse_Error){
 | 
				
			||||||
 | 
					      tmpTag = FLV::Tag();
 | 
				
			||||||
      FLV::Parse_Error = false;
 | 
					      FLV::Parse_Error = false;
 | 
				
			||||||
      ERROR_MSG("Stopping at FLV parse error @%lld: %s", lastBytePos, FLV::Error_Str.c_str());
 | 
					      ERROR_MSG("Stopping at FLV parse error @%lld: %s", lastBytePos, FLV::Error_Str.c_str());
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    myMeta.toFile(config->getString("input") + ".dtsh");
 | 
					    myMeta.toFile(config->getString("input") + ".dtsh");
 | 
				
			||||||
 | 
					    Util::fseek(inFile, 13, SEEK_SET);
 | 
				
			||||||
    return true;
 | 
					    return true;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
| 
						 | 
					@ -126,6 +128,7 @@ namespace Mist {
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    if (FLV::Parse_Error){
 | 
					    if (FLV::Parse_Error){
 | 
				
			||||||
      FLV::Parse_Error = false;
 | 
					      FLV::Parse_Error = false;
 | 
				
			||||||
 | 
					      tmpTag = FLV::Tag();
 | 
				
			||||||
      FAIL_MSG("FLV error @ %lld: %s", lastBytePos, FLV::Error_Str.c_str());
 | 
					      FAIL_MSG("FLV error @ %lld: %s", lastBytePos, FLV::Error_Str.c_str());
 | 
				
			||||||
      thisPacket.null();
 | 
					      thisPacket.null();
 | 
				
			||||||
      return;
 | 
					      return;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -182,7 +182,6 @@ namespace Mist{
 | 
				
			||||||
    isInitialized = false;
 | 
					    isInitialized = false;
 | 
				
			||||||
    wantRequest = true;
 | 
					    wantRequest = true;
 | 
				
			||||||
    parseData= false;
 | 
					    parseData= false;
 | 
				
			||||||
    streamName.clear();
 | 
					 | 
				
			||||||
    myConn.close();
 | 
					    myConn.close();
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue