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/demuxer.h | |
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/demuxer.h')
-rw-r--r-- | libmpdemux/demuxer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmpdemux/demuxer.h b/libmpdemux/demuxer.h index a2e9185b1e..6ed858024c 100644 --- a/libmpdemux/demuxer.h +++ b/libmpdemux/demuxer.h @@ -382,6 +382,7 @@ int ds_get_packet(demux_stream_t *ds,unsigned char **start); int ds_get_packet_pts(demux_stream_t *ds, unsigned char **start, double *pts); int ds_get_packet_sub(demux_stream_t *ds,unsigned char **start); double ds_get_next_pts(demux_stream_t *ds); +int ds_parse(demux_stream_t *sh, uint8_t **buffer, int *len, double pts, off_t pos); // This is defined here because demux_stream_t ins't defined in stream.h stream_t* new_ds_stream(demux_stream_t *ds); |