fixing 64 bit value transfer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -764,7 +764,8 @@ bool wxQTMediaBackend::SetPosition(wxLongLong where)
|
|||||||
{
|
{
|
||||||
TimeRecord theTimeRecord;
|
TimeRecord theTimeRecord;
|
||||||
memset(&theTimeRecord, 0, sizeof(TimeRecord));
|
memset(&theTimeRecord, 0, sizeof(TimeRecord));
|
||||||
theTimeRecord.value.lo = where.GetValue();
|
theTimeRecord.value.lo = where.GetLo();
|
||||||
|
theTimeRecord.value.hi = where.GetHi();
|
||||||
theTimeRecord.scale = ::GetMovieTimeScale(m_movie);
|
theTimeRecord.scale = ::GetMovieTimeScale(m_movie);
|
||||||
theTimeRecord.base = ::GetMovieTimeBase(m_movie);
|
theTimeRecord.base = ::GetMovieTimeBase(m_movie);
|
||||||
::SetMovieTime(m_movie, &theTimeRecord);
|
::SetMovieTime(m_movie, &theTimeRecord);
|
||||||
|
Reference in New Issue
Block a user