diff options
author | Anton Khirnov <wyskas@gmail.com> | 2010-05-19 12:32:32 +0200 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-05-21 00:06:26 +0300 |
commit | 9f508dab976b0e4cf43da8b9ef31de357ef76d2f (patch) | |
tree | 570e4306de5e8a0b21155ca514dfc0a6245b1fe8 /libmpdemux/demuxer.h | |
parent | d72541b75cb66afa2135d7753bd799af976f9aea (diff) | |
download | mpv-9f508dab976b0e4cf43da8b9ef31de357ef76d2f.tar.bz2 mpv-9f508dab976b0e4cf43da8b9ef31de357ef76d2f.tar.xz |
demuxer.c: add demux_info_add_bstr(), use talloc for info field
demux_info_add() is now a wrapper around demux_info_add_bstr().
Diffstat (limited to 'libmpdemux/demuxer.h')
-rw-r--r-- | libmpdemux/demuxer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libmpdemux/demuxer.h b/libmpdemux/demuxer.h index 1f16ea4eda..7a702a3139 100644 --- a/libmpdemux/demuxer.h +++ b/libmpdemux/demuxer.h @@ -26,6 +26,7 @@ #include <stdbool.h> #include "stream/stream.h" +#include "bstr.h" struct MPOpts; @@ -428,6 +429,7 @@ extern int pts_from_bps; extern int extension_parsing; int demux_info_add(demuxer_t *demuxer, const char *opt, const char *param); +int demux_info_add_bstr(demuxer_t *demuxer, struct bstr opt, struct bstr param); char* demux_info_get(demuxer_t *demuxer, const char *opt); int demux_info_print(demuxer_t *demuxer); int demux_control(demuxer_t *demuxer, int cmd, void *arg); |