summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis de Bethencourt <luis.bg@samsung.com>2015-03-06 12:09:06 +0000
committerLuis de Bethencourt <luis.bg@samsung.com>2015-03-06 12:09:06 +0000
commite8d76fb1ef3fc4609190fc95550adaa2ff4154a6 (patch)
tree8247c8db8fde69a760a02073bebf2695b32176f3
parent70c48cf85fabb304d4b2ea4617eb472b51da227d (diff)
downloadgst-omx-e8d76fb1ef3fc4609190fc95550adaa2ff4154a6.tar.gz
Revert "omxaudiodec: remove duplicate code path"
This reverts commit a8d26ff27a8b43f589424a59294f9057641b2a46.
-rw-r--r--omx/gstomxaacdec.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/omx/gstomxaacdec.c b/omx/gstomxaacdec.c
index 96665d4..7d81269 100644
--- a/omx/gstomxaacdec.c
+++ b/omx/gstomxaacdec.c
@@ -146,7 +146,9 @@ gst_omx_aac_dec_set_format (GstOMXAudioDec * dec, GstOMXPort * port,
aac_param.eAACStreamFormat = OMX_AUDIO_AACStreamFormatMP4LOAS;
else if (strcmp (stream_format, "adif") == 0)
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;
err =