Revert "omxaudiodec: remove duplicate code path"

This reverts commit a8d26ff27a.
This commit is contained in:
Luis de Bethencourt 2015-03-06 12:09:06 +00:00
parent 70c48cf85f
commit e8d76fb1ef

View file

@ -146,7 +146,9 @@ gst_omx_aac_dec_set_format (GstOMXAudioDec * dec, GstOMXPort * port,
aac_param.eAACStreamFormat = OMX_AUDIO_AACStreamFormatMP4LOAS; aac_param.eAACStreamFormat = OMX_AUDIO_AACStreamFormatMP4LOAS;
else if (strcmp (stream_format, "adif") == 0) else if (strcmp (stream_format, "adif") == 0)
aac_param.eAACStreamFormat = OMX_AUDIO_AACStreamFormatADIF; aac_param.eAACStreamFormat = OMX_AUDIO_AACStreamFormatADIF;
else /* raw */ else if (strcmp (stream_format, "raw") == 0)
aac_param.eAACStreamFormat = OMX_AUDIO_AACStreamFormatRAW;
else
aac_param.eAACStreamFormat = OMX_AUDIO_AACStreamFormatRAW; aac_param.eAACStreamFormat = OMX_AUDIO_AACStreamFormatRAW;
err = err =