|
From: Jean-Francois P. <pan...@co...> - 2004-07-06 07:31:00
|
The following patch to lib/mvhd.c sets the preferred_volume property to
1.0 instead of
0.996094, this seems to better match what is output by QuickTime.
--- mvhd.c.orig 2004-07-06 00:29:03.000000000 -0700
+++ mvhd.c 2004-07-06 00:29:27.000000000 -0700
@@ -38,8 +38,7 @@
mvhd->time_scale = 600;
mvhd->duration = 0;
mvhd->preferred_rate = 1.0;
- mvhd->preferred_volume = 0.996094; //EH ?!
- //mvhd->preferred_volume = 1.0;
+ mvhd->preferred_volume = 1.0;
for(i = 0; i < 10; i++) mvhd->reserved[i] = 0;
oqt_matrix_init(&(mvhd->matrix));
mvhd->preview_time = 0;
JF
|