bug-vcdimager
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[VCDImager Bugs/Devel] Re: SVCD


From: Mike Bernson
Subject: [VCDImager Bugs/Devel] Re: SVCD
Date: Thu, 09 Nov 2000 22:17:03 -0500

Here is a patch to add a command line to set the type
of disk to create vcd or svcd. I am string to create
the directory entries need for svcd. 

The dir format struct for svcd is:

root
|--SVCD
|       |-- INFO.VCD
        |-- ENTRIES.VCD
        |-- SEARCH.DAT
        |-- TRACKS.SVD
        |-- PSD.VCD
        |-- LOT.VCD
|--MPEG-2
        |-- AVSEQnn.MPEG
|--EXT
        |-- SCANDATA.DAT

This create 3 new files from vcd format plus
changing the directory names a little. The new
files Search.dat, tracks.svd, scandata.dta do
not have fixed sizes. Do you known If can create
them fixed size and just not use all the space.



Index: vcdimager.c
===================================================================
RCS file: /cvs/vcdimager/frontends/cli/vcdimager.c,v
retrieving revision 1.1
diff -r1.1 vcdimager.c
61a62
>   gboolean svcd_flag;
91c92
< 
---
>   gl.svcd_flag = 0;
98a100
> 
108a111,113
>       { "svcd", 's', POPT_ARG_NONE, &gl.svcd_flag, 0,
>       "Create an svcd cdrom disk (default: vcd)" },
> 
169a175
> 
172c178
<   gl_vcd_obj = vcd_obj_new(VCD_TYPE_VCD2);
---
>   gl_vcd_obj = vcd_obj_new(gl.svcd_flag ? VCD_TYPE_SVCD:VCD_TYPE_VCD2);

Attachment: vcdimager.c
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]