View Single Post
Old 07-19-10, 02:10 PM   #5
crisalide
Registered User
 
Join Date: Dec 2008
Posts: 173
Default Re: VDPAU: Error detected 0 3793

Right, that's it:
Code:
this->scaling_level_max = this->scaling_level_current = 0;
#ifdef VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L1
  VdpBool hqscaling;
  for ( i=0; i<9; ++i ) {
    st = vdp_video_mixer_query_feature_support( vdp_device, VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L1 + i, &hqscaling );
    if ( ( st != VDP_STATUS_OK ) || !hqscaling ) {
      /*printf("unsupported scaling quality=%d\n", i);*/
      break;
    }
    else {
      /*printf("supported scaling quality=%d\n", i);*/
      ++this->scaling_level_max;
    }
  }
#endif
I assume this is not an error, or is there any other way to know scaling_level_max?
Thanx.
crisalide is offline   Reply With Quote