diff --git a/tests/test_decoding.py b/tests/test_decoding.py
index <HASH>..<HASH> 100755
--- a/tests/test_decoding.py
+++ b/tests/test_decoding.py
@@ -126,7 +126,7 @@ class TestDecoding(unittest.TestCase):
         self.assertEqual(decoder.mime_type(), self.expected_mime_type)
 
         try:
-            self.assertEqual(totalframes, self.expected_totalframes)
+            self.assertIn(totalframes, [self.expected_totalframes, self.expected_totalframes +32])
         except AssertionError:
             self.assertEqual(totalframes, self.expected_totalframes + 32)    
         input_duration = decoder.input_totalframes / decoder.input_samplerate
Support variability of frames number in Gstreamer ogg in test_decoding - 2nd try