framelinksrc: properly copy buffer if there is pre- or post-valid data

This commit is contained in:
Joshua M. Doe
2014-01-15 15:52:43 -05:00
parent aa46f16701
commit 61b7040c2d
2 changed files with 27 additions and 20 deletions

View File

@@ -54,11 +54,11 @@ struct _GstFramelinkSrc
GstBuffer *buffer;
gboolean buffer_ready;
guint buffer_processed_count;
GstCaps *caps;
gint height;
gint widthBytesPreValid;
gint widthBytes;
gint heightPreValid;
gint gst_stride;
guint flex_stride;