diff options
author | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-04-24 06:41:12 +0300 |
---|---|---|
committer | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-04-25 03:34:27 +0300 |
commit | 342ae8d3b5597d59e6a3650ca78ed7f1eb070c4e (patch) | |
tree | b169966980cdf13029600551cb4140377c2dfee1 /libmpdemux/stheader.h | |
parent | 0e757bf9daa55db9fa7052efe5aef09f90044054 (diff) | |
download | mpv-342ae8d3b5597d59e6a3650ca78ed7f1eb070c4e.tar.bz2 mpv-342ae8d3b5597d59e6a3650ca78ed7f1eb070c4e.tar.xz |
Store video decoder functions in struct sh_video field
Remove the global variable mpvdec and move the video decoder pointer
to struct sh_video field vd_driver. Audio already had a similar
ad_driver field from before.
Diffstat (limited to 'libmpdemux/stheader.h')
-rw-r--r-- | libmpdemux/stheader.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmpdemux/stheader.h b/libmpdemux/stheader.h index 1a79ca03f1..e52cc5cb3f 100644 --- a/libmpdemux/stheader.h +++ b/libmpdemux/stheader.h @@ -84,6 +84,7 @@ typedef struct sh_video { // output driver/filters: (set by libmpcodecs core) unsigned int outfmtidx; struct vf_instance *vfilter; // the video filter chain, used for this video stream + struct vd_functions *vd_driver; int vf_initialized; #ifdef DYNAMIC_PLUGINS void *dec_handle; |