summaryrefslogtreecommitdiff
path: root/audio/rebler/files/patch-rebler.cpp
blob: bd529f8c7549d1cf777f339249361d202740bb46 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
--- rebler.cpp.orig	Mon Aug  6 21:59:36 2001
+++ rebler.cpp	Wed Mar  6 12:03:42 2002
@@ -29,6 +29,7 @@
 ******************************************************************************/
 
 
+#include <vector>
 #include <string>
 #include <iostream>
 #include <fstream>
@@ -281,8 +282,8 @@
     void dumpCodec( const CodecInfo* ci )
         {
             cerr << "-------------------------------------------" << endl;
-            cerr << "Name       : " << ci->text << endl;
-            cerr << "About      : " << ci->about << endl;
+            cerr << "Name       : " << ci->GetName() << endl;
+            cerr << "About      : " << ci->GetAbout() << endl;
             cerr << "Win32DLL   : " << ci->dll << endl;
 //                cerr << "GUID       : " << ci->guid << endl;
             cerr << "module name: " << ci->modulename << endl;
@@ -325,8 +326,8 @@
                  iter != ci->encoder_info.end();
                  iter++)
             {
-                cerr << "  " << "name  : " << iter->name << endl;
-                cerr << "    " << "about : " << iter->about << endl;
+                cerr << "  " << "name  : " << iter->GetName() << endl;
+                cerr << "    " << "about : " << iter->GetAbout() << endl;
                 cerr << "    " << "kind  : ";
                 switch(iter->kind)
                 {
@@ -338,8 +339,8 @@
                 {
                     cerr << "Select from: ";
                     for( std::vector<std::string>::const_iterator i =
-                             iter->options.begin();
-                         i != iter->options.end();
+                             (std::vector<std::string>::const_iterator)iter->options.begin();
+                         i != (std::vector<std::string>::const_iterator)iter->options.end();
                          i++ )
                     {
                         cerr << *i << " ";