mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-04 14:38:48 +00:00
videoaggregator: don't create converters when the subclass doesn't want them
fixes a critical with glvideomixer after
35bd1969f9
CRITICAL **: gst_video_converter_new: assertion 'in_info->width == out_info->width' failed
This commit is contained in:
parent
bc399a0403
commit
62a430ad21
1 changed files with 6 additions and 1 deletions
|
@ -409,9 +409,14 @@ gst_videoaggregator_update_converters (GstVideoAggregator * vagg)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
vagg->info = best_info;
|
||||||
|
|
||||||
|
/* short circuit */
|
||||||
|
if (vagg_klass->disable_frame_conversion)
|
||||||
|
return TRUE;
|
||||||
|
|
||||||
best_colorimetry = gst_video_colorimetry_to_string (&(best_info.colorimetry));
|
best_colorimetry = gst_video_colorimetry_to_string (&(best_info.colorimetry));
|
||||||
best_chroma = gst_video_chroma_to_string (best_info.chroma_site);
|
best_chroma = gst_video_chroma_to_string (best_info.chroma_site);
|
||||||
vagg->info = best_info;
|
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (vagg,
|
GST_DEBUG_OBJECT (vagg,
|
||||||
"The output format will now be : %d with colorimetry : %s and chroma : %s",
|
"The output format will now be : %d with colorimetry : %s and chroma : %s",
|
||||||
|
|
Loading…
Reference in a new issue