Mercurial > mplayer.hg
comparison mplayer.c @ 6674:f8551f89dd48
MEncoder vobsub ripping support, currently not compatible with windows vobsub, some bugs to be fixed. However it already works with mplayer, so it's a start.
author | atmos4 |
---|---|
date | Mon, 08 Jul 2002 21:44:51 +0000 |
parents | fd3ac41ee1a1 |
children | 9fc877cee29a |
comparison
equal
deleted
inserted
replaced
6673:d6adae1af0e3 | 6674:f8551f89dd48 |
---|---|
1169 if(d_dvdsub->id >= 0 && vo_spudec==NULL && sh_video){ | 1169 if(d_dvdsub->id >= 0 && vo_spudec==NULL && sh_video){ |
1170 | 1170 |
1171 if (spudec_ifo) { | 1171 if (spudec_ifo) { |
1172 unsigned int palette[16], width, height; | 1172 unsigned int palette[16], width, height; |
1173 current_module="spudec_init_vobsub"; | 1173 current_module="spudec_init_vobsub"; |
1174 if (vobsub_parse_ifo(NULL,spudec_ifo, palette, &width, &height, 1) >= 0) | 1174 if (vobsub_parse_ifo(NULL,spudec_ifo, palette, &width, &height, 1, -1, NULL) >= 0) |
1175 vo_spudec=spudec_new_scaled(palette, sh_video->disp_w, sh_video->disp_h); | 1175 vo_spudec=spudec_new_scaled(palette, sh_video->disp_w, sh_video->disp_h); |
1176 } | 1176 } |
1177 | 1177 |
1178 #ifdef USE_DVDNAV | 1178 #ifdef USE_DVDNAV |
1179 if (vo_spudec==NULL && stream->type==STREAMTYPE_DVDNAV) { | 1179 if (vo_spudec==NULL && stream->type==STREAMTYPE_DVDNAV) { |