[Ffmpeg-cvslog] CVS: ffmpeg/libavformat psxstr.c,1.9,1.10

Michael Niedermayer CVS michael
Sat Aug 13 23:56:59 CEST 2005


Update of /cvsroot/ffmpeg/ffmpeg/libavformat
In directory mail:/var2/tmp/cvs-serv5914

Modified Files:
	psxstr.c 
Log Message:
set timebase correctly? this thing is always 15fps?


Index: psxstr.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/psxstr.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- psxstr.c	17 Jul 2005 22:24:36 -0000	1.9
+++ psxstr.c	13 Aug 2005 21:56:57 -0000	1.10
@@ -177,8 +177,7 @@
                 st = av_new_stream(s, 0);
                 if (!st)
                     return AVERROR_NOMEM;
-                /* set the pts reference (1 pts = 1/90000) */
-                av_set_pts_info(st, 33, 1, 90000);
+                av_set_pts_info(st, 64, 1, 15);
 
                 str->channels[channel].video_stream_index = st->index;
 
@@ -207,7 +206,7 @@
                 st = av_new_stream(s, 0);
                 if (!st)
                     return AVERROR_NOMEM;
-                av_set_pts_info(st, 33, 1, 90000);
+                av_set_pts_info(st, 64, 128, str->channels[channel].sample_rate);
 
                 str->channels[channel].audio_stream_index = st->index;
 





More information about the ffmpeg-cvslog mailing list