@@ -547,8 +547,9 @@ public void testFullVideoStreamDeserialization() throws IOException {
547
547
assertEquals (31 , stream .getLevel ());
548
548
assertEquals ("left" , stream .getChromaLocation ());
549
549
assertEquals (1 , stream .getRefs ());
550
- assertEquals ("1 " , stream .getIsAvc ());
550
+ assertEquals ("true " , stream .getIsAvc ());
551
551
assertEquals ("4" , stream .getNalLengthSize ());
552
+ assertEquals ("0x1" , stream .getId ());
552
553
assertEquals (Fraction .getFraction (25 , 1 ), stream .getRFrameRate ());
553
554
assertEquals (Fraction .getFraction (25 , 1 ), stream .getAvgFrameRate ());
554
555
assertEquals (Fraction .getFraction (1 , 12800 ), stream .getTimeBase ());
@@ -565,7 +566,7 @@ public void testFullVideoStreamDeserialization() throws IOException {
565
566
assertEquals (0 , stream .getSampleRate ());
566
567
assertEquals (0 , stream .getChannels ());
567
568
assertNull (stream .getChannelLayout ());
568
- assertEquals (3 , stream .getTags ().size ());
569
+ assertEquals (4 , stream .getTags ().size ());
569
570
assertEquals ("und" , stream .getTags ().get ("language" ));
570
571
assertEquals (0 , stream .getSideDataList ().size ());
571
572
}
@@ -594,6 +595,7 @@ public void testFullAudioStreamDeserialization() throws IOException {
594
595
assertEquals (0 , stream .getRefs ());
595
596
assertNull (stream .getIsAvc ());
596
597
assertNull (stream .getNalLengthSize ());
598
+ assertEquals ("0x2" , stream .getId ());
597
599
assertEquals (Fraction .getFraction (0 , 1 ), stream .getRFrameRate ());
598
600
assertEquals (Fraction .getFraction (0 , 1 ), stream .getAvgFrameRate ());
599
601
assertEquals (Fraction .getFraction (1 , 48_000 ), stream .getTimeBase ());
@@ -610,7 +612,7 @@ public void testFullAudioStreamDeserialization() throws IOException {
610
612
assertEquals (48000 , stream .getSampleRate ());
611
613
assertEquals (6 , stream .getChannels ());
612
614
assertEquals ("5.1" , stream .getChannelLayout ());
613
- assertEquals (3 , stream .getTags ().size ());
615
+ assertEquals (4 , stream .getTags ().size ());
614
616
assertEquals ("und" , stream .getTags ().get ("language" ));
615
617
assertEquals (0 , stream .getSideDataList ().size ());
616
618
}
@@ -663,9 +665,13 @@ public void testDispositionWithAllFieldsTrueDeserialization() throws IOException
663
665
assertTrue (disposition .isVisualImpaired ());
664
666
assertTrue (disposition .isCleanEffects ());
665
667
assertTrue (disposition .isAttachedPic ());
668
+ assertTrue (disposition .isTimedThumbnails ());
669
+ assertTrue (disposition .isNonDiegetic ());
666
670
assertTrue (disposition .isCaptions ());
667
671
assertTrue (disposition .isDescriptions ());
668
672
assertTrue (disposition .isMetadata ());
673
+ assertTrue (disposition .isDependent ());
674
+ assertTrue (disposition .isStillImage ());
669
675
}
670
676
671
677
@ Test
0 commit comments