in

andy vt's tools & blog

automating lazy

ComSkip CheckZoom() causes 100% CPU utilization

Last post Sun, Mar 10 2013 3:42 PM by babgvant. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • Sat, Mar 9 2013 9:06 AM

    • dlkay0
    • Not Ranked
    • Joined on Sun, Mar 18 2012

    ComSkip CheckZoom() causes 100% CPU utilization

    When AutoZoom is enabled in the DTB ComSkip Addin v1.2.2.3 and I start watching a Recorded TVshow, CheckZoom is called and it quickly begins consuming 100% ofCPU resources because ToggleZoom has no effect and the 10 retries are exhausted.  There is no way out of the while() loop after the 10 retries are exhausted.

    This is on Vista Ultimate 64-bit.  Here's the debug log output.  After just a few seconds of playing the video, the log is over 90MB.

     3/9/2013 8:40:46 AM : Started: uniqueid = c371d427-d64e-4baf-81a8-10535e0dfa1e, reportedShowLength = 0
    3/9/2013 8:40:46 AM : PictAspectRatioX: 4 isAtsc: True treatTv: False
    3/9/2013 8:40:46 AM : begin cZoom: 0 dZoom: -1
    3/9/2013 8:40:46 AM : atsc zoom: 2
    3/9/2013 8:40:46 AM : Send Zoom Key
    3/9/2013 8:40:46 AM : autoskip = True, lastposition = 0, tracktime = 5
    3/9/2013 8:40:46 AM : PollCurrentPosition: current = 5, noskip = 0, isPlaying = True
    3/9/2013 8:40:46 AM : end cZoom: 2 dZoom: 3 tried: 1
    3/9/2013 8:40:46 AM : begin cZoom: 2 dZoom: 3
    3/9/2013 8:40:46 AM : atsc zoom: 2
    3/9/2013 8:40:46 AM : Send Zoom Key
    3/9/2013 8:40:46 AM : end cZoom: 2 dZoom: 3 tried: 2
    3/9/2013 8:40:46 AM : begin cZoom: 2 dZoom: 3
    3/9/2013 8:40:46 AM : atsc zoom: 2
    3/9/2013 8:40:46 AM : Send Zoom Key
    3/9/2013 8:40:47 AM : end cZoom: 2 dZoom: 3 tried: 3
    3/9/2013 8:40:47 AM : begin cZoom: 2 dZoom: 3
    3/9/2013 8:40:47 AM : atsc zoom: 2
    3/9/2013 8:40:47 AM : Send Zoom Key
    3/9/2013 8:40:47 AM : end cZoom: 2 dZoom: 3 tried: 4
    3/9/2013 8:40:47 AM : begin cZoom: 2 dZoom: 3
    3/9/2013 8:40:47 AM : atsc zoom: 2
    3/9/2013 8:40:47 AM : Send Zoom Key
    3/9/2013 8:40:47 AM : end cZoom: 2 dZoom: 3 tried: 5
    3/9/2013 8:40:47 AM : begin cZoom: 2 dZoom: 3
    3/9/2013 8:40:47 AM : atsc zoom: 2
    3/9/2013 8:40:47 AM : Send Zoom Key
    3/9/2013 8:40:47 AM : end cZoom: 2 dZoom: 3 tried: 6
    3/9/2013 8:40:47 AM : begin cZoom: 2 dZoom: 3
    3/9/2013 8:40:47 AM : atsc zoom: 2
    3/9/2013 8:40:47 AM : Send Zoom Key
    3/9/2013 8:40:47 AM : end cZoom: 2 dZoom: 3 tried: 7
    3/9/2013 8:40:47 AM : begin cZoom: 2 dZoom: 3
    3/9/2013 8:40:47 AM : atsc zoom: 2
    3/9/2013 8:40:47 AM : Send Zoom Key
    3/9/2013 8:40:47 AM : end cZoom: 2 dZoom: 3 tried: 8
    3/9/2013 8:40:47 AM : begin cZoom: 2 dZoom: 3
    3/9/2013 8:40:47 AM : atsc zoom: 2
    3/9/2013 8:40:47 AM : Send Zoom Key
    3/9/2013 8:40:47 AM : end cZoom: 2 dZoom: 3 tried: 9
    3/9/2013 8:40:47 AM : begin cZoom: 2 dZoom: 3
    3/9/2013 8:40:47 AM : atsc zoom: 2
    3/9/2013 8:40:47 AM : Send Zoom Key
    3/9/2013 8:40:47 AM : end cZoom: 2 dZoom: 3 tried: 10
    3/9/2013 8:40:47 AM : begin cZoom: 2 dZoom: 3
    3/9/2013 8:40:47 AM : atsc zoom: 2
    3/9/2013 8:40:47 AM : end cZoom: 2 dZoom: 3 tried: 10
    3/9/2013 8:40:47 AM : begin cZoom: 2 dZoom: 3
    3/9/2013 8:40:47 AM : atsc zoom: 2
    3/9/2013 8:40:47 AM : end cZoom: 2 dZoom: 3 tried: 10
    3/9/2013 8:40:47 AM : begin cZoom: 2 dZoom: 3
    3/9/2013 8:40:47 AM : atsc zoom: 2
    3/9/2013 8:40:47 AM : end cZoom: 2 dZoom: 3 tried: 10
    3/9/2013 8:40:47 AM : begin cZoom: 2 dZoom: 3
    3/9/2013 8:40:47 AM : atsc zoom: 2
    3/9/2013 8:40:47 AM : end cZoom: 2 dZoom: 3 tried: 10
    3/9/2013 8:40:47 AM : begin cZoom: 2 dZoom: 3
    3/9/2013 8:40:47 AM : atsc zoom: 2
    3/9/2013 8:40:47 AM : end cZoom: 2 dZoom: 3 tried: 10

    -Darrek
  • Sun, Mar 10 2013 7:33 AM In reply to

    • babgvant
    • Top 10 Contributor
    • Joined on Tue, Oct 3 2006
    • United Kingdom

    Re: ComSkip CheckZoom() causes 100% CPU utilization

    So the zoom mode shortcut doesn't work on Vista?

  • Sun, Mar 10 2013 12:32 PM In reply to

    • dlkay0
    • Not Ranked
    • Joined on Sun, Mar 18 2012

    Re: ComSkip CheckZoom() causes 100% CPU utilization

    I cannot find any key on the keyboard that modifies the current "zoom" setting.

    I can only adjust the zoom through the Info menu.

     

    -DK

     

  • Sun, Mar 10 2013 3:42 PM In reply to

    • babgvant
    • Top 10 Contributor
    • Joined on Tue, Oct 3 2006
    • United Kingdom

    Re: ComSkip CheckZoom() causes 100% CPU utilization

    Looks like they removed it. That's too bad.

    I added some code to break out of the while, but since it doesn't work anymore (used to be control+shift+z) clearly there's no benefit to enabling the feature in DTB.

Page 1 of 1 (4 items)
@2008 andy vt
Powered by Community Server (Non-Commercial Edition), by Telligent Systems