X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gst%2Frtp%2Fgstrtpjpegdepay.c;h=5cd54282847d20b37d82e0bfab3885759166b89a;hb=refs%2Ftags%2Fsubmit%2Ftizen%2F20210423.074026;hp=59274f11125fe9271f40318e85a1a72b66730907;hpb=deeb3be3ec26feef48f277d85bf55e816a228d4e;p=platform%2Fupstream%2Fgst-plugins-good.git diff --git a/gst/rtp/gstrtpjpegdepay.c b/gst/rtp/gstrtpjpegdepay.c index 59274f1..5cd5428 100644 --- a/gst/rtp/gstrtpjpegdepay.c +++ b/gst/rtp/gstrtpjpegdepay.c @@ -418,7 +418,7 @@ MakeHeaders (guint8 * p, int type, int width, int height, guint8 * qt, *p++ = 0x11; /* huffman table 1 */ *p++ = 0; /* first DCT coeff */ *p++ = 63; /* last DCT coeff */ - *p++ = 0; /* sucessive approx. */ + *p++ = 0; /* successive approx. */ return (p - start); }; @@ -627,9 +627,10 @@ gst_rtp_jpeg_depay_process (GstRTPBaseDepayload * depayload, GstRTPBuffer * rtp) GstCaps *outcaps; outcaps = - gst_caps_new_simple ("image/jpeg", "framerate", GST_TYPE_FRACTION, - rtpjpegdepay->frate_num, rtpjpegdepay->frate_denom, "width", - G_TYPE_INT, width, "height", G_TYPE_INT, height, NULL); + gst_caps_new_simple ("image/jpeg", "parsed", G_TYPE_BOOLEAN, TRUE, + "framerate", GST_TYPE_FRACTION, rtpjpegdepay->frate_num, + rtpjpegdepay->frate_denom, "width", G_TYPE_INT, width, + "height", G_TYPE_INT, height, NULL); gst_pad_set_caps (depayload->srcpad, outcaps); gst_caps_unref (outcaps);