summaryrefslogtreecommitdiff
path: root/libavfilter/vf_framepack.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/vf_framepack.c')
-rw-r--r--libavfilter/vf_framepack.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/vf_framepack.c b/libavfilter/vf_framepack.c
index a5cd9540b9..12a29964c4 100644
--- a/libavfilter/vf_framepack.c
+++ b/libavfilter/vf_framepack.c
@@ -324,6 +324,8 @@ static int try_push_frame(AVFilterContext *ctx)
if (!stereo)
return AVERROR(ENOMEM);
stereo->type = s->format;
+ stereo->view = i == LEFT ? AV_STEREO3D_VIEW_LEFT
+ : AV_STEREO3D_VIEW_RIGHT;
// filter the frame and immediately relinquish its pointer
ret = ff_filter_frame(outlink, s->input_views[i]);