diff options
author | Aman Gupta <aman@tmm1.net> | 2016-08-07 18:10:05 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-08-07 19:33:20 +0200 |
commit | 7ca4a453e03d76621c7740b71ba17157c7756737 (patch) | |
tree | ad29dc38fdd7719dfd536efca12e924afdc650b1 /wscript_build.py | |
parent | 52a0cbe4568afd11ad2e24596f81712ff508112d (diff) | |
download | mpv-7ca4a453e03d76621c7740b71ba17157c7756737.tar.bz2 mpv-7ca4a453e03d76621c7740b71ba17157c7756737.tar.xz |
client API: add stream_cb API for user-defined stream implementations
Based on #2630. Some heavy changes by committer.
Signed-off-by: wm4 <wm4@nowhere>
Diffstat (limited to 'wscript_build.py')
-rw-r--r-- | wscript_build.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/wscript_build.py b/wscript_build.py index ebbc3e8b8c..a637f79eea 100644 --- a/wscript_build.py +++ b/wscript_build.py @@ -247,6 +247,7 @@ def build(ctx): ( "stream/stream_dvdnav.c", "dvdnav" ), ( "stream/stream_edl.c" ), ( "stream/stream_file.c" ), + ( "stream/stream_cb.c" ), ( "stream/stream_lavf.c" ), ( "stream/stream_libarchive.c", "libarchive" ), ( "stream/stream_memory.c" ), @@ -548,7 +549,7 @@ def build(ctx): PRIV_LIBS = get_deps(), ) - headers = ["client.h", "qthelper.hpp", "opengl_cb.h"] + headers = ["client.h", "qthelper.hpp", "opengl_cb.h", "stream_cb.h"] for f in headers: ctx.install_as(ctx.env.INCDIR + '/mpv/' + f, 'libmpv/' + f) |