pleorasrc: cache caps if width, height, and pixel type don't change

This commit is contained in:
Joshua M. Doe
2019-10-21 11:50:28 -04:00
parent 19ce118c96
commit 88f7a82818
2 changed files with 68 additions and 35 deletions

View File

@@ -63,6 +63,8 @@ struct _GstPleoraSrc
guint32 total_dropped_frames;
GstCaps *caps;
PvPixelType pv_pixel_type;
gint width;
gint height;
gint gst_stride;
gint pleora_stride;