diff options
author | Hyunjun Ko <zzoonis@gmail.com> | 2015-09-21 21:03:03 +0900 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2015-09-21 14:16:53 +0200 |
commit | 2cbf74985adeeaee417be77761c5db57d05ebd4c (patch) | |
tree | 4da7e819488b192f8728288c889e27e073b86692 | |
parent | 69b68434355a7e330b69981e2e1c4c9958c44f96 (diff) |
tests: add missing change state "STATE_CHANGE_WARNING"
To avoid this error.
ERROR:player.c:167:test_player_state_change_get_name: code should not
be reached
-rw-r--r-- | tests/player.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/player.c b/tests/player.c index 1cb2326..045c8be 100644 --- a/tests/player.c +++ b/tests/player.c @@ -151,6 +151,8 @@ test_player_state_change_get_name (TestPlayerStateChange change) return "duration-changed"; case STATE_CHANGE_END_OF_STREAM: return "end-of-stream"; + case STATE_CHANGE_WARNING: + return "warning"; case STATE_CHANGE_ERROR: return "error"; case STATE_CHANGE_POSITION_UPDATED: |