Mercurial > mplayer.hg
comparison mencoder.c @ 29069:dc5daa853163
Set the forced_subs_only value correctly whenever a new spudec is created.
author | reimar |
---|---|
date | Mon, 30 Mar 2009 17:05:39 +0000 |
parents | 3f597aacbb69 |
children | 550ea315bdd8 |
comparison
equal
deleted
inserted
replaced
29068:b58c687a3078 | 29069:dc5daa853163 |
---|---|
696 if (vo_spudec==NULL) { | 696 if (vo_spudec==NULL) { |
697 vo_spudec=spudec_new_scaled(stream->type==STREAMTYPE_DVD?((dvd_priv_t *)(stream->priv))->cur_pgc->palette:NULL, | 697 vo_spudec=spudec_new_scaled(stream->type==STREAMTYPE_DVD?((dvd_priv_t *)(stream->priv))->cur_pgc->palette:NULL, |
698 sh_video->disp_w, sh_video->disp_h, NULL, 0); | 698 sh_video->disp_w, sh_video->disp_h, NULL, 0); |
699 } | 699 } |
700 #endif | 700 #endif |
701 if (vo_spudec) | |
702 spudec_set_forced_subs_only(vo_spudec, forced_subs_only); | |
701 } | 703 } |
702 | 704 |
703 ostream = open_output_stream(out_filename, 0); | 705 ostream = open_output_stream(out_filename, 0); |
704 if(!ostream) { | 706 if(!ostream) { |
705 mp_msg(MSGT_MENCODER, MSGL_FATAL, MSGTR_CannotOpenOutputFile, out_filename); | 707 mp_msg(MSGT_MENCODER, MSGL_FATAL, MSGTR_CannotOpenOutputFile, out_filename); |