Skip to content

Commit

Permalink
Use Mlt::Profile::set_display_aspect().
Browse files Browse the repository at this point in the history
  • Loading branch information
ddennedy committed Sep 8, 2014
1 parent f6860f3 commit c457ace
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/mltcontroller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -431,9 +431,8 @@ void Controller::setProfile(const QString& profile_name)
m_profile->set_height(tmp.height());
m_profile->set_progressive(tmp.progressive());
m_profile->set_sample_aspect(tmp.sample_aspect_num(), tmp.sample_aspect_den());
m_profile->set_display_aspect(tmp.display_aspect_num(), tmp.display_aspect_den());
m_profile->set_width(tmp.width());
m_profile->get_profile()->display_aspect_num = tmp.display_aspect_num();
m_profile->get_profile()->display_aspect_den = tmp.display_aspect_den();
m_profile->set_explicit(!profile_name.isEmpty());
restart();
}
Expand Down

0 comments on commit c457ace

Please sign in to comment.