diff mbox series

[FFmpeg-devel,2/3] avutil/stereo3d: add a Stereo3D view to signal that the view is unspecified

Message ID 20240626233059.10846-2-jamrial@gmail.com
State New
Headers show
Series [FFmpeg-devel,1/3,v5] avutil/stereo3d: add a Stereo3D type to signal that the packing is unspecified | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

James Almer June 26, 2024, 11:30 p.m. UTC
Signed-off-by: James Almer <jamrial@gmail.com>
---
 libavutil/stereo3d.c | 1 +
 libavutil/stereo3d.h | 5 +++++
 2 files changed, 6 insertions(+)
diff mbox series

Patch

diff --git a/libavutil/stereo3d.c b/libavutil/stereo3d.c
index 647f9a952a..d6de476532 100644
--- a/libavutil/stereo3d.c
+++ b/libavutil/stereo3d.c
@@ -81,6 +81,7 @@  static const char * const stereo3d_view_names[] = {
     [AV_STEREO3D_VIEW_PACKED] = "packed",
     [AV_STEREO3D_VIEW_LEFT]   = "left",
     [AV_STEREO3D_VIEW_RIGHT]  = "right",
+    [AV_STEREO3D_VIEW_UNSPEC] = "unspecified",
 };
 
 static const char * const stereo3d_primary_eye_names[] = {
diff --git a/libavutil/stereo3d.h b/libavutil/stereo3d.h
index e3da3257d7..c0a4ab3f2d 100644
--- a/libavutil/stereo3d.h
+++ b/libavutil/stereo3d.h
@@ -161,6 +161,11 @@  enum AVStereo3DView {
      * Frame contains only the right view.
      */
     AV_STEREO3D_VIEW_RIGHT,
+
+    /**
+     * Content is unspecified.
+     */
+    AV_STEREO3D_VIEW_UNSPEC,
 };
 
 /**