mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
libs: encoder: h264/5: fix wrong return value
https://bugzilla.gnome.org/show_bug.cgi?id=778750
This commit is contained in:
parent
e65d916f0d
commit
257cfb61fe
2 changed files with 2 additions and 2 deletions
|
@ -2633,7 +2633,7 @@ bs_error:
|
|||
gst_buffer_unmap (encoder->sps_data, &sps_info);
|
||||
gst_buffer_unmap (encoder->pps_data, &pps_info);
|
||||
gst_bit_writer_clear (&bs, TRUE);
|
||||
return FALSE;
|
||||
return GST_VAAPI_ENCODER_STATUS_ERROR_OPERATION_FAILED;
|
||||
}
|
||||
error_map_sps_buffer:
|
||||
{
|
||||
|
|
|
@ -2231,7 +2231,7 @@ bs_error:
|
|||
gst_buffer_unmap (encoder->sps_data, &sps_info);
|
||||
gst_buffer_unmap (encoder->pps_data, &pps_info);
|
||||
gst_bit_writer_clear (&bs, TRUE);
|
||||
return FALSE;
|
||||
return GST_VAAPI_ENCODER_STATUS_ERROR_OPERATION_FAILED;
|
||||
}
|
||||
error_map_vps_buffer:
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue