File tree Expand file tree Collapse file tree
src/test/java/io/antmedia/test Expand file tree Collapse file tree Original file line number Diff line number Diff line change 155155import static org .bytedeco .ffmpeg .global .avcodec .AV_PKT_FLAG_KEY ;
156156import static org .bytedeco .ffmpeg .global .avcodec .av_init_packet ;
157157import static org .bytedeco .ffmpeg .global .avcodec .av_packet_alloc ;
158+ import static org .bytedeco .ffmpeg .global .avcodec .av_packet_free ;
158159import static org .bytedeco .ffmpeg .global .avcodec .av_packet_unref ;
159160import static org .bytedeco .ffmpeg .global .avformat .AVFMT_NOFILE ;
160161import static org .bytedeco .ffmpeg .global .avformat .av_read_frame ;
@@ -6730,7 +6731,7 @@ public void testFullQueueDropsOldestGop() throws Exception {
67306731
67316732 assertEquals (capacity - gop + 1 , queue .size ());
67326733 boolean headIsKeyFrame = (queue .peek ().flags () & AV_PKT_FLAG_KEY ) != 0 ;
6733- assertTrue ("head must be a keyframe after a GOP drop" , headIsKeyFrame );
6734+ assertTrue (headIsKeyFrame , "head must be a keyframe after a GOP drop" );
67346735
67356736 av_packet_free (src );
67366737 drainAndFree (queue );
You can’t perform that action at this time.
0 commit comments