• Marton Balint's avatar
    avformat/mpegtsenc: allow any sensible PID for elementary and PMT PIDs · f5b83d54
    Marton Balint authored
    This sets the range of the first automatically assigned PMT PID or elementary
    stream PID parameters to [0x20, 0x1ffa]. You can still assign manually a PID
    for a stream using AVStream->id in the wider [0x10, 0x1ffe] range as specified
    by ISO13818-1. But since DVB and ATSC both reserves some PIDs, let's not allow
    them to be automatically assigned.
    
    Also make sure that assigned PID numbers are valid and fix the error message
    for the previous PID collision checks.
    Signed-off-by: 's avatarMarton Balint <cus@passwd.hu>
    f5b83d54
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...