summaryrefslogtreecommitdiff
path: root/src/post/mosaico
diff options
context:
space:
mode:
Diffstat (limited to 'src/post/mosaico')
-rw-r--r--src/post/mosaico/mosaico.c6
-rw-r--r--src/post/mosaico/switch.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/post/mosaico/mosaico.c b/src/post/mosaico/mosaico.c
index 60d9d7217..7a1d5eec9 100644
--- a/src/post/mosaico/mosaico.c
+++ b/src/post/mosaico/mosaico.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: mosaico.c,v 1.12 2003/08/04 03:47:10 miguelfreitas Exp $
+ * $Id: mosaico.c,v 1.13 2003/08/12 13:56:25 mroi Exp $
*/
/*
@@ -431,7 +431,7 @@ static int _mosaico_draw_1(vo_frame_t *frame, post_mosaico_out_t *output) {
pthread_mutex_lock(&output->mut1);
if(output->saved_frame != NULL) output->saved_frame->free(output->saved_frame);
output->saved_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);
output->saved_frame->pts = frame->pts;
output->saved_frame->duration = frame->duration;
output->saved_frame->bad_frame = frame->bad_frame;
@@ -477,7 +477,7 @@ static int _mosaico_draw_2(vo_frame_t *frame, post_mosaico_out_t *output, int co
}
output->saved_frame_2[cont] = 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);
output->saved_frame_2[cont]->pts = frame->pts;
output->saved_frame_2[cont]->duration = frame->duration;
output->saved_frame_2[cont]->bad_frame = frame->bad_frame;
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;