changeset 34956:69cc06c49125

Generally enable parsing for audio streams. The formats I know of that do not need it (e.g. raw audio) do not have a parser anyway.
author reimar
date Thu, 26 Jul 2012 20:32:34 +0000
parents f0192ade9156
children 86ca44fb7f52
files libmpdemux/demux_audio.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_audio.c	Thu Jul 26 19:19:32 2012 +0000
+++ b/libmpdemux/demux_audio.c	Thu Jul 26 20:32:34 2012 +0000
@@ -586,11 +586,12 @@
 	    }
 	}
 	if (sh_audio->format == 0x2001) {
-	    sh_audio->needs_parsing = 1;
 	    mp_msg(MSGT_DEMUX,MSGL_DBG2,"[demux_audio] DTS sync offset = %u\n", i);
         }
 
     }
+    // All formats that have a parser will need it when stored in WAV
+    sh_audio->needs_parsing = 1;
     stream_seek(s,demuxer->movi_start);
   } break;
   case fLaC: