mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-27 05:51:01 +00:00
reqwesthttpsrc: Fix up context name
This commit is contained in:
parent
c4e51d3e8c
commit
120f85ac71
2 changed files with 2 additions and 2 deletions
|
@ -177,7 +177,7 @@ static PROPERTIES: [subclass::Property; 11] = [
|
|||
}),
|
||||
];
|
||||
|
||||
const REQWEST_CLIENT_CONTEXT: &str = "gst.request.client";
|
||||
const REQWEST_CLIENT_CONTEXT: &str = "gst.reqwest.client";
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
struct ClientContext(Arc<ClientContextInner>);
|
||||
|
|
|
@ -608,7 +608,7 @@ fn test_cookies() {
|
|||
},
|
||||
);
|
||||
|
||||
let context = h.src.get_context("gst.request.client").expect("No context");
|
||||
let context = h.src.get_context("gst.reqwest.client").expect("No context");
|
||||
h2.src.set_context(&context);
|
||||
|
||||
// Set the HTTP source to Playing so that everything can start
|
||||
|
|
Loading…
Reference in a new issue