Fix setting trackFirstmsFieldfirstMS using the correct value (and for live streams as well)
This commit is contained in:
		
							parent
							
								
									8b59c9abe7
								
							
						
					
					
						commit
						b37a431b41
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -2396,7 +2396,7 @@ namespace DTSC{
 | 
			
		|||
        t.keys.setInt(t.keyFirstPartField, 0, newKeyNum);
 | 
			
		||||
      }
 | 
			
		||||
      t.keys.addRecords(1);
 | 
			
		||||
      if (packBytePos){t.track.setInt(t.trackFirstmsField, t.keys.getInt(t.keyTimeField, 0));}
 | 
			
		||||
      t.track.setInt(t.trackFirstmsField, t.keys.getInt(t.keyTimeField, t.keys.getDeleted()));
 | 
			
		||||
 | 
			
		||||
      uint32_t newFragNum = t.fragments.getEndPos();
 | 
			
		||||
      if (newFragNum == 0 ||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue