VSE: Add sound strip retiming support #105072
|
@ -251,7 +251,7 @@ bool SequenceHandle::seek(double position)
|
|||
double target_frame = 0;
|
||||
if(pitch_property != nullptr)
|
||||
{
|
||||
int frame_start = m_entry->m_begin * m_entry->m_sequence_data->getFPS();
|
||||
int frame_start = (m_entry->m_begin + m_entry->m_skip) * m_entry->m_sequence_data->getFPS();
|
||||
iss marked this conversation as resolved
Outdated
|
||||
int i = 0;
|
||||
while(seek_frame > 0)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Since this is just an integer loop, the fractal part of
seek_frame
is not considered. For more accurate seeking, I recommend to still consider it though.