avfilter/vf_ssim: remove precision limits for metadata values
This commit is contained in:
parent
95b854dd06
commit
3300d718f7
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ FRAMESYNC_DEFINE_CLASS(ssim, SSIMContext, fs);
|
|||
static void set_meta(AVDictionary **metadata, const char *key, char comp, float d)
|
||||
{
|
||||
char value[128];
|
||||
snprintf(value, sizeof(value), "%0.2f", d);
|
||||
snprintf(value, sizeof(value), "%f", d);
|
||||
if (comp) {
|
||||
char key2[128];
|
||||
snprintf(key2, sizeof(key2), "%s%c", key, comp);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue