mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-12 18:59:59 +01:00
BugFix wrong initialization time counter
This commit is contained in:
@@ -1322,7 +1322,7 @@ GstFlowReturn MediaPlayer::callback_new_sample (GstAppSink *sink, gpointer p)
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
MediaPlayer::TimeCounter::TimeCounter()
|
MediaPlayer::TimeCounter::TimeCounter(): fps(1.f)
|
||||||
{
|
{
|
||||||
timer = g_timer_new ();
|
timer = g_timer_new ();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -872,7 +872,7 @@ GstFlowReturn Stream::callback_new_sample (GstAppSink *sink, gpointer p)
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
Stream::TimeCounter::TimeCounter()
|
Stream::TimeCounter::TimeCounter(): fps(1.f)
|
||||||
{
|
{
|
||||||
timer = g_timer_new ();
|
timer = g_timer_new ();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user