Commit 2b8402b1 authored by Antoine Cellerier's avatar Antoine Cellerier

Make error output usable.

parent 7e29d932
...@@ -166,7 +166,7 @@ static int Create( vlc_object_t *p_this ) ...@@ -166,7 +166,7 @@ static int Create( vlc_object_t *p_this )
} }
else else
{ {
msg_Err( p_filter, "no valid gradient mode provided" ); msg_Err( p_filter, "no valid gradient mode provided (%s)", psz_method );
p_filter->p_sys->i_mode = GRADIENT; p_filter->p_sys->i_mode = GRADIENT;
} }
} }
...@@ -761,7 +761,7 @@ static int GradientCallback( vlc_object_t *p_this, char const *psz_var, ...@@ -761,7 +761,7 @@ static int GradientCallback( vlc_object_t *p_this, char const *psz_var,
} }
else else
{ {
msg_Err( p_this, "no valid gradient mode provided" ); msg_Err( p_this, "no valid gradient mode provided (%s)", newval.psz_string );
p_sys->i_mode = GRADIENT; p_sys->i_mode = GRADIENT;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment