mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
compositor: Fix enum type mismatch
The variable blend_mode is GstCompositorBlendMode but it is assigned to a GstCompositorOperator enum value.
This commit is contained in:
parent
4ab4db11ec
commit
95436fa667
1 changed files with 3 additions and 3 deletions
|
@ -892,13 +892,13 @@ gst_compositor_aggregate_frames (GstVideoAggregator * vagg, GstBuffer * outbuf)
|
|||
|
||||
switch (compo_pad->op) {
|
||||
case COMPOSITOR_OPERATOR_SOURCE:
|
||||
blend_mode = COMPOSITOR_OPERATOR_SOURCE;
|
||||
blend_mode = COMPOSITOR_BLEND_MODE_SOURCE;
|
||||
break;
|
||||
case COMPOSITOR_OPERATOR_OVER:
|
||||
blend_mode = COMPOSITOR_OPERATOR_OVER;
|
||||
blend_mode = COMPOSITOR_BLEND_MODE_OVER;
|
||||
break;
|
||||
case COMPOSITOR_OPERATOR_ADD:
|
||||
blend_mode = COMPOSITOR_OPERATOR_ADD;
|
||||
blend_mode = COMPOSITOR_BLEND_MODE_ADD;
|
||||
break;
|
||||
default:
|
||||
g_assert_not_reached ();
|
||||
|
|
Loading…
Reference in a new issue