summaryrefslogtreecommitdiff
path: root/sys/androidmedia/gstamcaudiodec.c
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2012-09-18 15:28:31 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2012-10-15 16:28:41 +0200
commit742816df695382f69c385817d709a6b9d15292ac (patch)
tree8799099ac4f8605870e8b2dccb7be4a83e717c97 /sys/androidmedia/gstamcaudiodec.c
parentf839a615a0888bd3dca7a81557688fa9c3c1ae56 (diff)
downloadgstreamer-plugins-bad-742816df695382f69c385817d709a6b9d15292ac.tar.gz
Remove some obsolete FIXMEs
Diffstat (limited to 'sys/androidmedia/gstamcaudiodec.c')
-rw-r--r--sys/androidmedia/gstamcaudiodec.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/androidmedia/gstamcaudiodec.c b/sys/androidmedia/gstamcaudiodec.c
index 0b49935bc..8864cc81a 100644
--- a/sys/androidmedia/gstamcaudiodec.c
+++ b/sys/androidmedia/gstamcaudiodec.c
@@ -339,16 +339,8 @@ gst_amc_audio_dec_close (GstAudioDecoder * decoder)
GST_DEBUG_OBJECT (self, "Closing decoder");
- if (self->codec) {
- /* FIXME: This crashes for some reason, looks like the
- * MediaCodec API is not threadsafe between stop() and
- * release()
- */
-#if 0
- gst_amc_codec_release (self->codec);
-#endif
+ if (self->codec)
gst_amc_codec_free (self->codec);
- }
self->codec = NULL;
self->started = FALSE;
@@ -880,7 +872,6 @@ gst_amc_audio_dec_set_format (GstAudioDecoder * decoder, GstCaps * caps)
GST_DEBUG_OBJECT (self, "Configuring codec with format: %s", format_string);
g_free (format_string);
- /* FIXME: Flags? */
if (!gst_amc_codec_configure (self->codec, format, 0)) {
GST_ERROR_OBJECT (self, "Failed to configure codec");
return FALSE;