307a308,309
>   /* Fix for negotiation error */
>   othercaps = gst_caps_truncate (othercaps);
446c448
< gst_ffmpeg_caps_to_pixfmt (const GstCaps * caps)
---
> gst_ffmpeg_caps_to_pixfmt (GstVideoInfo info)
448d449
<   GstVideoInfo info;
451,455d451
<   GST_DEBUG ("converting caps %" GST_PTR_FORMAT, caps);
< 
<   if (gst_video_info_from_caps (&info, caps))
<     goto invalid_caps;
< 
537,538c533,534
<   scale->in_pixfmt = gst_ffmpeg_caps_to_pixfmt (incaps);
<   scale->out_pixfmt = gst_ffmpeg_caps_to_pixfmt (outcaps);
---
>   scale->in_pixfmt = gst_ffmpeg_caps_to_pixfmt (scale->in_info);
>   scale->out_pixfmt = gst_ffmpeg_caps_to_pixfmt (scale->out_info);
