ffdec: Always use parser for AAC LATM/LOAS
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 26 May 2011 13:09:18 +0000 (15:09 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 26 May 2011 13:09:18 +0000 (15:09 +0200)
ext/ffmpeg/gstffmpegdec.c

index a377a50..71fe9e3 100644 (file)
@@ -832,8 +832,7 @@ gst_ffmpegdec_setcaps (GstPad * pad, GstCaps * caps)
       || oclass->in_plugin->id == CODEC_ID_AAC_LATM) {
     const gchar *format = gst_structure_get_string (structure, "stream-format");
 
-    if (format == NULL || strcmp (format, "raw") == 0 ||
-        oclass->in_plugin->id == CODEC_ID_AAC_LATM) {
+    if (format == NULL || strcmp (format, "raw") == 0) {
       ffmpegdec->turnoff_parser = TRUE;
     }
   }