comparison libmpcodecs/dec_video.c @ 31927:6e0b5a97e00f

EOSD/ASS code factorization Move some code that was partially duplicated between vf_vo and vf_ass with subtle differences into a separate file.
author cigaes
date Mon, 23 Aug 2010 19:13:05 +0000
parents cc6ee3017097
children 2b390c08ed07
comparison
equal deleted inserted replaced
31926:45966266392b 31927:6e0b5a97e00f
37 #include "libvo/video_out.h" 37 #include "libvo/video_out.h"
38 38
39 #include "libmpdemux/stheader.h" 39 #include "libmpdemux/stheader.h"
40 #include "vd.h" 40 #include "vd.h"
41 #include "vf.h" 41 #include "vf.h"
42 #include "eosd.h"
42 43
43 #include "dec_video.h" 44 #include "dec_video.h"
44 45
45 #ifdef CONFIG_DYNAMIC_PLUGINS 46 #ifdef CONFIG_DYNAMIC_PLUGINS
46 #include <dlfcn.h> 47 #include <dlfcn.h>
183 #ifdef CONFIG_DYNAMIC_PLUGINS 184 #ifdef CONFIG_DYNAMIC_PLUGINS
184 if (sh_video->dec_handle) 185 if (sh_video->dec_handle)
185 dlclose(sh_video->dec_handle); 186 dlclose(sh_video->dec_handle);
186 #endif 187 #endif
187 vf_uninit_filter_chain(sh_video->vfilter); 188 vf_uninit_filter_chain(sh_video->vfilter);
189 eosd_uninit();
188 sh_video->initialized = 0; 190 sh_video->initialized = 0;
189 } 191 }
190 192
191 void vfm_help(void) 193 void vfm_help(void)
192 { 194 {