Commit e1e77dee authored by Seungha Yang's avatar Seungha Yang 🐑
Browse files

nvdec: Drop async queue and handle data on callback of CUvideoparser

Callbacks of CUvideoparser is called on the streaming thread.
So the use of async queue has no benefit.
parent baa02f30
This diff is collapsed.
......@@ -57,7 +57,6 @@ struct _GstNvDec
GstCudaContext *cuda_context;
CUvideoparser parser;
CUvideodecoder decoder;
GAsyncQueue *decode_queue;
guint width;
guint height;
......@@ -65,6 +64,8 @@ struct _GstNvDec
guint fps_d;
GstClockTime min_latency;
GstVideoCodecState *input_state;
GstFlowReturn last_ret;
struct _GstNvDecClass
Supports Markdown
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