mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-01 21:18:52 +00:00
omxvideoenc: If one parameter/configuration is not supported don't skip the next
This commit is contained in:
parent
37967b4316
commit
ac8085dce9
1 changed files with 0 additions and 3 deletions
|
@ -365,7 +365,6 @@ gst_omx_video_enc_open (GstOMXVideoEnc * self)
|
|||
if (err == OMX_ErrorUnsupportedIndex) {
|
||||
GST_WARNING_OBJECT (self,
|
||||
"Setting a bitrate not supported by the component");
|
||||
goto done;
|
||||
} else if (err != OMX_ErrorNone) {
|
||||
GST_ERROR_OBJECT (self, "Failed to set bitrate parameters: %s (0x%08x)",
|
||||
gst_omx_error_to_string (err), err);
|
||||
|
@ -384,7 +383,6 @@ gst_omx_video_enc_open (GstOMXVideoEnc * self)
|
|||
if (err == OMX_ErrorUnsupportedIndex) {
|
||||
GST_WARNING_OBJECT (self,
|
||||
"Setting quantization parameters not supported by the component");
|
||||
goto done;
|
||||
} else if (err != OMX_ErrorNone) {
|
||||
GST_ERROR_OBJECT (self,
|
||||
"Failed to set quantization parameters: %s (0x%08x)",
|
||||
|
@ -392,7 +390,6 @@ gst_omx_video_enc_open (GstOMXVideoEnc * self)
|
|||
return FALSE;
|
||||
}
|
||||
}
|
||||
done:
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue