omxaudioenc: Remove hack that only applies to the video encoder class

This commit is contained in:
Sebastian Dröge 2011-08-16 11:03:24 +02:00
parent 422ca1796b
commit c24533c8be

View file

@ -468,10 +468,6 @@ gst_omx_audio_enc_loop (GstOMXAudioEnc * self)
gst_util_uint64_scale (buf->omx_buf->nTickCount, GST_SECOND, gst_util_uint64_scale (buf->omx_buf->nTickCount, GST_SECOND,
OMX_TICKS_PER_SECOND); OMX_TICKS_PER_SECOND);
if ((klass->hacks & GST_OMX_HACK_SYNCFRAME_FLAG_NOT_USED)
|| (buf->omx_buf->nFlags & OMX_BUFFERFLAG_SYNCFRAME)) {
}
flow_ret = flow_ret =
gst_base_audio_encoder_finish_frame (GST_BASE_AUDIO_ENCODER (self), gst_base_audio_encoder_finish_frame (GST_BASE_AUDIO_ENCODER (self),
outbuf, -1); outbuf, -1);