dfbvideosink: Pass the VideoInfo to gst_video_info_from_caps

Fixing the build
This commit is contained in:
Thibault Saunier 2017-09-06 16:04:49 -03:00
parent 9b2e28d91d
commit 039fc65468

View file

@ -2302,7 +2302,7 @@ gst_dfbvideosink_propose_allocation (GstBaseSink * bsink, GstQuery * query)
} else {
GstVideoInfo info;
if (!gst_video_info_from_caps (caps)) {
if (!gst_video_info_from_caps (&info, caps)) {
GST_WARNING_OBJECT (dfbvideosink,
"Invalid video caps in allocation query");
return FALSE;