[mythtv] HDTV subchannels not tuning in current cvs

Wendy Seltzer wendy at seltzer.com
Thu Jan 27 18:40:34 EST 2005


Thanks very much Doug,
That fixes it for me.

--Wendy

At 5:57 PM -0500 1/27/05, Doug Larrick wrote:
>Content-Type: multipart/signed; micalg=pgp-sha1;
>	protocol="application/pgp-signature";
>	boundary="------------enig3D6696ADF5F2FE8D5AC0B83D"
>
>Wendy Seltzer wrote:
>>  From today's cvs, I can't tune subchannels other than 1 in US HDTV.
>
>I think I see the problem.  The recently-applied patch (21-Jan) "ATSC
>major_minor channel selection patch from John Poet" is incorrect.  It is
>confusing the major channel number with the FCC (broadcast) frequency.
>Can you try out the attached (untested) patch and see if it fixes the
>problem?
>
>I actually don't believe we have the information in the current database
>to do what he wants to do.  But when we switch ATSC over to the new DVB
>schema, we should be able to fix this right.
>
>-Doug
>
>
>Index: libs/libmythtv/hdtvrecorder.cpp
>===================================================================
>RCS file: /var/lib/mythcvs/mythtv/libs/libmythtv/hdtvrecorder.cpp,v
>retrieving revision 1.36
>diff -u -r1.36 hdtvrecorder.cpp
>--- libs/libmythtv/hdtvrecorder.cpp	21 Jan 2005 08:03:22 -0000	1.36
>+++ libs/libmythtv/hdtvrecorder.cpp	27 Jan 2005 22:56:21 -0000
>@@ -921,7 +921,7 @@
>      int pos = freqid.find('-');
>      if (pos != -1)
>      {
>-        desired_channel = atoi(freqid.left(pos));
>+        desired_channel = -1;
>          desired_subchannel = atoi(freqid.mid(pos+1).ascii());
>      }
>      else
>
>Content-Type: application/pgp-signature; name="signature.asc"
>Content-Description: OpenPGP digital signature
>Content-Disposition: attachment; filename="signature.asc"
>
>Attachment converted:  wmsmac:signature 286.asc (????/----) (00211553)
>_______________________________________________
>mythtv-dev mailing list
>mythtv-dev at mythtv.org
>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


-- 
--
Wendy Seltzer -- wendy at seltzer.com || wendy at eff.org
Staff Attorney, Electronic Frontier Foundation
Fellow, Berkman Center for Internet & Society at Harvard Law School
http://cyber.law.harvard.edu/seltzer.html


More information about the mythtv-dev mailing list