mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
dfbvideosink: Pass the VideoInfo to gst_video_info_from_caps
Fixing the build
This commit is contained in:
parent
9b2e28d91d
commit
039fc65468
1 changed files with 1 additions and 1 deletions
|
@ -2302,7 +2302,7 @@ gst_dfbvideosink_propose_allocation (GstBaseSink * bsink, GstQuery * query)
|
||||||
} else {
|
} else {
|
||||||
GstVideoInfo info;
|
GstVideoInfo info;
|
||||||
|
|
||||||
if (!gst_video_info_from_caps (caps)) {
|
if (!gst_video_info_from_caps (&info, caps)) {
|
||||||
GST_WARNING_OBJECT (dfbvideosink,
|
GST_WARNING_OBJECT (dfbvideosink,
|
||||||
"Invalid video caps in allocation query");
|
"Invalid video caps in allocation query");
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
Loading…
Reference in a new issue