History

set timebase correctly? this thing is always 15fps?

Originally committed as revision 4519 to svn://svn.ffmpeg.org/ffmpeg/trunk

Michael Niedermayer committed 21 years ago

Commit 8341e4e1 parent 2eca4a41 file · +2 −3Browse files

Unified · Split

libavformat/psxstr.c+2−3
@@ -177,8 +177,7 @@ static int str_read_header(AVFormatContext *s, · 176 unmodified lines
177177 st = av_new_stream(s, 0);
178178 if (!st)
179179 return AVERROR_NOMEM;
180− /* set the pts reference (1 pts = 1/90000) */
181− av_set_pts_info(st, 33, 1, 90000);
180+ av_set_pts_info(st, 64, 1, 15);
182181
183182 str->channels[channel].video_stream_index = st->index;
184183
@@ -207,7 +206,7 @@ static int str_read_header(AVFormatContext *s, · 22 unmodified lines
207206 st = av_new_stream(s, 0);
208207 if (!st)
209208 return AVERROR_NOMEM;
210− av_set_pts_info(st, 33, 1, 90000);
209+ av_set_pts_info(st, 64, 128, str->channels[channel].sample_rate);
211210
212211 str->channels[channel].audio_stream_index = st->index;
213212

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t