[mythtv-commits] Ticket #4343: SECAM-D/PAL-D are not supported in channel properties
MythTV
mythtv at cvs.mythtv.org
Sun Feb 10 13:11:45 UTC 2008
#4343: SECAM-D/PAL-D are not supported in channel properties
----------------------------+-----------------------------------------------
Reporter: Artem Astafyev | Owner: danielk
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: low | Resolution:
Mlocked: 0 |
----------------------------+-----------------------------------------------
Comment(by anonymous):
Replying to [comment:4 danielk]:
> Can you write the code for this in libs/libmythtv/channel.cpp ?
>
> It's very simple, just have a look at the format_to_mode() function on
line 118 and mode_to_format() function on line 178. Then add whatever
formats you add to these functions to the QStringList
ChannelTVFormat::GetFormats(void) list in
libs/libmythtv/channelsettings.cpp on line 136.
>
> FYI You will need to look up the "V4L version 1" document as well as the
document you linked to.
I've made the patch (against trunk r15814). Works with both v4l2 and v4l1.
I've tried not to break anything, so made call to corresponding functions
from mode_to_format and format_to_mode instead of modifying their calls.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/4343#comment:5>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list