summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_mpegpes.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libvo/vo_mpegpes.c b/libvo/vo_mpegpes.c
index 1a72880427..69b56faae0 100644
--- a/libvo/vo_mpegpes.c
+++ b/libvo/vo_mpegpes.c
@@ -428,10 +428,11 @@ static void flip_page (void)
#ifdef USE_LIBAVCODEC
if(picture_buf){ // YV12 only:
int out_size;
- static int fno=0;
+// static int fno=0;
/* encode the image */
out_size = avcodec_encode_video(&codec_context, outbuf, outbuf_size, &picture);
- send_pes_packet(outbuf,out_size,0x1E0,fno*(90000/25));++fno;
+// send_pes_packet(outbuf,out_size,0x1E0,fno*(90000/25));++fno;
+ send_pes_packet(outbuf,out_size,0x1E0,vo_pts);
// printf("frame size: %d \n",out_size);
}
#endif