summaryrefslogtreecommitdiffstats
path: root/gst/rtp/gstrtpmp4gdepay.c
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2006-08-16 10:05:00 +0000
committerWim Taymans <wim.taymans@gmail.com>2006-08-16 10:05:00 +0000
commitffed349b0b7e8473bc4638a0ac8ec59d085ae521 (patch)
tree30ef0776a7bad690a99a2824d1d0a91e880d179e /gst/rtp/gstrtpmp4gdepay.c
parent6eedcfbc8c493079db829b5f67ccd1bd791c1313 (diff)
gst/rtp/: Caps extra properties must be defined as strings for depayloaders because they are generated from an SDP.
Original commit message from CVS: * gst/rtp/gstrtpamrdepay.c: * gst/rtp/gstrtpmp4gdepay.c: Caps extra properties must be defined as strings for depayloaders because they are generated from an SDP. * gst/rtp/Makefile.am: * gst/rtp/gstrtp.c: (plugin_init): * gst/rtp/gstrtph264depay.c: (gst_rtp_h264_depay_base_init), (gst_rtp_h264_depay_class_init), (gst_rtp_h264_depay_init), (gst_rtp_h264_depay_finalize), (decode_base64), (gst_rtp_h264_depay_setcaps), (gst_rtp_h264_depay_process), (gst_rtp_h264_depay_set_property), (gst_rtp_h264_depay_get_property), (gst_rtp_h264_depay_change_state), (gst_rtp_h264_depay_plugin_init): * gst/rtp/gstrtph264depay.h: Added basic, not completely functional RFC 3984 H264 depayloader.
Diffstat (limited to 'gst/rtp/gstrtpmp4gdepay.c')
-rw-r--r--gst/rtp/gstrtpmp4gdepay.c31
1 files changed, 16 insertions, 15 deletions
diff --git a/gst/rtp/gstrtpmp4gdepay.c b/gst/rtp/gstrtpmp4gdepay.c
index 3a6e3c9c..4ff385fe 100644
--- a/gst/rtp/gstrtpmp4gdepay.c
+++ b/gst/rtp/gstrtpmp4gdepay.c
@@ -68,24 +68,25 @@ GST_STATIC_PAD_TEMPLATE ("sink",
"clock-rate = (int) [1, MAX ], "
"encoding-name = (string) \"mpeg4-generic\", "
/* required string params */
- "streamtype = (int) { \"4\", \"5\" }, " /* 4 = video, 5 = audio */
- "profile-level-id = (int) [1,MAX], "
+ "streamtype = (string) { \"4\", \"5\" }, " /* 4 = video, 5 = audio */
+ /* "profile-level-id = (string) [1,MAX], " */
/* "config = (string) [1,MAX]" */
- "mode = (string) { \"generic\", \"CELP-cbr\", \"CELP-vbr\", \"AAC-lbr\", \"AAC-hbr\" }, "
+ "mode = (string) { \"generic\", \"CELP-cbr\", \"CELP-vbr\", \"AAC-lbr\", \"AAC-hbr\" } "
/* Optional general parameters */
- "objecttype = (int) [1,MAX], " "constantsize = (int) [1,MAX], " /* constant size of each AU */
- "constantduration = (int) [1,MAX], " /* constant duration of each AU */
- "maxdisplacement = (int) [1,MAX], "
- "de-interleavebuffersize = (int) [1,MAX], "
+ /* "objecttype = (string) [1,MAX], " */
+ /* "constantsize = (string) [1,MAX], " *//* constant size of each AU */
+ /* "constantduration = (string) [1,MAX], " *//* constant duration of each AU */
+ /* "maxdisplacement = (string) [1,MAX], " */
+ /* "de-interleavebuffersize = (string) [1,MAX], " */
/* Optional configuration parameters */
- "sizelength = (int) [1, 16], " /* max 16 bits, should be enough... */
- "indexlength = (int) [1, 8], "
- "indexdeltalength = (int) [1, 8], "
- "ctsdeltalength = (int) [1, 64], "
- "dtsdeltalength = (int) [1, 64], "
- "randomaccessindication = (int) {0, 1}, "
- "streamstateindication = (int) [0, 64], "
- "auxiliarydatasizelength = (int) [0, 64]")
+ /* "sizelength = (string) [1, 16], " *//* max 16 bits, should be enough... */
+ /* "indexlength = (string) [1, 8], " */
+ /* "indexdeltalength = (string) [1, 8], " */
+ /* "ctsdeltalength = (string) [1, 64], " */
+ /* "dtsdeltalength = (string) [1, 64], " */
+ /* "randomaccessindication = (string) {0, 1}, " */
+ /* "streamstateindication = (string) [0, 64], " */
+ /* "auxiliarydatasizelength = (string) [0, 64]" */ )
);
GST_BOILERPLATE (GstRtpMP4GDepay, gst_rtp_mp4g_depay, GstBaseRTPDepayload,