rtpvrawdepay: negotiate pool with srcpad caps

This commit is contained in:
Wim Taymans 2012-09-27 14:13:42 +02:00
parent 2dc8425f03
commit dbe941338d

View file

@ -252,7 +252,7 @@ gst_rtp_vraw_depay_setcaps (GstRTPBaseDepayload * depayload, GstCaps * caps)
xinc, yinc, pgroup);
/* negotiate a bufferpool */
if ((ret = gst_rtp_vraw_depay_negotiate_pool (rtpvrawdepay, caps,
if ((ret = gst_rtp_vraw_depay_negotiate_pool (rtpvrawdepay, srccaps,
&rtpvrawdepay->vinfo)) != GST_FLOW_OK)
goto no_bufferpool;