diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2006-04-25 16:09:55 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2006-04-25 16:09:55 +0000 |
commit | 3763c60ad84881b821202fed825eefa7cf31b845 (patch) | |
tree | 90fa691ec557a624e1e839b745847f99806d7155 /gst/rtp/gstrtpmp4gpay.c | |
parent | a0b8e8176ac2824d1dda535f97bd52490d75ce2b (diff) |
gst/rtp/: It's codec_data, not codec_info.
Original commit message from CVS:
* gst/rtp/gstrtpmp4gpay.c: (gst_rtp_mp4g_pay_setcaps):
* gst/rtp/gstrtpmp4vpay.c: (gst_rtp_mp4v_pay_setcaps):
It's codec_data, not codec_info.
Diffstat (limited to 'gst/rtp/gstrtpmp4gpay.c')
-rw-r--r-- | gst/rtp/gstrtpmp4gpay.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gst/rtp/gstrtpmp4gpay.c b/gst/rtp/gstrtpmp4gpay.c index efe29063..8ff88271 100644 --- a/gst/rtp/gstrtpmp4gpay.c +++ b/gst/rtp/gstrtpmp4gpay.c @@ -357,22 +357,22 @@ gst_rtp_mp4g_pay_setcaps (GstBaseRTPPayload * payload, GstCaps * caps) { GstRtpMP4GPay *rtpmp4gpay; GstStructure *structure; - const GValue *codec_info; + const GValue *codec_data; gboolean res = TRUE; rtpmp4gpay = GST_RTP_MP4G_PAY (payload); structure = gst_caps_get_structure (caps, 0); - codec_info = gst_structure_get_value (structure, "codec_info"); - if (codec_info) { - GST_LOG_OBJECT (rtpmp4gpay, "got codec_info"); - if (G_VALUE_TYPE (codec_info) == GST_TYPE_BUFFER) { + codec_data = gst_structure_get_value (structure, "codec_data"); + if (codec_data) { + GST_LOG_OBJECT (rtpmp4gpay, "got codec_data"); + if (G_VALUE_TYPE (codec_data) == GST_TYPE_BUFFER) { GstBuffer *buffer; const gchar *name; - buffer = gst_value_get_buffer (codec_info); - GST_LOG_OBJECT (rtpmp4gpay, "configuring codec_info"); + buffer = gst_value_get_buffer (codec_data); + GST_LOG_OBJECT (rtpmp4gpay, "configuring codec_data"); name = gst_structure_get_name (structure); |