Mercurial > mplayer.hg
comparison libmpcodecs/ve_qtvideo.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 | 934380353fd6 |
children | 20aca9baf5d8 |
comparison
equal
deleted
inserted
replaced
17486:716de63bff7f | 17487:fa17424b4c7b |
---|---|
258 if(cres&0xFFFF)mp_msg(MSGT_MENCODER,MSGL_DBG2,"CompressSequenceFrame returned:%i\n",cres&0xFFFF); | 258 if(cres&0xFFFF)mp_msg(MSGT_MENCODER,MSGL_DBG2,"CompressSequenceFrame returned:%i\n",cres&0xFFFF); |
259 #if 0 | 259 #if 0 |
260 printf("Size %i->%i \n",stride*height,compressedsize); | 260 printf("Size %i->%i \n",stride*height,compressedsize); |
261 printf("Ratio: %i:1\n",(stride*height)/compressedsize); | 261 printf("Ratio: %i:1\n",(stride*height)/compressedsize); |
262 #endif | 262 #endif |
263 muxer_write_chunk(mux_v, compressedsize , similarity?0:0x10); | 263 muxer_write_chunk(mux_v, compressedsize , similarity?0:0x10, MP_NOPTS_VALUE, MP_NOPTS_VALUE); |
264 | 264 |
265 if(((*desc)->idSize)>MAX_IDSIZE){ | 265 if(((*desc)->idSize)>MAX_IDSIZE){ |
266 mp_msg(MSGT_MENCODER,MSGL_ERR,"FATAL! idSize=%d too big, increase MAX_IDSIZE in ve_qtvideo.c!\n",((*desc)->idSize)); | 266 mp_msg(MSGT_MENCODER,MSGL_ERR,"FATAL! idSize=%d too big, increase MAX_IDSIZE in ve_qtvideo.c!\n",((*desc)->idSize)); |
267 } else { | 267 } else { |
268 // according to QT docs, imagedescription may be changed while encoding | 268 // according to QT docs, imagedescription may be changed while encoding |