NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 49 50 51 52 53 … 93 Next »
OSD Plugin Failure

 
  • 0 Vote(s) - 0 Average
OSD Plugin Failure
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#11
2006-10-10, 07:13 PM
Quote:Some googling reveals that in GDI, you can only keep handles to 10,000 GDI objects per process, then it crashes.
Yeah, I pretty much guessed that would be the case given your original description of the problem.

Quote:Are the handles to the Bitmaps or Graphics objects passed by render() stored anywhere?
No, they're released immediately after they're used, but given the way you test works, its probably just a matter of the garbage collection not getting a chance to run.
Snarky
Offline

Junior Member

Posts: 43
Threads: 7
Joined: Oct 2005
#12
2006-10-10, 11:05 PM
Hmm, well the crash occurs even if render() is only called once a second, too. It just takes three hours instead of three minutes. I think I tried forcing the garbage collection without it having any effect, but I'll stick some GC.Collect() statements back in and see if that might help.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#13
2006-10-10, 11:55 PM
I've changed the way things are done in this area for VMR9 in the next release, which seems to help your problem. I've just now compiled up you test plugin, and its been running for a while now, and just ticked pass "MinimalTest: Render 45158".

I'm curious, if you used a either the VMR9 Custom or Overlay, did you have this problem?
Snarky
Offline

Junior Member

Posts: 43
Threads: 7
Joined: Oct 2005
#14
2006-10-11, 01:06 AM (This post was last modified: 2006-10-11, 11:07 PM by Snarky.)
Hey, that's great! Thanks! I haven't tried the other renderers, I'll give that a shot in the mean time.

Edit: I tried the VMR7, Custom VMR9, and Overlay Manager renderers. In the custom renderer, the OSD doesn't show up at all. The overlay manager renderer runs fine without crashing, but very much slower than VMR9. VMR7 crashes in the same way as VMR9. For now, overlay provides an acceptable fallback, and I'm looking forward to the next version. Thanks again!
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): « Previous 1 2


Possibly Related Threads…
Thread Author Replies Views Last Post
  PIP plugin for Kodi sgilani 2 3,082 2022-10-17, 12:44 AM
Last Post: sgilani
  New Systems Plugin kirschey 10 3,556 2020-11-14, 08:01 PM
Last Post: sub
  VIdeo playback from plugin mvallevand 5 3,639 2015-08-06, 10:43 PM
Last Post: sub
  Attention Sub: Open TV / Custom Data Grabber plugin Benoire 2 3,001 2014-11-14, 02:05 AM
Last Post: Benoire
  API docs to help with plugin development? McBainUK 3 2,870 2013-06-08, 06:14 PM
Last Post: sub
  Refreshing TV Guide Data (after System plugin EPG update) imilne 13 6,321 2013-03-24, 08:03 PM
Last Post: imilne
  sabnzbd plugin to show processed files Wakalaka 1 2,026 2013-03-12, 06:48 AM
Last Post: psycik
  Plugin problems with started from the command line mvallevand 11 5,242 2012-08-12, 07:56 PM
Last Post: sub
  Get NextPVR data directory from outside a plugin McBainUK 3 2,335 2012-02-11, 05:42 PM
Last Post: mvallevand
  Weather Plugin imilne 0 1,498 2012-01-15, 08:33 PM
Last Post: imilne

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode