Mercurial > mplayer.hg
comparison libmpcodecs/dec_video.c @ 5737:de47aebf654c
filters uninit
author | arpi |
---|---|
date | Sat, 20 Apr 2002 22:24:19 +0000 |
parents | 3d9de27d9bd0 |
children | c03422eaaadf |
comparison
equal
deleted
inserted
replaced
5736:0ddd0a5d8907 | 5737:de47aebf654c |
---|---|
129 | 129 |
130 void uninit_video(sh_video_t *sh_video){ | 130 void uninit_video(sh_video_t *sh_video){ |
131 if(!sh_video->inited) return; | 131 if(!sh_video->inited) return; |
132 mp_msg(MSGT_DECVIDEO,MSGL_V,"uninit video: %d \n",sh_video->codec->driver); | 132 mp_msg(MSGT_DECVIDEO,MSGL_V,"uninit video: %d \n",sh_video->codec->driver); |
133 mpvdec->uninit(sh_video); | 133 mpvdec->uninit(sh_video); |
134 vf_uninit_filter_chain(sh_video->vfilter); | |
134 sh_video->inited=0; | 135 sh_video->inited=0; |
135 } | 136 } |
136 | 137 |
137 int init_video(sh_video_t *sh_video,char* codecname,int vfm,int status){ | 138 int init_video(sh_video_t *sh_video,char* codecname,int vfm,int status){ |
138 sh_video->codec=NULL; | 139 sh_video->codec=NULL; |