Guest User

Disable vdp_decoder_query_capabilities check

a guest
Jul 25th, 2013
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.00 KB | None | 0 0
  1. diff --git a/modules/hw/vdpau/avcodec.c b/modules/hw/vdpau/avcodec.c
  2. index 8c027d3..bf8bc8a 100644
  3. --- a/modules/hw/vdpau/avcodec.c
  4. +++ b/modules/hw/vdpau/avcodec.c
  5. @@ -316,7 +316,7 @@ static int Open(vlc_va_t *va, int codec, const es_format_t *fmt)
  6.      }
  7.      msg_Dbg(va, "video surface supported maximum: %s %"PRIu32"x%"PRIu32,
  8.              "YUV 4:2:0", width, height);
  9. -
  10. +/*
  11.      if (vdp_decoder_query_capabilities(sys->vdp, sys->device, profile,
  12.                          &support, &lvl, &mb, &width, &height) != VDP_STATUS_OK)
  13.          support = VDP_FALSE;
  14. @@ -328,7 +328,7 @@ static int Open(vlc_va_t *va, int codec, const es_format_t *fmt)
  15.          goto error;
  16.      }
  17.      msg_Dbg(va, "decoding profile supported maximum: %"PRIu32".%"PRIu32" mb %"
  18. -            PRIu32", %"PRIu32"x%"PRIu32, profile, lvl, mb, width, height);
  19. +            PRIu32", %"PRIu32"x%"PRIu32, profile, lvl, mb, width, height);*/
  20.  
  21.      const char *infos;
  22.      if (vdp_get_information_string(sys->vdp, &infos) != VDP_STATUS_OK)
Advertisement
Add Comment
Please, Sign In to add comment