summaryrefslogtreecommitdiff
path: root/ext/voamrwbenc
diff options
context:
space:
mode:
Diffstat (limited to 'ext/voamrwbenc')
-rw-r--r--ext/voamrwbenc/gstvoamrwbenc.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/ext/voamrwbenc/gstvoamrwbenc.c b/ext/voamrwbenc/gstvoamrwbenc.c
index 4ecc5768c..4647b84ab 100644
--- a/ext/voamrwbenc/gstvoamrwbenc.c
+++ b/ext/voamrwbenc/gstvoamrwbenc.c
@@ -281,11 +281,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");