[MPlayer-cvslog] r35050 - trunk/libmpdemux/demux_audio.c

reimar subversion at mplayerhq.hu
Thu Jul 26 22:32:34 CEST 2012


Author: reimar
Date: Thu Jul 26 22:32:34 2012
New Revision: 35050

Log:
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.

Modified:
   trunk/libmpdemux/demux_audio.c

Modified: trunk/libmpdemux/demux_audio.c
==============================================================================
--- trunk/libmpdemux/demux_audio.c	Thu Jul 26 21:19:32 2012	(r35049)
+++ trunk/libmpdemux/demux_audio.c	Thu Jul 26 22:32:34 2012	(r35050)
@@ -586,11 +586,12 @@ static int demux_audio_open(demuxer_t* d
 	    }
 	}
 	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:


More information about the MPlayer-cvslog mailing list