59a35fe1f6 
								
							
								 
							
						 
						
							
							
								
								tests/api-h264-slice-test: use the correct function to free the AVHashContext  
							
							Fixes memleaks.
Signed-off-by: James Almer <jamrial@gmail.com> 
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fb7925ba2f 
								
							
								 
							
						 
						
							
							
								
								fate: add api-h264-slice test  
							
							This test ensures that you are able to send N number of slice NALUs in slice threaded mode to be decoded simultaneously 
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								71fa82bed6 
								
							
								 
							
						 
						
							
							
								
								lavu/threadmessage: add av_thread_message_queue_nb_elems()  
							
							
								
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								89029bd2c7 
								
							
								 
							
						 
						
							
							
								
								lav*,tests: remove several register_all calls  
							
							avdevice_register_all() is still required to register devices into
lavf (this is required due to lavd being somewhat of a hack).
Signed-off-by: Josh de Kock <josh@itanimul.li> 
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cdd3048134 
								
							
								 
							
						 
						
							
							
								
								tests: do not use AVFrame accessor  
							
							Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com> 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ff17c76e92 
								
							
								 
							
						 
						
							
							
								
								tests/api-seek: fix memory leak on realloc() failure  
							
							Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com> 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bdd07d7796 
								
							
								 
							
						 
						
							
							
								
								test/api-seek: clean up properly on failure  
							
							Also propagate better error values.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com> 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								88deeb3eba 
								
							
								 
							
						 
						
							
							
								
								tests/api-seek: make the crc array uint32_t  
							
							Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com> 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7679c38b3b 
								
							
								 
							
						 
						
							
							
								
								tests/api/api-seek-test: check all compute_crc_of_packets() calls  
							
							Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5952b8da0b 
								
							
								 
							
						 
						
							
							
								
								tests/api/api-seek-test: Silence compiler warnings about uninitialized variables  
							
							Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								108db37586 
								
							
								 
							
						 
						
							
							
								
								tests/api/api-seek-test: Fix use of uinitialized value  
							
							Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a86fe0d738 
								
							
								 
							
						 
						
							
							
								
								tests/api: add .gitignore  
							
							Fixes regression since 5d48e4eafa 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dfbb5de172 
								
							
								 
							
						 
						
							
							
								
								tests/api/api-codec-param-test: Do not directly access caps_internal  
							
							The caps_internal field has moved without major bump and direct
access causes crashes, found when testing 3.1
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bd0a9f603d 
								
							
								 
							
						 
						
							
							
								
								fate/api-codec-param: fix codec context leak  
							
							
								
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dc97ff8380 
								
							
								 
							
						 
						
							
							
								
								fate/api: add w32+os2 support for fate-api-threadmessage  
							
							
								
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a26e4215b9 
								
							
								 
							
						 
						
							
							
								
								fate/api: test threadmessage  
							
							
								
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								46db068c59 
								
							
								 
							
						 
						
							
							
								
								tests/api: Fix API test build on windows with --enable-shared  
							
							
								
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								39290f2715 
								
							
								 
							
						 
						
							
							
								
								fate: add FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM tests  
							
							
								
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c2f861ca42 
								
							
								 
							
						 
						
							
							
								
								Replace remaining occurances of av_free_packet with av_packet_unref  
							
							
								
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4a9bc12fe7 
								
							
								 
							
						 
						
							
							
								
								fate: add api-band-test  
							
							Works only for flv, h263 and huffyuv decoders.
Makes only one pass through the file (this should be changed to two passes)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e23a01c06d 
								
							
								 
							
						 
						
							
							
								
								api-seek-test: first version  
							
							Works only with video stream.
First pass without seeking -- counts crcs of a frames and store it in an array.
After that it seeks a lot in different places and checks if crcs of these frames and crcs of frames in array are the same.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8ec89681af 
								
							
								 
							
						 
						
							
							
								
								tests/api/api-h264-test: structure changes to avoid duplicate code  
							
							Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ca3b274552 
								
							
								 
							
						 
						
							
							
								
								api-h264-test: build with another api test  
							
							Location of api-h264-test changed to special directory for api tests.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								02bd4d93c9 
								
							
								 
							
						 
						
							
							
								
								fate/api-tests: Added dependency on $(FF_DEP_LIBS)  
							
							This ensures they are built before the tests are run.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								86fb203246 
								
							
								 
							
						 
						
							
							
								
								api-flac-test: Fix the bug of comparing zero bytes  
							
							Add check for linesize.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7728d231a6 
								
							
								 
							
						 
						
							
							
								
								fate/api-tests: Move api-flac-test to API tests directory.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3f18cb97e5 
								
							
								 
							
						 
						
							
							
								
								fate/api-tests: Add directory and Makefile for API tests  
							
							The intention of this change is to allow separation of API tests from the
existing tests, and also to have a place for the API test source/executable
files so they're not mixed in with the actual library code.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						10 years ago