You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-06-03 16:24:53 +02:00
add context_to_name func for logging
Originally committed as revision 13610 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user