• Aman Gupta's avatar
    avformat/mpegts: keep track of PMT details in AVProgram/AVStream · 24579bf5
    Aman Gupta authored
    With these fields, the user has enough information to
    detect PMT changes and switch to new streams when the PMT
    is updated with new ES pids.
    
    To do so, the user would monitor the AVProgram they're interested
    in for changes to pmt_version. If the version changes, they would
    iterate over the program's streams to find new streams added with
    the updated version number.
    
    If new versions of streams are found, then the user would first try
    to replace existing streams where stream_identifier matched.
    If stream_identifier is not available, then the user would compare
    pmt_stream_idx instead to replace the stream that was previously
    at the same position within the PMT.
    Signed-off-by: 's avatarAman Gupta <aman@tmm1.net>
    24579bf5
Name
Last commit
Last update
compat Loading commit data...
doc Loading commit data...
ffbuild Loading commit data...
fftools Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavresample Loading commit data...
libavutil Loading commit data...
libpostproc Loading commit data...
libswresample Loading commit data...
libswscale Loading commit data...
presets Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING.GPLv2 Loading commit data...
COPYING.GPLv3 Loading commit data...
COPYING.LGPLv2.1 Loading commit data...
COPYING.LGPLv3 Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
INSTALL.md Loading commit data...
LICENSE.md Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
RELEASE Loading commit data...
configure Loading commit data...