summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/ve_libdv.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpcodecs/ve_libdv.c')
-rw-r--r--libmpcodecs/ve_libdv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libmpcodecs/ve_libdv.c b/libmpcodecs/ve_libdv.c
index 67facec9d9..ed06abb517 100644
--- a/libmpcodecs/ve_libdv.c
+++ b/libmpcodecs/ve_libdv.c
@@ -72,13 +72,14 @@ static int query_format(struct vf_instance_s* vf, unsigned int fmt){
return 0;
}
-static void put_image(struct vf_instance_s* vf, mp_image_t *mpi){
+static int put_image(struct vf_instance_s* vf, mp_image_t *mpi){
dv_encode_full_frame(vf->priv->enc, mpi->planes,
(mpi->flags&MP_IMGFLAG_YUV) ? e_dv_color_yuv : e_dv_color_rgb,
mux_v->buffer);
mencoder_write_chunk(mux_v, 480 * (vf->priv->enc->isPAL ? 300 : 250) , 0x10);
+ return 1;
}
//===========================================================================//