summaryrefslogtreecommitdiff
path: root/src/post/planar/eq.c
diff options
context:
space:
mode:
authorMichael Roitzsch <mroi@users.sourceforge.net>2003-08-12 13:56:25 +0000
committerMichael Roitzsch <mroi@users.sourceforge.net>2003-08-12 13:56:25 +0000
commiteb8339e2b2719c63eeac10f3ec4df4c86d4b38ce (patch)
treedb23c54ff9c2460af2d793788940db5a9ff7fcac /src/post/planar/eq.c
parentf8fb6933244e2e494052c840bdd7dd9d66ed8512 (diff)
downloadxine-lib-eb8339e2b2719c63eeac10f3ec4df4c86d4b38ce.tar.gz
xine-lib-eb8339e2b2719c63eeac10f3ec4df4c86d4b38ce.tar.bz2
handle frame flags properly, small aspect ratio fix for expand
CVS patchset: 5277 CVS date: 2003/08/12 13:56:25
Diffstat (limited to 'src/post/planar/eq.c')
-rw-r--r--src/post/planar/eq.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/post/planar/eq.c b/src/post/planar/eq.c
index c0af88d78..b83e058b6 100644
--- a/src/post/planar/eq.c
+++ b/src/post/planar/eq.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: eq.c,v 1.3 2003/08/04 03:47:11 miguelfreitas Exp $
+ * $Id: eq.c,v 1.4 2003/08/12 13:56:26 mroi Exp $
*
* mplayer's eq (soft video equalizer)
* Copyright (C) Richard Felker
@@ -460,7 +460,7 @@ static int eq_draw(vo_frame_t *frame, xine_stream_t *stream)
if( frame->format != XINE_IMGFMT_YV12 ) {
yv12_frame = port->original_port->get_frame(port->original_port,
- frame->width, frame->height, frame->ratio, XINE_IMGFMT_YV12, VO_BOTH_FIELDS);
+ frame->width, frame->height, frame->ratio, XINE_IMGFMT_YV12, frame->flags | VO_BOTH_FIELDS);
yv12_frame->pts = frame->pts;
yv12_frame->duration = frame->duration;
@@ -479,7 +479,7 @@ static int eq_draw(vo_frame_t *frame, xine_stream_t *stream)
out_frame = port->original_port->get_frame(port->original_port,
- frame->width, frame->height, frame->ratio, XINE_IMGFMT_YV12, VO_BOTH_FIELDS);
+ frame->width, frame->height, frame->ratio, XINE_IMGFMT_YV12, frame->flags | VO_BOTH_FIELDS);
extra_info_merge(out_frame->extra_info, frame->extra_info);