omxaudioenc: Handle inbuf==NULL properly in ::handle_frame()
This commit is contained in:
parent
0928205ed4
commit
1daa53e554
@ -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…
x
Reference in New Issue
Block a user