History

avfilter/vf_framepack: really fix ef466a8b29f8

Paul B Mahol committed 7 years ago

Commit 9498ce01 parent 9db24ee1 file · +1 −1Browse files

Showing the changes to libavfilter (1 of 1 file). Show all

Unified · Split

libavfilter/vf_framepack.c+1−1
@@ -281,7 +281,7 @@ static int try_push_frame(AVFilterContext *ctx) · 280 unmodified lines
281 for (i = 0; i < 2; i++) {281 for (i = 0; i < 2; i++) {
282 // set correct timestamps282 // set correct timestamps
283 if (pts != AV_NOPTS_VALUE)283 if (pts != AV_NOPTS_VALUE)
284 s->input_views[i]->pts = i == 0 ? pts * 2 : s->input_views[1]->pts + pts;284 s->input_views[i]->pts = i == 0 ? pts * 2 : pts * 2 + av_rescale_q(1, av_inv_q(outlink->frame_rate), outlink->time_base);
285 285
286 // set stereo3d side data286 // set stereo3d side data
287 stereo = av_stereo3d_create_side_data(s->input_views[i]);287 stereo = av_stereo3d_create_side_data(s->input_views[i]);

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