[MPlayer-dev-eng] [PATCH] tv config in file (load/save)

Ötvös Attila oattila at chello.hu
Sun Sep 9 18:17:56 CEST 2007


Hi All!

This patch realize load/save tv config options (store -tvscan found channels).

Default config file: tv.conf
Config file structure:
[global]
# tv options
driver=v4l2
device=/dev/video0
tdevice=/dev/vbi0
alsa=yes
# ...

[default]
# default options to channels

[1. BBC]
# channels settings
channels=e5
freqcorr=1

[2. CNN]
freq=455250

This patch need print-imgfmt-option.patch because crash in outfmt options.

TV config options don't rewrite setted options in command line or config.
saveconfig() don't store unsetted options (see saveall/nosaveall).

Now, this patch don't keep remarks in config file if saved :(

Best regards.
Attila
-------------- next part --------------
A non-text attachment was scrubbed...
Name: print-imgftm-option.patch
Type: text/x-diff
Size: 669 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070909/ccb01538/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tvconfig.patch
Type: text/x-diff
Size: 33933 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070909/ccb01538/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tvconfig-doc.patch
Type: text/x-diff
Size: 938 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070909/ccb01538/attachment-0002.patch>


More information about the MPlayer-dev-eng mailing list