diff libmpcodecs/ve_vfw.c @ 17487:fa17424b4c7b

change muxer_write_chunk() so that pts/dts _could_ be passed from encoder to muxer
author michael
date Thu, 26 Jan 2006 19:32:07 +0000
parents 6ff3379a0862
children 20aca9baf5d8
line wrap: on
line diff
--- a/libmpcodecs/ve_vfw.c	Thu Jan 26 00:48:53 2006 +0000
+++ b/libmpcodecs/ve_vfw.c	Thu Jan 26 19:32:07 2006 +0000
@@ -243,7 +243,7 @@
     int ret;
 //    flip_upside_down(vo_image_ptr,vo_image_ptr,3*vo_w,vo_h); // dirty hack
     ret=vfw_encode_frame(mux_v->bih, mux_v->buffer, vfw_bih, mpi->planes[0], &flags, 10000);
-    muxer_write_chunk(mux_v,mux_v->bih->biSizeImage,flags);
+    muxer_write_chunk(mux_v,mux_v->bih->biSizeImage,flags, MP_NOPTS_VALUE, MP_NOPTS_VALUE);
     return 1;
 }