BugFix wrong initialization time counter

This commit is contained in:
Bruno Herbelin
2022-04-02 23:59:00 +02:00
parent dc1f1e02a1
commit 548aba5b7c
2 changed files with 2 additions and 2 deletions

View File

@@ -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 ();
} }

View File

@@ -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 ();
} }