reqwesthttpsrc: Fix up context name

This commit is contained in:
Sebastian Dröge 2019-10-04 17:30:30 +03:00
parent c4e51d3e8c
commit 120f85ac71
2 changed files with 2 additions and 2 deletions

View file

@ -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>);

View file

@ -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