amfcodec: Add missing break statement

Setting frame-sad would also set ltr

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8286>
This commit is contained in:
Edward Hervey 2025-01-09 10:08:23 +01:00 committed by GStreamer Marge Bot
parent 8b62792e5c
commit aedb587616
3 changed files with 3 additions and 0 deletions

View file

@ -927,6 +927,7 @@ gst_amf_av1_enc_set_property (GObject * object, guint prop_id,
break;
case PROP_PA_FRAME_SAD:
update_bool (self, &self->pa.frame_sad, value);
break;
case PROP_PA_LTR:
update_bool (self, &self->pa.ltr, value);
break;

View file

@ -1082,6 +1082,7 @@ gst_amf_h264_enc_set_property (GObject * object, guint prop_id,
break;
case PROP_PA_FRAME_SAD:
update_bool (self, &self->pa.frame_sad, value);
break;
case PROP_PA_LTR:
update_bool (self, &self->pa.ltr, value);
break;

View file

@ -954,6 +954,7 @@ gst_amf_h265_enc_set_property (GObject * object, guint prop_id,
break;
case PROP_PA_FRAME_SAD:
update_bool (self, &self->pa.frame_sad, value);
break;
case PROP_PA_LTR:
update_bool (self, &self->pa.ltr, value);
break;