summaryrefslogtreecommitdiffstats
path: root/libmpdemux/stheader.h
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-12-27 15:28:01 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-12-27 15:28:01 +0000
commitca2af2d0e78eb3457ff84b829d7ce683d7278876 (patch)
tree933eba47f963becafccc500ac4133b24710721b8 /libmpdemux/stheader.h
parentbcda7b2f9990b56dfc12d31e95b8d507202df82c (diff)
downloadmpv-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/stheader.h')
-rw-r--r--libmpdemux/stheader.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libmpdemux/stheader.h b/libmpdemux/stheader.h
index 576ed68c08..99ae63ad0d 100644
--- a/libmpdemux/stheader.h
+++ b/libmpdemux/stheader.h
@@ -31,6 +31,10 @@
unsigned int format; \
int initialized; \
float stream_delay; /* number of seconds stream should be delayed (according to dwStart or similar) */ \
+ /* things needed for parsing */ \
+ int needs_parsing; \
+ struct AVCodecContext *avctx; \
+ struct AVCodecParserContext *parser; \
/* audio: last known pts value in output from decoder \
* video: predicted/interpolated PTS of the current frame */ \
double pts; \