mpv: fire only one report when simple-exhaustible

This commit is contained in:
Justin Viiret
2016-04-06 15:06:48 +10:00
committed by Matthew Barr
parent 9852ac0091
commit 5354b7a5ca
6 changed files with 35 additions and 15 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015, Intel Corporation
* Copyright (c) 2015-2016, Intel Corporation
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -108,6 +108,9 @@ void dumpKilo(FILE *f, const mpv *m, const mpv_kilopuff *k) {
fprintf(f, " Puffette %u\n", i);
fprintf(f, " repeats: %u%s\n", p[i].repeats,
p[i].unbounded ? "," : "");
if (p[i].simple_exhaust) {
fprintf(f, " simple exhaustible\n");
}
fprintf(f, " report id: %u\n", p[i].report);
}