Commit 052a73e1 authored by Konstantin Pavlov's avatar Konstantin Pavlov

postproc: Update to use current libav API.

This change should be backwards compatible as corresponding types were
added in ffmpeg in 2008.
parent a8f8da1b
...@@ -102,10 +102,10 @@ static const char *const ppsz_filter_options[] = { ...@@ -102,10 +102,10 @@ static const char *const ppsz_filter_options[] = {
struct filter_sys_t struct filter_sys_t
{ {
/* Never changes after init */ /* Never changes after init */
pp_context_t *pp_context; pp_context *pp_context;
/* Set to NULL if post processing is disabled */ /* Set to NULL if post processing is disabled */
pp_mode_t *pp_mode; pp_mode *pp_mode;
/* Set to true if previous pic had a quant matrix /* Set to true if previous pic had a quant matrix
(used to prevent spamming warning messages) */ (used to prevent spamming warning messages) */
...@@ -345,7 +345,7 @@ static void PPChangeMode( filter_t *p_filter, const char *psz_name, ...@@ -345,7 +345,7 @@ static void PPChangeMode( filter_t *p_filter, const char *psz_name,
vlc_mutex_lock( &p_sys->lock ); vlc_mutex_lock( &p_sys->lock );
if( i_quality > 0 ) if( i_quality > 0 )
{ {
pp_mode_t *pp_mode = pp_get_mode_by_name_and_quality( psz_name ? pp_mode *pp_mode = pp_get_mode_by_name_and_quality( psz_name ?
psz_name : psz_name :
"default", "default",
i_quality ); i_quality );
......
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