comparison mpcommon.c @ 32142:4614728cab25

build system: Merge all FFmpeg library checks into a single FFmpeg check. There is little point in assuming that some parts of FFmpeg might be available without the others. Plus, mixing and matching static and shared FFmpeg libraries was never supported.
author diego
date Mon, 13 Sep 2010 18:19:25 +0000
parents 436e56c6da9b
children ef21cbba62ee
comparison
equal deleted inserted replaced
32141:2802b8095bf7 32142:4614728cab25
109 } 109 }
110 if (vo_spudec) { 110 if (vo_spudec) {
111 spudec_reset(vo_spudec); 111 spudec_reset(vo_spudec);
112 vo_osd_changed(OSDTYPE_SPU); 112 vo_osd_changed(OSDTYPE_SPU);
113 } 113 }
114 #ifdef CONFIG_LIBAVCODEC 114 #ifdef CONFIG_FFMPEG
115 if (is_av_sub(type)) 115 if (is_av_sub(type))
116 reset_avsub(d_dvdsub->sh); 116 reset_avsub(d_dvdsub->sh);
117 #endif 117 #endif
118 } 118 }
119 // find sub 119 // find sub
190 type = orig_type; 190 type = orig_type;
191 len = ds_get_packet_sub(d_dvdsub, &packet, &subpts, &endpts); 191 len = ds_get_packet_sub(d_dvdsub, &packet, &subpts, &endpts);
192 if (len < 0) 192 if (len < 0)
193 break; 193 break;
194 if (is_av_sub(type)) { 194 if (is_av_sub(type)) {
195 #ifdef CONFIG_LIBAVCODEC 195 #ifdef CONFIG_FFMPEG
196 type = decode_avsub(d_dvdsub->sh, &packet, &len, &subpts, &endpts); 196 type = decode_avsub(d_dvdsub->sh, &packet, &len, &subpts, &endpts);
197 if (type <= 0) 197 if (type <= 0)
198 #endif 198 #endif
199 continue; 199 continue;
200 } 200 }