From 09fb29b0e2527c8baa4fca05aa6863a0cee2f432 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Sat, 7 Sep 2013 05:56:59 +0000 Subject: [PATCH] class/type confusion (bad naming!) git-svn-id: https://xpra.org/svn/Xpra/trunk@4300 3bb7dfac-3a0b-4e04-842a-767bc560f471 --- src/xpra/codecs/vpx/decoder.pyx | 2 +- src/xpra/codecs/vpx/encoder.pyx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xpra/codecs/vpx/decoder.pyx b/src/xpra/codecs/vpx/decoder.pyx index f7e5fb12c5..a51410a747 100644 --- a/src/xpra/codecs/vpx/decoder.pyx +++ b/src/xpra/codecs/vpx/decoder.pyx @@ -103,7 +103,7 @@ def get_spec(colorspace): #ratings: quality, speed, setup cost, cpu cost, gpu cost, latency, max_w, max_h, max_pixels #quality: we only handle YUV420P but this is already accounted for by get_colorspaces() based score calculations #setup cost is reasonable (usually about 5ms) - return codec_spec(Decoder, codec_class="vpx", setup_cost=40) + return codec_spec(Decoder, codec_type="vpx", setup_cost=40) cdef vpx_img_fmt_t get_vpx_colorspace(colorspace): assert colorspace in COLORSPACES diff --git a/src/xpra/codecs/vpx/encoder.pyx b/src/xpra/codecs/vpx/encoder.pyx index d9f7f70899..ace896ef85 100644 --- a/src/xpra/codecs/vpx/encoder.pyx +++ b/src/xpra/codecs/vpx/encoder.pyx @@ -110,7 +110,7 @@ def get_spec(colorspace): #ratings: quality, speed, setup cost, cpu cost, gpu cost, latency, max_w, max_h, max_pixels #quality: we only handle YUV420P but this is already accounted for by get_colorspaces() based score calculations #setup cost is reasonable (usually about 5ms) - return codec_spec(Encoder, codec_class="vpx", setup_cost=40) + return codec_spec(Encoder, codec_type="vpx", setup_cost=40) cdef vpx_img_fmt_t get_vpx_colorspace(colorspace): assert colorspace in COLORSPACES