Skip to content

Commit

Permalink
dfbvideosink: Pass the VideoInfo to gst_video_info_from_caps
Browse files Browse the repository at this point in the history
Fixing the build
  • Loading branch information
Thibault Saunier committed Sep 6, 2017
1 parent 9b2e28d commit 039fc65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/directfb/dfbvideosink.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 039fc65

Please sign in to comment.