diff options
author | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-01-26 19:32:07 +0000 |
---|---|---|
committer | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-01-26 19:32:07 +0000 |
commit | e6338c5858795c42ca45afbabe8b765d8050db58 (patch) | |
tree | a7fd45468aa20213219dbcd0e7b57cf9ceae628c /libmpcodecs/ve_divx4.c | |
parent | 24f25bfa8153252b87327f7fff5358b791ef4c2d (diff) | |
download | mpv-e6338c5858795c42ca45afbabe8b765d8050db58.tar.bz2 mpv-e6338c5858795c42ca45afbabe8b765d8050db58.tar.xz |
change muxer_write_chunk() so that pts/dts _could_ be passed from encoder to muxer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17488 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/ve_divx4.c')
-rw-r--r-- | libmpcodecs/ve_divx4.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libmpcodecs/ve_divx4.c b/libmpcodecs/ve_divx4.c index 79daf1e67e..565713bf99 100644 --- a/libmpcodecs/ve_divx4.c +++ b/libmpcodecs/ve_divx4.c @@ -396,9 +396,9 @@ static int put_image(struct vf_instance_s* vf, mp_image_t *mpi){ vf->priv->enc_frame.produce_empty_frame = 0; encore(vf->priv->enc_handle, ENC_OPT_ENCODE, &vf->priv->enc_frame, &enc_result); if(enc_result.cType == 'I') - muxer_write_chunk(mux_v,vf->priv->enc_frame.length,0x10); + muxer_write_chunk(mux_v,vf->priv->enc_frame.length,0x10, MP_NOPTS_VALUE, MP_NOPTS_VALUE); else - muxer_write_chunk(mux_v,vf->priv->enc_frame.length,0); + muxer_write_chunk(mux_v,vf->priv->enc_frame.length,0, MP_NOPTS_VALUE, MP_NOPTS_VALUE); #else vf->priv->enc_frame.mvs=NULL; #ifdef HAVE_XVID_VBR @@ -444,7 +444,7 @@ static int put_image(struct vf_instance_s* vf, mp_image_t *mpi){ enc_result.quantizer); } } - muxer_write_chunk(mux_v,vf->priv->enc_frame.length,enc_result.is_key_frame?0x10:0); + muxer_write_chunk(mux_v,vf->priv->enc_frame.length,enc_result.is_key_frame?0x10:0, MP_NOPTS_VALUE, MP_NOPTS_VALUE); #endif return 1; } |