Skip to content

Commit

Permalink
when we change the scaling, we often need to change the csc module to…
Browse files Browse the repository at this point in the history
…o (current output dimensions of csc won't match the new video encoder's input dimensions)

git-svn-id: https://xpra.org/svn/Xpra/trunk@13664 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Sep 11, 2016
1 parent 57fc733 commit d6cfbdc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/xpra/server/window/window_video_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -928,6 +928,9 @@ def checknovideo(*info):
elif csce.get_src_width()!=csc_width or csce.get_src_height()!=csc_height:
scorelog("check_pipeline_score(%s) change of csc input dimensions from %ix%i to %ix%i", force_reload, csce.get_src_width(), csce.get_src_height(), csc_width, csc_height)
self.csc_encoder_clean()
elif csce.get_dst_width()!=enc_width or csce.get_dst_height()!=enc_height:
scorelog("check_pipeline_score(%s) change of csc ouput dimensions from %ix%i to %ix%i", force_reload, csce.get_dst_width(), csce.get_dst_height(), enc_width, enc_height)
self.csc_encoder_clean()
if ve is None:
pass #nothing to check or clean
elif ve.get_src_format()!=enc_in_format:
Expand Down

0 comments on commit d6cfbdc

Please sign in to comment.