OSDN Git Service

- Make MPEG audio (and other audio types besides AC3) work.
authorvan <van@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Tue, 22 Jan 2008 22:06:28 +0000 (22:06 +0000)
committervan <van@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Tue, 22 Jan 2008 22:06:28 +0000 (22:06 +0000)
commit8c9a399cb6961f443394099646c6c6ed62066776
treeca8008df60814f10cdeaa4f31e3705b32dafbad6
parent6924d867af6813b2385dd0adba9410d01592d292
- Make MPEG audio (and other audio types besides AC3) work.
- Since the stream is closed after the scan then reopened by reader, we have to preserve all the state we gathered during the scan (like audio id to TS PID bindings) across the close. For now do this by ignoring the close call & doing a close internally when a stream of a different name is opened.
- Don't overfill ts_packetbuf and abort just because an audio stream was missing the AC3 sync pattern (MPEG & DTS streams don't even have an AC3 sync pattern).
- Get rid of several unused variables so that this compiles with no warnings.

git-svn-id: svn://localhost/HandBrake/trunk@1231 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb/stream.c