Mercurial > mplayer.hg
comparison libmpdemux/demux_ogg.c @ 20292:4f5c3fbbbba5
redone subcp_recode: get rid of static buffer, skip lines that failed to
convert instead of removing all remaining lines and remove subcp_recode1
since subcp_recode should now work just as well.
author | reimar |
---|---|
date | Wed, 18 Oct 2006 16:09:59 +0000 |
parents | f1655de446c4 |
children | a0919fb6bfaf |
comparison
equal
deleted
inserted
replaced
20291:eb43bae38445 | 20292:4f5c3fbbbba5 |
---|---|
291 } | 291 } |
292 | 292 |
293 mp_msg(MSGT_DEMUX,MSGL_DBG2,"Ogg sub lines: %d first: '%s'\n", | 293 mp_msg(MSGT_DEMUX,MSGL_DBG2,"Ogg sub lines: %d first: '%s'\n", |
294 ogg_sub.lines, ogg_sub.text[0]); | 294 ogg_sub.lines, ogg_sub.text[0]); |
295 #ifdef USE_ICONV | 295 #ifdef USE_ICONV |
296 subcp_recode1(&ogg_sub); | 296 subcp_recode(&ogg_sub); |
297 #endif | 297 #endif |
298 vo_sub = &ogg_sub; | 298 vo_sub = &ogg_sub; |
299 vo_osd_changed(OSDTYPE_SUBTITLE); | 299 vo_osd_changed(OSDTYPE_SUBTITLE); |
300 } | 300 } |
301 | 301 |