mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 12:10:37 +00:00
omxaudioenc: Handle inbuf==NULL properly in ::handle_frame()
This commit is contained in:
parent
0928205ed4
commit
1daa53e554
1 changed files with 3 additions and 0 deletions
|
@ -766,6 +766,9 @@ gst_omx_audio_enc_handle_frame (GstBaseAudioEncoder * encoder,
|
|||
|
||||
self = GST_OMX_AUDIO_ENC (encoder);
|
||||
|
||||
if (inbuf == NULL)
|
||||
return GST_FLOW_OK;
|
||||
|
||||
GST_DEBUG_OBJECT (self, "Handling frame");
|
||||
|
||||
timestamp = GST_BUFFER_TIMESTAMP (inbuf);
|
||||
|
|
Loading…
Reference in a new issue