]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_framepack.c
lavfi: add new iteration API
[ffmpeg] / libavfilter / vf_framepack.c
index a5cd9540b97ce73c1f19b308540de3d65fd88b46..12a29964c47c28753c36f6d2b64f49fcf71fe6bf 100644 (file)
@@ -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]);