diff options
| author | phintuka <phintuka> | 2011-01-08 02:43:34 +0000 |
|---|---|---|
| committer | phintuka <phintuka> | 2011-01-08 02:43:34 +0000 |
| commit | f6fcb4c35fc4bbf656f317966eb30ad1aceb411f (patch) | |
| tree | cedbb7a7d68737b59e46c902f514d3809863904c | |
| parent | fbebb3cb08ef194840ec4a1728425c636d4ec298 (diff) | |
| download | xineliboutput-f6fcb4c35fc4bbf656f317966eb30ad1aceb411f.tar.gz xineliboutput-f6fcb4c35fc4bbf656f317966eb30ad1aceb411f.tar.bz2 | |
Use subs_detect flag instead of testing subs_detect_lifetime != 0 in avards functions
| -rw-r--r-- | xine_post_autocrop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xine_post_autocrop.c b/xine_post_autocrop.c index 45e8ae36..702d3c62 100644 --- a/xine_post_autocrop.c +++ b/xine_post_autocrop.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: xine_post_autocrop.c,v 1.48 2011-01-08 02:41:34 phintuka Exp $ + * $Id: xine_post_autocrop.c,v 1.49 2011-01-08 02:43:34 phintuka Exp $ * */ @@ -806,7 +806,7 @@ static int fn_name (autocrop_post_plugin_t *this, vo_frame_t *frame, int *crop_t const int ignored_side_width = 16 * pixel_pitch; \ const int width = frame->width * pixel_pitch; \ const int top_logo_width = (frame->width * this->logo_width / 100) * pixel_pitch; \ - const int bottom_logo_width = this->subs_detect_lifetime ? -1: top_logo_width - 1; \ + const int bottom_logo_width = this->subs_detect ? -1: top_logo_width - 1; \ const int pitch = frame->pitches[0]; \ const int half_height = frame->height / 2; \ \ |
