diff options
author | James Stembridge <jstembridge@users.sourceforge.net> | 2003-03-14 19:05:40 +0000 |
---|---|---|
committer | James Stembridge <jstembridge@users.sourceforge.net> | 2003-03-14 19:05:40 +0000 |
commit | 713b77d1f50281457186da5401d6cfda62c034c6 (patch) | |
tree | 20051320a937d69617a61fd5e7f563033faf99c9 | |
parent | aeef798baaae896b138feebb020d8c0845a6fb11 (diff) | |
download | xine-lib-713b77d1f50281457186da5401d6cfda62c034c6.tar.gz xine-lib-713b77d1f50281457186da5401d6cfda62c034c6.tar.bz2 |
don't bother reconfiguring postprocessing mode if new setting is 0 (ie off)
CVS patchset: 4413
CVS date: 2003/03/14 19:05:40
-rw-r--r-- | src/libffmpeg/xine_decoder.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libffmpeg/xine_decoder.c b/src/libffmpeg/xine_decoder.c index e873c4069..00c0f45c6 100644 --- a/src/libffmpeg/xine_decoder.c +++ b/src/libffmpeg/xine_decoder.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine_decoder.c,v 1.100 2003/03/14 17:46:05 jstembridge Exp $ + * $Id: xine_decoder.c,v 1.101 2003/03/14 19:05:40 jstembridge Exp $ * * xine decoder plugin using ffmpeg * @@ -218,7 +218,7 @@ static void pp_quality_cb(void *user_data, xine_cfg_entry_t *entry) { ff_video_decoder_t *this = class->ip; this->pp_quality = entry->num_value; - if(this->pp_mode) { + if(this->pp_mode && this->pp_quality > 0) { pp_free_mode(this->pp_mode); this->pp_mode = pp_get_mode_by_name_and_quality("hb:a,vb:a,dr:a", this->pp_quality); |