projects
/
synfig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd49940
)
Default illegal parameters in TargetParam.
author
Diego Barrios Romero
<eldruin@gmailcom>
Tue, 23 Feb 2010 01:23:27 +0000
(
02:23
+0100)
committer
Diego Barrios Romero
<eldruin@gmailcom>
Tue, 23 Feb 2010 01:23:27 +0000
(
02:23
+0100)
synfig-core/src/synfig/targetparam.h
patch
|
blob
|
history
diff --git
a/synfig-core/src/synfig/targetparam.h
b/synfig-core/src/synfig/targetparam.h
index
adf905d
..
05c815d
100644
(file)
--- a/
synfig-core/src/synfig/targetparam.h
+++ b/
synfig-core/src/synfig/targetparam.h
@@
-33,7
+33,13
@@
namespace synfig {
struct TargetParam
{
- TargetParam () { }
+ //! Default constructor
+ /*! Not valid default values, if they are not modified before
+ * passing them to the target module, it would override them with
+ * its own valid default settings.
+ */
+ TargetParam (): video_codec("none"), bitrate(-1) { }
+
TargetParam (const std::string& Video_codec, int Bitrate):
video_codec(Video_codec), bitrate(Bitrate)
{ }