Skip to content

Commit

Permalink
Fix ffmpeg 2
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianFeldmann committed Apr 19, 2024
1 parent 71fa9b3 commit a59b0e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/ffmpegTest/ffmpegTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -299,10 +299,10 @@ TEST(FFmpegTest, DemuxPacketsAndCheckFFmpegCallbackLogs)

EXPECT_TRUE(libsAndLogs.containsLogEntry(
{LogLevel::Debug, "Got Packet with DTS -1024 PTS 0 Flags [Keyframe]"}));
if (majorVersion <= 55)
if (majorVersion == 55)
EXPECT_TRUE(
libsAndLogs.containsLogEntry({LogLevel::Debug, "nal_unit_type: 8, nal_ref_idc: 3\n"}));
else
else if (majorVersion > 55)
EXPECT_TRUE(
libsAndLogs.containsLogEntry({LogLevel::Debug, "nal_unit_type: 8(PPS), nal_ref_idc: 3\n"}));
EXPECT_TRUE(libsAndLogs.containsLogEntry({LogLevel::Debug, "stream 0, sample 0, dts -23220\n"}));
Expand Down

0 comments on commit a59b0e4

Please sign in to comment.