diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-12-27 15:28:01 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-12-27 15:28:01 +0000 |
commit | ca2af2d0e78eb3457ff84b829d7ce683d7278876 (patch) | |
tree | 933eba47f963becafccc500ac4133b24710721b8 /libmpdemux/demux_ts.c | |
parent | bcda7b2f9990b56dfc12d31e95b8d507202df82c (diff) | |
download | mpv-ca2af2d0e78eb3457ff84b829d7ce683d7278876.tar.bz2 mpv-ca2af2d0e78eb3457ff84b829d7ce683d7278876.tar.xz |
Add support for parsing audio streams (though should be easy to extend to video)
via libavcodec.
Parsing can be done at the demuxer stage (currently disabled) or at the decoder
(ad_ffmpeg, enabled).
Should allow using the libavcodec AAC, DTS, ... decoders independent of container
format.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30130 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/demux_ts.c')
-rw-r--r-- | libmpdemux/demux_ts.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmpdemux/demux_ts.c b/libmpdemux/demux_ts.c index c7966da9ba..af9e2109f4 100644 --- a/libmpdemux/demux_ts.c +++ b/libmpdemux/demux_ts.c @@ -305,6 +305,7 @@ static void ts_add_stream(demuxer_t * demuxer, ES_stream_t *es) if(sh) { const char *lang = pid_lang_from_pmt(priv, es->pid); + sh->needs_parsing = 1; sh->format = IS_AUDIO(es->type) ? es->type : es->subtype; sh->ds = demuxer->audio; |