diff options
author | Martin Storsjö <martin@martin.st> | 2013-01-23 23:25:09 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2013-01-24 11:58:09 +0200 |
commit | a856623e87d34f21915b51d1d4032be0330d7bfb (patch) | |
tree | 408549a87cb8a27ef852035eceaf0e3d92bfd92d /README | |
parent | 348cd84fc82eadd3ad81ed84b1ca7b88dcc0ccb2 (diff) | |
download | ffmpeg-a856623e87d34f21915b51d1d4032be0330d7bfb.tar.gz |
rtpenc_chain: Use the original AVFormatContext for getting payload type
In ff_rtp_get_payload_type, the AVFormatContext is used for checking
whether the payload_type or rtpflags options are set. In rtpenc_chain,
the rtpctx struct is a newly initialized struct where no options have
been set yet, so no options can be fetched from there.
All muxers that internally chain rtp muxers have the "rtpflags" field
that allows passing such options on (which is how this worked before
8034130e06), so this works just as intended.
This makes it possible to produce H263 in RFC2190 format with chained
RTP muxers.
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
(cherry picked from commit 4a4a7e138c92901e04db46a6b05cc6948023e5f5)
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions