[FFmpeg-devel] [PATCH] avformat/mov: print the projection type when reporting it as unsupported

James Almer jamrial at gmail.com
Fri Mar 9 16:24:27 EET 2018


Signed-off-by: James Almer <jamrial at gmail.com>
---
 libavformat/mov.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/mov.c b/libavformat/mov.c
index 7002a82787..82b9aa1a90 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -5454,7 +5454,7 @@ static int mov_read_sv3d(MOVContext *c, AVIOContext *pb, MOVAtom atom)
             projection = AV_SPHERICAL_EQUIRECTANGULAR;
         break;
     default:
-        av_log(c->fc, AV_LOG_ERROR, "Unknown projection type\n");
+        av_log(c->fc, AV_LOG_ERROR, "Unknown projection type: %s\n", av_fourcc2str(tag));
         return 0;
     }
 
-- 
2.16.2



More information about the ffmpeg-devel mailing list