308,309d307
<   /* Fix for negotiation error */
<   othercaps = gst_caps_truncate (othercaps);
448c446
< gst_ffmpeg_caps_to_pixfmt (GstVideoInfo info)
---
> gst_ffmpeg_caps_to_pixfmt (const GstCaps * caps)
449a448
>   GstVideoInfo info;
451a451,455
>   GST_DEBUG ("converting caps %" GST_PTR_FORMAT, caps);
> 
>   if (gst_video_info_from_caps (&info, caps))
>     goto invalid_caps;
> 
533,534c537,538
<   scale->in_pixfmt = gst_ffmpeg_caps_to_pixfmt (scale->in_info);//incaps);
<   scale->out_pixfmt = gst_ffmpeg_caps_to_pixfmt (scale->out_info);//outcaps);
---
>   scale->in_pixfmt = gst_ffmpeg_caps_to_pixfmt (incaps);
>   scale->out_pixfmt = gst_ffmpeg_caps_to_pixfmt (outcaps);
