File tree 2 files changed +6
-4
lines changed 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -2061,7 +2061,7 @@ pub enum CodecType {
2061
2061
LPCM , // QT
2062
2062
ALAC ,
2063
2063
H263 ,
2064
- HEVC ,
2064
+ HEVC , // 23008-2
2065
2065
#[ cfg( feature = "3gpp" ) ]
2066
2066
AMRNB ,
2067
2067
#[ cfg( feature = "3gpp" ) ]
@@ -5571,7 +5571,9 @@ fn read_video_sample_entry<T: Read>(src: &mut BMFFBox<T>) -> Result<SampleEntry>
5571
5571
protection_info. push ( sinf) ?;
5572
5572
}
5573
5573
BoxType :: HEVCConfigurationBox => {
5574
- if ( name != BoxType :: HEV1SampleEntry && name != BoxType :: HVC1SampleEntry )
5574
+ if ( name != BoxType :: HEV1SampleEntry
5575
+ && name != BoxType :: HVC1SampleEntry
5576
+ && name != BoxType :: ProtectedVisualSampleEntry )
5575
5577
|| codec_specific. is_some ( )
5576
5578
{
5577
5579
return Status :: StsdBadVideoSampleEntry . into ( ) ;
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ pub enum Mp4parseCodec {
100
100
Ec3 ,
101
101
Alac ,
102
102
H263 ,
103
- HEVC ,
103
+ Hevc ,
104
104
#[ cfg( feature = "3gpp" ) ]
105
105
AMRNB ,
106
106
#[ cfg( feature = "3gpp" ) ]
@@ -963,7 +963,7 @@ fn mp4parse_get_track_video_info_safe(
963
963
VideoCodecSpecific :: AV1Config ( _) => Mp4parseCodec :: Av1 ,
964
964
VideoCodecSpecific :: AVCConfig ( _) => Mp4parseCodec :: Avc ,
965
965
VideoCodecSpecific :: H263Config ( _) => Mp4parseCodec :: H263 ,
966
- VideoCodecSpecific :: HEVCConfig ( _) => Mp4parseCodec :: HEVC ,
966
+ VideoCodecSpecific :: HEVCConfig ( _) => Mp4parseCodec :: Hevc ,
967
967
#[ cfg( feature = "mp4v" ) ]
968
968
VideoCodecSpecific :: ESDSConfig ( _) => Mp4parseCodec :: Mp4v ,
969
969
#[ cfg( not( feature = "mp4v" ) ) ]
You can’t perform that action at this time.
0 commit comments