Fixed Ogg output Opus support
This commit is contained in:
parent
41842227fa
commit
b072ffb139
2 changed files with 13 additions and 6 deletions
|
@ -492,6 +492,8 @@ namespace OGG {
|
|||
tempGranule = (currentSegment.lastKeyFrameSeen << split) | currentSegment.framesSinceKeyFrame;
|
||||
} else if (codec == OGG::VORBIS){
|
||||
tempGranule = currentSegment.lastKeyFrameSeen;
|
||||
} else if (codec == OGG::OPUS){
|
||||
tempGranule = currentSegment.timeStamp*48;
|
||||
}
|
||||
return tempGranule;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue