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
177 st = av_new_stream(s, 0);177 st = av_new_stream(s, 0);
178 if (!st)178 if (!st)
179 return AVERROR_NOMEM;179 return AVERROR_NOMEM;
180 /* set the pts reference (1 pts = 1/90000) */180 av_set_pts_info(st, 64, 1, 15);
181 av_set_pts_info(st, 33, 1, 90000);
182 181
183 str->channels[channel].video_stream_index = st->index;182 str->channels[channel].video_stream_index = st->index;
184 183
@@ -207,7 +206,7 @@ static int str_read_header(AVFormatContext *s, · 22 unmodified lines
207 st = av_new_stream(s, 0);206 st = av_new_stream(s, 0);
208 if (!st)207 if (!st)
209 return AVERROR_NOMEM;208 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);
211 210
212 str->channels[channel].audio_stream_index = st->index;211 str->channels[channel].audio_stream_index = st->index;
213 212

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