add context_to_name func for logging
Originally committed as revision 13610 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
		
							parent
							
								
									2d73e6c8d7
								
							
						
					
					
						commit
						778346e3da
					
				@ -512,7 +512,12 @@ void img_resample_close(ImgReSampleContext *s)
 | 
			
		||||
    av_free(s);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static const AVClass context_class = { "imgresample", NULL, NULL };
 | 
			
		||||
static const char *context_to_name(void* ptr)
 | 
			
		||||
{
 | 
			
		||||
    return "imgconvert";
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static const AVClass context_class = { "imgresample", context_to_name, NULL };
 | 
			
		||||
 | 
			
		||||
struct SwsContext *sws_getContext(int srcW, int srcH, int srcFormat,
 | 
			
		||||
                                  int dstW, int dstH, int dstFormat,
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user