[vlc-commits] vfilter: swswale: improve error message
Francois Cartegnie
git at videolan.org
Tue Sep 4 11:57:42 CEST 2018
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Sep 4 11:51:28 2018 +0200| [51627992288f3e4e558a9e8b2a6f2e3b2051db11] | committer: Francois Cartegnie
vfilter: swswale: improve error message
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=51627992288f3e4e558a9e8b2a6f2e3b2051db11
---
modules/video_chroma/swscale.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/modules/video_chroma/swscale.c b/modules/video_chroma/swscale.c
index d88094bb0e..3570510b07 100644
--- a/modules/video_chroma/swscale.c
+++ b/modules/video_chroma/swscale.c
@@ -372,7 +372,9 @@ static int Init( filter_t *p_filter )
ScalerConfiguration cfg;
if( GetParameters( &cfg, p_fmti, p_fmto, p_sys->i_sws_flags ) )
{
- msg_Err( p_filter, "format not supported" );
+ msg_Err( p_filter, "format not supported '%4.4s' %ux%u -> '%4.4s' %ux%u",
+ (const char *)&p_fmti->i_chroma, p_fmti->i_visible_width, p_fmti->i_visible_height,
+ (const char *)&p_fmto->i_chroma, p_fmto->i_visible_width, p_fmto->i_visible_height );
return VLC_EGENERIC;
}
if( p_fmti->i_visible_width == 0 || p_fmti->i_visible_height == 0 ||
More information about the vlc-commits
mailing list