summaryrefslogtreecommitdiff
path: root/test/vainfo
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2011-08-01 08:41:37 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2011-08-01 08:42:18 +0800
commited70532ce5957957159bde8eff952b4deac6f8dc (patch)
treed2e588722a6857ba4216479ce0ace0f6b20cd298 /test/vainfo
parent998402473bebbea0e66e8df51f253afce99702a4 (diff)
downloadlibva-ed70532ce5957957159bde8eff952b4deac6f8dc.tar.gz
vainfo: silence compiler warning
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Diffstat (limited to 'test/vainfo')
-rw-r--r--test/vainfo/vainfo.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/vainfo/vainfo.c b/test/vainfo/vainfo.c
index 997a050..54f70a2 100644
--- a/test/vainfo/vainfo.c
+++ b/test/vainfo/vainfo.c
@@ -44,6 +44,7 @@ if (va_status != VA_STATUS_SUCCESS) { \
static char * profile_string(VAProfile profile)
{
switch (profile) {
+ case VAProfileNone: return "VAProfileNone";
case VAProfileMPEG2Simple: return "VAProfileMPEG2Simple";
case VAProfileMPEG2Main: return "VAProfileMPEG2Main";
case VAProfileMPEG4Simple: return "VAProfileMPEG4Simple";
@@ -56,8 +57,10 @@ static char * profile_string(VAProfile profile)
case VAProfileVC1Main: return "VAProfileVC1Main";
case VAProfileVC1Advanced: return "VAProfileVC1Advanced";
case VAProfileH263Baseline: return "VAProfileH263Baseline";
+ case VAProfileJPEGBaseline: return "VAProfileJPEGBaseline";
case VAProfileH264ConstrainedBaseline: return "VAProfileH264ConstrainedBaseline";
- case VAProfileNone: return "VAProfileNone";
+ default:
+ break;
}
return "<unknown profile>";
}
@@ -72,7 +75,10 @@ static char * entrypoint_string(VAEntrypoint entrypoint)
case VAEntrypointMoComp:return "VAEntrypointMoComp";
case VAEntrypointDeblocking:return "VAEntrypointDeblocking";
case VAEntrypointEncSlice:return "VAEntrypointEncSlice";
+ case VAEntrypointEncPicture:return "VAEntrypointEncPicture";
case VAEntrypointVideoProc:return "VAEntrypointVideoProc";
+ default:
+ break;
}
return "<unknown entrypoint>";
}