Module: synfig
Branch: eldruin_ffmpeg2
Commit: 573a571d32fdbc60a726048cffd2ed412014c459
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=573a571d32fdbc60a726048cffd2ed412014c459
Author: Diego Barrios Romero <eldr...@gmailcom>
Date: Tue Feb 23 02:23:27 2010 +0100
Default illegal parameters in TargetParam.
---
synfig-core/src/synfig/targetparam.h | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/synfig-core/src/synfig/targetparam.h
b/synfig-core/src/synfig/targetparam.h
index adf905d..05c815d 100644
--- 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)
{ }
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl