[mythtv] Ticket #7144: Multirec with HDHR closes video stream when recordings overlap
Daniel Kristjansson
danielk at cuymedia.net
Fri Sep 25 15:21:37 UTC 2009
On Fri, 2009-09-25 at 08:01 -0700, David Madsen wrote:
> > Changes (by danielk):
> >
> > * status: new => closed
> > * resolution: => fixed
> >
> >
> > Comment:
> >
> > (In [22036]) Fixes #7144. Fixes reference counting for stream handlers.
>
> The initial issue wasn't related to the stream counters, and is still
> a problem even after applying that simple fix.
>
> It looks like some other way needs to be used to detect whether the
> stream is in use in another virtual tuner to determine whether to put
> the tuner in low power state. I'm not sure of the best way to do that,
> whether it be through a private class member, or a HDHR library
> function.
The solution is probably just to ignore the EnterPowerSavingMode()
call in HDHRStreamHandler if the number of listeners indicates
multiple listeners & to send always enter power saving mode when
the number of listeners reaches zero.
> Sorry I probably should have split these issues into two separate bug filings.
Yeah, I was just looking at the mailing description when I committed the
fix. I didn't even have my browser open.
> Whoops looks like you just caught that too and reassigned the ticket.
> I am still seeing the bug marked as closed/fixed though. I wasn't
> able to re-open it, I'm not sure if someone with permissions needs to
> or if I'm just doing something wrong. :)
It's open now. I forgot that reassigning and opening need to be done
in two different steps with trac.
-- Daniel
More information about the mythtv-dev
mailing list