Commit a59096e4 authored by Josh Allmann's avatar Josh Allmann Committed by Martin Storsjö

Add a depacketizer for QDM2

Patch by Josh Allmann, joshua dot allmann at gmail, original code
by Ronald S Bultje.

Originally committed as revision 24236 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 5590cc78
...@@ -20,6 +20,7 @@ version <next>: ...@@ -20,6 +20,7 @@ version <next>:
- -strict inofficial replaced by -strict unofficial - -strict inofficial replaced by -strict unofficial
- ffplay -exitonkeydown and -exitonmousedown options added - ffplay -exitonkeydown and -exitonmousedown options added
- native GSM / GSM MS decoder - native GSM / GSM MS decoder
- RTP depacketization of QDM2
......
...@@ -229,6 +229,7 @@ OBJS-$(CONFIG_SDP_DEMUXER) += rtsp.o \ ...@@ -229,6 +229,7 @@ OBJS-$(CONFIG_SDP_DEMUXER) += rtsp.o \
rtpdec_h263.o \ rtpdec_h263.o \
rtpdec_h264.o \ rtpdec_h264.o \
rtpdec_mpeg4.o \ rtpdec_mpeg4.o \
rtpdec_qdm2.o \
rtpdec_svq3.o \ rtpdec_svq3.o \
rtpdec_xiph.o rtpdec_xiph.o
OBJS-$(CONFIG_SEGAFILM_DEMUXER) += segafilm.o OBJS-$(CONFIG_SEGAFILM_DEMUXER) += segafilm.o
......
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
#include "rtpdec_h263.h" #include "rtpdec_h263.h"
#include "rtpdec_h264.h" #include "rtpdec_h264.h"
#include "rtpdec_mpeg4.h" #include "rtpdec_mpeg4.h"
#include "rtpdec_qdm2.h"
#include "rtpdec_svq3.h" #include "rtpdec_svq3.h"
#include "rtpdec_xiph.h" #include "rtpdec_xiph.h"
...@@ -69,6 +70,7 @@ void av_register_rtp_dynamic_payload_handlers(void) ...@@ -69,6 +70,7 @@ void av_register_rtp_dynamic_payload_handlers(void)
ff_register_dynamic_payload_handler(&ff_h264_dynamic_handler); ff_register_dynamic_payload_handler(&ff_h264_dynamic_handler);
ff_register_dynamic_payload_handler(&ff_vorbis_dynamic_handler); ff_register_dynamic_payload_handler(&ff_vorbis_dynamic_handler);
ff_register_dynamic_payload_handler(&ff_theora_dynamic_handler); ff_register_dynamic_payload_handler(&ff_theora_dynamic_handler);
ff_register_dynamic_payload_handler(&ff_qdm2_dynamic_handler);
ff_register_dynamic_payload_handler(&ff_svq3_dynamic_handler); ff_register_dynamic_payload_handler(&ff_svq3_dynamic_handler);
ff_register_dynamic_payload_handler(&ff_ms_rtp_asf_pfv_handler); ff_register_dynamic_payload_handler(&ff_ms_rtp_asf_pfv_handler);
......
This diff is collapsed.
/*
* QDesign Music 2 (QDM2) payload for RTP
* Copyright (c) 2010 Ronald S. Bultje
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* FFmpeg is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef AVFORMAT_RTPDEC_QDM2_H
#define AVFORMAT_RTPDEC_QDM2_H
#include "rtpdec.h"
/**
* QMD2 RTP callbacks.
*/
extern RTPDynamicProtocolHandler ff_qdm2_dynamic_handler;
#endif /* AVFORMAT_RTPDEC_QDM2_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment