mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 15:02:43 +02:00
Revert "return false in decoder have no time"
This reverts commit 6f006f1ce9026cccddfe87a88fb3ebaa1f6a9e98.
Origin commit data
------------------
Branch: master
Commit: 88d4c165ec
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-11-12 (Sun, 12 Nov 2017)
------------------
This commit was generated by Migit
This commit is contained in:
committed by
TangoCash
parent
ce9bbe1248
commit
77afaff304
@@ -821,7 +821,6 @@ bool cPlayback::GetPosition(int &position, int &duration)
|
||||
if (!GST_CLOCK_TIME_IS_VALID(pts))
|
||||
{
|
||||
lt_info( "%s - %d failed\n", __FUNCTION__, __LINE__);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -829,7 +828,6 @@ bool cPlayback::GetPosition(int &position, int &duration)
|
||||
if(!gst_element_query_position(m_gst_playbin, fmt, &pts))
|
||||
{
|
||||
lt_info( "%s - %d failed\n", __FUNCTION__, __LINE__);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
position = pts / 1000000.0;
|
||||
|
Reference in New Issue
Block a user