Merge remote-tracking branch 'tangocash/master'

Origin commit data
------------------
Branch: master
Commit: 67e62be48e
Author: max_10 <max_10@gmx.de>
Date: 2017-12-10 (Sun, 10 Dec 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
max_10
2017-12-10 20:44:32 +01:00
2 changed files with 104 additions and 50 deletions

View File

@@ -896,7 +896,7 @@ bool cPlayback::SetPosition(int position, bool absolute)
time_nanoseconds = position * 1000000.0;
}
gst_element_seek(m_gst_playbin, 1.0, GST_FORMAT_TIME, GST_SEEK_FLAG_FLUSH, GST_SEEK_TYPE_SET, time_nanoseconds, GST_SEEK_TYPE_NONE, GST_CLOCK_TIME_NONE);
gst_element_seek(m_gst_playbin, 1.0, GST_FORMAT_TIME, (GstSeekFlags)(GST_SEEK_FLAG_FLUSH | GST_SEEK_FLAG_ACCURATE), GST_SEEK_TYPE_SET, time_nanoseconds, GST_SEEK_TYPE_NONE, GST_CLOCK_TIME_NONE);
}
return true;