mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
libtriple: cPlayback: improve get_pts
* add the buffer size to the call to avoid overflows * extract PTS also from MPEG1 packets
This commit is contained in:
@@ -78,7 +78,7 @@ class cPlayback
|
||||
int64_t pts_start;
|
||||
int64_t pts_end;
|
||||
int64_t pts_curr;
|
||||
int64_t get_pts(uint8_t *p, bool pes);
|
||||
int64_t get_pts(uint8_t *p, bool pes, int bufsize);
|
||||
|
||||
filetype_t filetype;
|
||||
playstate_t playstate;
|
||||
|
Reference in New Issue
Block a user