Skip to content

Commit

Permalink
class/type confusion (bad naming!)
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@4300 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Sep 7, 2013
1 parent bf0e491 commit 09fb29b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/xpra/codecs/vpx/decoder.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/xpra/codecs/vpx/encoder.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 09fb29b

Please sign in to comment.