Annotation of /trunk/recordmydesktop/patches/recordmydesktop-0.3.8.1-theora.patch
Parent Directory | Revision Log
Revision 1593 -
(hide annotations)
(download)
Fri Dec 2 10:36:25 2011 UTC (12 years, 9 months ago) by niro
File size: 2212 byte(s)
Fri Dec 2 10:36:25 2011 UTC (12 years, 9 months ago) by niro
File size: 2212 byte(s)
-added patch to fix runtime with new libtheora
1 | niro | 1593 | --- recordmydesktop-0.3.8.1.old/src/rmd_initialize_data.c 2009-11-25 10:05:58.708779029 -0500 |
2 | +++ recordmydesktop-0.3.8.1.old/src/rmd_initialize_data.c 2009-11-25 09:28:07.629507987 -0500 | ||
3 | @@ -224,7 +224,7 @@ | ||
4 | args->channels = 1; | ||
5 | args->frequency = 22050; | ||
6 | args->buffsize = 4096; | ||
7 | - args->v_bitrate = 45000; | ||
8 | + args->v_bitrate = 0; | ||
9 | args->v_quality = 63; | ||
10 | args->s_quality = 10; | ||
11 | |||
12 | --- recordmydesktop-0.3.8.1.old/src/rmd_parseargs.c 2009-11-25 10:06:07.409777969 -0500 | ||
13 | +++ recordmydesktop-0.3.8.1.old/src/rmd_parseargs.c 2009-11-25 09:39:32.786757292 -0500 | ||
14 | @@ -104,10 +104,10 @@ | ||
15 | "Encoding Options\n" | ||
16 | "\t--on-the-fly-encoding\tEncode the audio-video data, while recording.\n" | ||
17 | "\t--v_quality n\t\tA number from 0 to 63 for" | ||
18 | - " desired encoded video quality(default 63).\n" | ||
19 | + " desired encoded video quality(default 63).\n\t (set quality to zero for bitrate controlled usage)\n" | ||
20 | |||
21 | - "\t--v_bitrate n\t\tA number from 45000 to 2000000" | ||
22 | - " for desired encoded video bitrate(default 45000).\n" | ||
23 | + "\t--v_bitrate n\t\tA number from 0 to 200000000" | ||
24 | + " for desired encoded video bitrate(default 0 = not rate controlled).\n" | ||
25 | |||
26 | "\t--s_quality n\t\tDesired audio quality(-1 to 10).\n\n" | ||
27 | |||
28 | @@ -327,17 +327,17 @@ | ||
29 | strcmp(argv[i], "-v_bitrate") == 0) { | ||
30 | if(i+1<argc){ | ||
31 | int num=atoi(argv[i+1]); | ||
32 | - if((num>=45000)&&(num<=2000000)) | ||
33 | + if((num>=0)&&(num<=200000000)) | ||
34 | arg_return->v_bitrate=num; | ||
35 | else{ | ||
36 | fprintf(stderr,"Argument Usage:" | ||
37 | - " --v_bitrate n(number 45000-2000000)\n"); | ||
38 | + " --v_bitrate n(number 0-200000000)\n"); | ||
39 | return FALSE; | ||
40 | } | ||
41 | } | ||
42 | else{ | ||
43 | fprintf(stderr,"Argument Usage:" | ||
44 | - " --v_bitrate n(number 45000-2000000)\n"); | ||
45 | + " --v_bitrate n(number 0-200000000)\n"); | ||
46 | return FALSE; | ||
47 | } | ||
48 | i++; |