mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 16:21:17 +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
9cae8f6030
commit
2e6e4cce0b
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