mirror of
				https://github.com/ossrs/srs.git
				synced 2025-03-09 15:49:59 +00:00 
			
		
		
		
	Refine SrsFragment.duration in time unit.
This commit is contained in:
		
							parent
							
								
									0879bef9b2
								
							
						
					
					
						commit
						bc1189caee
					
				
					 8 changed files with 109 additions and 29 deletions
				
			
		| 
						 | 
				
			
			@ -24,6 +24,10 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 | 
			
		|||
#ifndef SRS_UTEST_PUBLIC_SHARED_HPP
 | 
			
		||||
#define SRS_UTEST_PUBLIC_SHARED_HPP
 | 
			
		||||
 | 
			
		||||
// Public all private and protected members.
 | 
			
		||||
#define private public
 | 
			
		||||
#define protected public
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
#include <srs_utest.hpp>
 | 
			
		||||
*/
 | 
			
		||||
| 
						 | 
				
			
			@ -36,10 +40,6 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 | 
			
		|||
// we add an empty macro for upp to show the smart tips.
 | 
			
		||||
#define VOID
 | 
			
		||||
 | 
			
		||||
// Public all private and protected members.
 | 
			
		||||
#define private public
 | 
			
		||||
#define protected public
 | 
			
		||||
 | 
			
		||||
// the asserts of gtest:
 | 
			
		||||
//    * {ASSERT|EXPECT}_EQ(expected, actual): Tests that expected == actual
 | 
			
		||||
//    * {ASSERT|EXPECT}_NE(v1, v2):           Tests that v1 != v2
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue