summaryrefslogtreecommitdiff
path: root/src/post/mosaico/switch.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/mosaico/switch.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/mosaico/switch.c')
-rw-r--r--src/post/mosaico/switch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/post/mosaico/switch.c b/src/post/mosaico/switch.c
index 40f76a56d..cbe2335af 100644
--- a/src/post/mosaico/switch.c
+++ b/src/post/mosaico/switch.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: switch.c,v 1.4 2003/08/04 03:47:10 miguelfreitas Exp $
+ * $Id: switch.c,v 1.5 2003/08/12 13:56:25 mroi Exp $
*/
/*
@@ -389,7 +389,7 @@ static int switch_draw_2(vo_frame_t *frame, xine_stream_t *stream)
/* printf("draw_2\n"); */
res_frame = port->original_port->get_frame(port->original_port,
- frame->width, frame->height, frame->ratio, frame->format, VO_BOTH_FIELDS);
+ frame->width, frame->height, frame->ratio, frame->format, frame->flags | VO_BOTH_FIELDS);
res_frame->pts = frame->pts;
res_frame->duration = frame->duration;
res_frame->bad_frame = frame->bad_frame;
@@ -428,7 +428,7 @@ static int switch_draw(vo_frame_t *frame, xine_stream_t *stream)
/* printf("draw_1\n"); */
res_frame = port->original_port->get_frame(port->original_port,
- frame->width, frame->height, frame->ratio, frame->format, VO_BOTH_FIELDS);
+ frame->width, frame->height, frame->ratio, frame->format, frame->flags | VO_BOTH_FIELDS);
res_frame->pts = frame->pts;
res_frame->duration = frame->duration;
res_frame->bad_frame = frame->bad_frame;