Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DTVRecorder: buffer up each payload until we know if the payload is a
keyframe. Especially with H.264, we can be several packets into a payload before we know if it is a keyframe or just a frame or something else. Always buffer the packets of a payload until we know what we are doing with the payload. If we need to switch ringbuffers, we now do it so the new file will start at the beginning of the payload holding a keyframe. Each file will also start with a PAT/PMT if the "recorder" calls for it. (cherry picked from commit 87a15e1) Signed-off-by: Taylor Ralph <tralph@mythtv.org>
- Loading branch information
Showing
13 changed files
with
227 additions
and
167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.