[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[VCDImager Bugs/Devel] a bit of a hack for doing PBC
From: |
Matto Marjanovic |
Subject: |
[VCDImager Bugs/Devel] a bit of a hack for doing PBC |
Date: |
Mon, 23 Apr 2001 13:58:10 -0400 |
User-agent: |
SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.3 Emacs/20.7 (i386-debian-linux-gnu) MULE/4.0 (HANANOEN) |
Well, it's cleaner than a hack, but it's not completely the 'right way',
either, but it's getting the job done. I'll probably refine it over the
next couple of weeks (using it for a project), but maybe it will be
useful to someone now, or even handy for general distribution.
I wrote some code which adds a "--pcb-config" command-line option to
vcdimager which allows you to give a file which specifies a Playback
Control configuration --- so you can make up menus, etc. No XML is
involved, just a very simple group/keyword/value syntax (that looks
a lot like windows registry files, but that is just coincidence).
If "--pcb-config" is not specified, the original behavior is maintained.
You can specify 'tracks', 'entries', or 'segments', and it should construct
the PSD.VCD file appropriately, however there are currently no ways that
I know of to add segment items or extra entry points to a disk, and I
didn't attack that.
Attached is a patch file for vcdimager-0.6.0. It adds an extra option
to ./configure: "--with-pbc-config", which you need to specify to enable
the new code (which is otherwise #ifdef'd out of existence). The patch
file only modifies 'configure.in', so you must automake and autoconf
after applying it.
(The patch also adds three files to libvcd/, modifies some others, modifies
frontends/cli/vcdimager.c, and puts a descriptive sample configuration file
in frontends/cli/.)
Whoo-hoo!
matt m.
pcb-hack-0.0.patch.gz
Description: Binary data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [VCDImager Bugs/Devel] a bit of a hack for doing PBC,
Matto Marjanovic <=