mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-16 03:50:05 +01:00
Merge commit '99e9697e3a12ab4a6638a36b95edafd6a98f9eaa'
* commit '99e9697e3a12ab4a6638a36b95edafd6a98f9eaa': stereo3d: Support view type for frame sequence type Merged-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@@ -1233,6 +1233,13 @@ static int h264_export_frame_props(H264Context *h)
|
||||
|
||||
if (fp->content_interpretation_type == 2)
|
||||
stereo->flags = AV_STEREO3D_FLAG_INVERT;
|
||||
|
||||
if (fp->frame_packing_arrangement_type == 5) {
|
||||
if (fp->current_frame_is_frame0_flag)
|
||||
stereo->view = AV_STEREO3D_VIEW_LEFT;
|
||||
else
|
||||
stereo->view = AV_STEREO3D_VIEW_RIGHT;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user