From: Rodeo Date: Fri, 14 Jun 2013 20:18:41 +0000 (+0000) Subject: Improve an error message. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=94b72c36165ec6ee003569ca74e3ef27c708cd8a;p=handbrake Improve an error message. git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5578 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- diff --git a/libhb/enc_qsv.c b/libhb/enc_qsv.c index 2cea94a41..6693b6f01 100644 --- a/libhb/enc_qsv.c +++ b/libhb/enc_qsv.c @@ -645,8 +645,17 @@ int encqsvInit( hb_work_object_t * w, hb_job_t * job ) (profile != PROFILE_BASELINE) && (hb_qsv_info->features & HB_QSV_FEATURE_DECODE_TIMESTAMPS) == 0) { - hb_error("encqsvInit: MediaSDK < 1.6, unsupported feature B-frames in MP4 container;" - " please update your driver, use the MKV container or Baseline profile"); + if (hb_qsv_info->cpu_platform == HB_CPU_PLATFORM_INTEL_SNB) + { + // hardware is too old, updating the driver won't help + hb_error("encqsvInit: MediaSDK < 1.6, B-frames in MP4 container not supported;" + " please try newer hardware, use the MKV container or Baseline profile"); + } + else + { + hb_error("encqsvInit: MediaSDK < 1.6, B-frames in MP4 container not supported;" + " please update your driver, use the MKV container or Baseline profile"); + } *job->die = 1; return -1; }