TargetParam constructor with parameters.
authorDiego Barrios Romero <eldruin@gmailcom>
Sun, 21 Feb 2010 23:59:36 +0000 (00:59 +0100)
committerDiego Barrios Romero <eldruin@gmailcom>
Sun, 21 Feb 2010 23:59:36 +0000 (00:59 +0100)
synfig-core/src/synfig/targetparam.h

index c54f15a..adf905d 100644 (file)
@@ -33,6 +33,11 @@ namespace synfig {
 
 struct TargetParam
 {
+       TargetParam () { }
+       TargetParam (const std::string& Video_codec, int Bitrate):
+               video_codec(Video_codec), bitrate(Bitrate)
+       { }
+
        std::string video_codec;
        int bitrate;
 };