Skip to content

Commit

Permalink
Remove the generic sample rate restriction
Browse files Browse the repository at this point in the history
  • Loading branch information
irieger committed May 16, 2024
1 parent 983439b commit fb0fa72
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/mxf_helper/MXFDescriptorHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,15 +137,6 @@ void MXFDescriptorHelper::SetEssenceType(EssenceType essence_type)
void MXFDescriptorHelper::SetSampleRate(mxfRational sample_rate)
{
BMX_ASSERT(!mFileDescriptor);
BMX_CHECK(sample_rate == FRAME_RATE_23976 ||
sample_rate == FRAME_RATE_24 ||
sample_rate == FRAME_RATE_25 ||
sample_rate == FRAME_RATE_2997 ||
sample_rate == FRAME_RATE_30 ||
sample_rate == FRAME_RATE_50 ||
sample_rate == FRAME_RATE_5994 ||
sample_rate == FRAME_RATE_60 ||
(IsSound() && sample_rate == SAMPLING_RATE_48K));

mSampleRate = sample_rate;
}
Expand Down

0 comments on commit fb0fa72

Please sign in to comment.