diff options
Diffstat (limited to 'ext/voamrwbenc/gstvoamrwbenc.c')
-rw-r--r-- | ext/voamrwbenc/gstvoamrwbenc.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/ext/voamrwbenc/gstvoamrwbenc.c b/ext/voamrwbenc/gstvoamrwbenc.c index 0017b0246..2b3780239 100644 --- a/ext/voamrwbenc/gstvoamrwbenc.c +++ b/ext/voamrwbenc/gstvoamrwbenc.c @@ -280,11 +280,6 @@ gst_voamrwbenc_handle_frame (GstAudioEncoder * benc, GstBuffer * buffer) g_return_val_if_fail (amrwbenc->handle, GST_FLOW_NOT_NEGOTIATED); - if (amrwbenc->rate == 0 || amrwbenc->channels == 0) { - ret = GST_FLOW_NOT_NEGOTIATED; - goto done; - } - /* we don't deal with squeezing remnants, so simply discard those */ if (G_UNLIKELY (buffer == NULL)) { GST_DEBUG_OBJECT (amrwbenc, "no data"); |