Commit 350148d3 authored by Antoine Cellerier's avatar Antoine Cellerier

Use filter chain in video output core.

parent 9675983e
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
#define _VLC_VOUT_H_ 1 #define _VLC_VOUT_H_ 1
#include <vlc_es.h> #include <vlc_es.h>
#include <vlc_filter.h>
/** Description of a planar graphic field */ /** Description of a planar graphic field */
typedef struct plane_t typedef struct plane_t
...@@ -365,9 +366,6 @@ VLC_EXPORT( int, __vout_AllocatePicture,( vlc_object_t *p_this, picture_t *p_pic ...@@ -365,9 +366,6 @@ VLC_EXPORT( int, __vout_AllocatePicture,( vlc_object_t *p_this, picture_t *p_pic
* @{ * @{
*/ */
/** Maximum numbers of video filters2 that can be attached to a vout */
#define MAX_VFILTERS 10
/** /**
* Video output thread descriptor * Video output thread descriptor
* *
...@@ -464,17 +462,9 @@ struct vout_thread_t ...@@ -464,17 +462,9 @@ struct vout_thread_t
char *psz_filter_chain; char *psz_filter_chain;
bool b_filter_change; bool b_filter_change;
/* Video filter2 chain /* Video filter2 chain */
* these are handled like in transcode.c filter_chain_t *p_vf2_chain;
* XXX: we might need to merge the two chains (v1 and v2 filters) */ char *psz_vf2;
char *psz_vfilters[MAX_VFILTERS];
config_chain_t *p_vfilters_cfg[MAX_VFILTERS];
int i_vfilters_cfg;
filter_t *pp_vfilters[MAX_VFILTERS];
int i_vfilters;
bool b_vfilter_change;
/* Misc */ /* Misc */
bool b_snapshot; /**< take one snapshot on the next loop */ bool b_snapshot; /**< take one snapshot on the next loop */
......
This diff is collapsed.
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