[FFmpeg-devel] [PATCH 3/7] avformat/rtpdec: add T.140 RTP depacketization (RFC 4103)
Michael Niedermayer
michaelni at gmx.at
Fri Feb 13 00:25:20 CET 2015
On Thu, Feb 12, 2015 at 10:14:31PM +0100, Thomas Volkert wrote:
> On 02/08/2015 10:22 PM, Gilles Chanteperdrix wrote:
> >---
> > libavformat/rtpdec.c | 7 +++++++
> > 1 file changed, 7 insertions(+)
> >
> >diff --git a/libavformat/rtpdec.c b/libavformat/rtpdec.c
> >index f5557d8..4091bdc 100644
> >--- a/libavformat/rtpdec.c
> >+++ b/libavformat/rtpdec.c
> >@@ -56,6 +56,12 @@ static RTPDynamicProtocolHandler opus_dynamic_handler = {
> > .codec_id = AV_CODEC_ID_OPUS,
> > };
> >+static RTPDynamicProtocolHandler ff_t140_dynamic_handler = {
> >+ .enc_name = "t140",
> >+ .codec_type = AVMEDIA_TYPE_SUBTITLE,
> >+ .codec_id = AV_CODEC_ID_SUBRIP,
> >+};
> >+
> > static RTPDynamicProtocolHandler *rtp_first_dynamic_payload_handler = NULL;
> > void ff_register_dynamic_payload_handler(RTPDynamicProtocolHandler *handler)
> >@@ -96,6 +102,7 @@ void ff_register_rtp_dynamic_payload_handlers(void)
> > ff_register_dynamic_payload_handler(&ff_quicktime_rtp_aud_handler);
> > ff_register_dynamic_payload_handler(&ff_quicktime_rtp_vid_handler);
> > ff_register_dynamic_payload_handler(&ff_svq3_dynamic_handler);
> >+ ff_register_dynamic_payload_handler(&ff_t140_dynamic_handler);
> > ff_register_dynamic_payload_handler(&ff_theora_dynamic_handler);
> > ff_register_dynamic_payload_handler(&ff_vorbis_dynamic_handler);
> > ff_register_dynamic_payload_handler(&ff_vp8_dynamic_handler);
>
> LGTM.
applied
thanks
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Old school: Use the lowest level language in which you can solve the problem
conveniently.
New school: Use the highest level language in which the latest supercomputer
can solve the problem without the user falling asleep waiting.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150213/732b2412/attachment.asc>
More information about the ffmpeg-devel
mailing list