Fixed FPS issues on RTSP
This commit is contained in:
parent
5e3df09831
commit
82809b4617
1 changed files with 1 additions and 2 deletions
|
@ -216,6 +216,7 @@ namespace h264 {
|
|||
}
|
||||
|
||||
//vuiParameters
|
||||
result.fps = 0;
|
||||
if (bs.get(1)) {
|
||||
//Skipping all the paramters we dont use
|
||||
if (bs.get(1)) {
|
||||
|
@ -243,8 +244,6 @@ namespace h264 {
|
|||
unsigned int timeScale = bs.get(32);
|
||||
result.fps = (double)timeScale / (2 * unitsInTick);
|
||||
bs.skip(1);
|
||||
}else{
|
||||
result.fps = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue