Changeset 10218 for trunk/gsdl/perllib/plugins/OggVorbisPlug.pm
- Timestamp:
- 2005-07-06T15:27:45+12:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/plugins/OggVorbisPlug.pm
r9853 r10218 35 35 36 36 sub BEGIN { 37 @ ISA = ('UnknownPlug');37 @OggVorbisPlug::ISA = ('UnknownPlug'); 38 38 } 39 39 … … 65 65 sub new 66 66 { 67 my $class = shift(@_); 68 69 my $self = new UnknownPlug($class, @_); 70 $self->{'plugin_type'} = "OggVorbisPlug"; 71 72 if (!parsargv::parse(\@_, 73 q^add_technical_metadata^, \$self->{'add_technical_metadata'}, 74 "allow_extra_options")) { 75 die "\nIncorrect options passed to OggVorbisPlug, check your collect.cfg configuration file\n"; 76 } 77 78 # To allow for proper inheritance of arguments 79 my $option_list = $self->{'option_list'}; 80 push(@{$option_list}, $options); 81 67 my ($class) = shift(@_); 68 my ($pluginlist,$inputargs,$hashArgOptLists) = @_; 69 push(@$pluginlist, $class); 70 71 if(defined $arguments){ push(@{$hashArgOptLists->{"ArgList"}},@{$arguments});} 72 if(defined $options) { push(@{$hashArgOptLists->{"OptList"}},$options)}; 73 74 my $self = (defined $hashArgOptLists)? new UnknownPlug($pluginlist,$inputargs,$hashArgOptLists): new UnknownPlug($pluginlist,$inputargs); 75 82 76 return bless $self, $class; 83 77 }
Note:
See TracChangeset
for help on using the changeset viewer.