mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 19:42:26 +00:00
libs: encoder: vp9: fix code style
This commit is contained in:
parent
3398c64036
commit
b4d73433c3
1 changed files with 2 additions and 2 deletions
|
@ -428,8 +428,8 @@ update_ref_list (GstVaapiEncoderVP9 * encoder, GstVaapiEncPicture * picture,
|
||||||
gst_vaapi_surface_proxy_unref (ref);
|
gst_vaapi_surface_proxy_unref (ref);
|
||||||
break;
|
break;
|
||||||
case GST_VAAPI_ENCODER_VP9_REF_PIC_MODE_1:
|
case GST_VAAPI_ENCODER_VP9_REF_PIC_MODE_1:
|
||||||
gst_vaapi_surface_proxy_replace (&encoder->ref_list[encoder->
|
i = encoder->ref_list_idx;
|
||||||
ref_list_idx], ref);
|
gst_vaapi_surface_proxy_replace (&encoder->ref_list[i], ref);
|
||||||
gst_vaapi_surface_proxy_unref (ref);
|
gst_vaapi_surface_proxy_unref (ref);
|
||||||
encoder->ref_list_idx = (encoder->ref_list_idx + 1) % GST_VP9_REF_FRAMES;
|
encoder->ref_list_idx = (encoder->ref_list_idx + 1) % GST_VP9_REF_FRAMES;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue