X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gst%2Frtp%2Fgstrtph263ppay.c;h=6bb9e4a3d49859d843d9b0a10a693cbe7b6a7f65;hb=775ccdf9775bd7051929b257444b3be915e88ec6;hp=176d7ccaee1df163567ab3d3c3c9f38be141ac89;hpb=3010d1ec2d8324fc28b2e396feb32175f62e7055;p=platform%2Fupstream%2Fgst-plugins-good.git diff --git a/gst/rtp/gstrtph263ppay.c b/gst/rtp/gstrtph263ppay.c index 176d7cc..6bb9e4a 100644 --- a/gst/rtp/gstrtph263ppay.c +++ b/gst/rtp/gstrtph263ppay.c @@ -151,6 +151,10 @@ gst_rtp_h263p_pay_class_init (GstRtpH263PPayClass * klass) GST_DEBUG_CATEGORY_INIT (rtph263ppay_debug, "rtph263ppay", 0, "rtph263ppay (RFC 4629)"); + +#ifndef TIZEN_FEATURE_GST_UPSTREAM_AVOID_BUILD_BREAK + gst_type_mark_as_plugin_api (GST_TYPE_FRAGMENTATION_MODE, 0); +#endif } static void @@ -266,6 +270,7 @@ gst_rtp_h263p_pay_sink_getcaps (GstRTPBasePayload * payload, GstPad * pad, * where we are dealing with the depayloader's template caps. In this case * we should accept any input compatible with our sink template caps. */ if (!gst_caps_is_fixed (peercaps)) { + gst_caps_unref (peercaps); caps = gst_pad_get_pad_template_caps (GST_RTP_BASE_PAYLOAD_SINKPAD (payload)); goto done; @@ -679,7 +684,7 @@ gst_rtp_h263p_pay_flush (GstRtpH263PPay * rtph263ppay) * This algorithm separates large frames at synchronisation points (Segments) * (See RFC 4629 section 6). It would be interesting to have a property such as network * quality to select between both packetization methods */ - /* TODO Add VRC supprt (See RFC 4629 section 5.2) */ + /* TODO Add VRC support (See RFC 4629 section 5.2) */ while (avail > 0) { guint towrite; @@ -752,8 +757,7 @@ gst_rtp_h263p_pay_flush (GstRtpH263PPay * rtph263ppay) gst_rtp_buffer_unmap (&rtp); payload_buf = gst_adapter_take_buffer_fast (rtph263ppay->adapter, towrite); - gst_rtp_copy_meta (GST_ELEMENT_CAST (rtph263ppay), outbuf, payload_buf, - g_quark_from_static_string (GST_META_TAG_VIDEO_STR)); + gst_rtp_copy_video_meta (rtph263ppay, outbuf, payload_buf); outbuf = gst_buffer_append (outbuf, payload_buf); avail -= towrite;