修正测试
This commit is contained in:
@@ -252,6 +252,10 @@ bool NodeKeyframe::load(QXmlStreamReader *reader, NodeValue::Type data_type)
|
||||
this->set_value(
|
||||
NodeValue::StringToValue(data_type, reader->readElementText(), true));
|
||||
|
||||
if (!key_input.isEmpty()) {
|
||||
this->set_input(key_input);
|
||||
}
|
||||
|
||||
this->set_bezier_control_in(key_in_handle);
|
||||
this->set_bezier_control_out(key_out_handle);
|
||||
|
||||
|
||||
@@ -71,11 +71,15 @@ VideoParams::VideoParams()
|
||||
: width_(0)
|
||||
, height_(0)
|
||||
, depth_(0)
|
||||
, time_base_(0)
|
||||
, format_(PixelFormat::INVALID)
|
||||
, channel_count_(0)
|
||||
, pixel_aspect_ratio_(1)
|
||||
, interlacing_(Interlacing::kInterlaceNone)
|
||||
, divider_(1)
|
||||
{
|
||||
calculate_effective_size();
|
||||
validate_pixel_aspect_ratio();
|
||||
set_defaults_for_footage();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user