Pārlūkot izejas kodu

chore: fix eof of music not repeating the audio, fixes #362

Almamu 1 gadu atpakaļ
vecāks
revīzija
e63f47de5b
1 mainītis faili ar 0 papildinājumiem un 4 dzēšanām
  1. 0 4
      src/WallpaperEngine/Audio/AudioStream.cpp

+ 0 - 4
src/WallpaperEngine/Audio/AudioStream.cpp

@@ -42,10 +42,6 @@ int audio_read_thread (void* arg) {
             continue;
         }
 
-        if (ret != 0) {
-            sLog.error ("Cannot read audio packet: ", av_err2str (ret));
-        }
-
         // TODO: PROPERLY IMPLEMENT THIS
         if (packet->stream_index == stream->getAudioStream ())
             stream->queuePacket (packet);