Commit e3bdfb56 authored by Nicolas Dufresne's avatar Nicolas Dufresne

aviddec: Re-enable direct rendering

This is achieved by using a tempory internal pool. We can then switch to a
downstream pool if the downstream pool buffer have matching strides.
parent fa290368
This diff is collapsed.
......@@ -56,8 +56,6 @@ struct _GstFFMpegVidDec
guint8 *padded;
guint padded_size;
gboolean current_dr; /* if direct rendering is enabled */
/* some properties */
enum AVDiscard skip_frame;
gint lowres;
......@@ -69,6 +67,9 @@ struct _GstFFMpegVidDec
gboolean is_realvideo;
GstCaps *last_caps;
/* Internally used for direct rendering */
GstBufferPool *internal_pool;
typedef struct _GstFFMpegVidDecClass GstFFMpegVidDecClass;
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