-
BitBot
[Github] (servo/servo) [pr #22918] drexler requested merge into master: implement historical srcElement attribute for Event interface -
git.io/fhFkp
-
pcwalton
standups: Removed all old non-SIMD geometry types from Pathfinder 3.
-
crowbot
pcwalton: Your current nickname is not authorized.
-
pcwalton
wow, rude
-
pcwalton
standups: Removed all old non-SIMD geometry types from Pathfinder 3.
-
crowbot
Status submitted successfully.
-
accakks-M
jdm , Thanks for the help. I'll look into it!
-
accakks-M
jdm: Thanks I'll look into it!
-
crowbot
servo-mac9 is overdue! (build started 2 hours ago)
-
crowbot
servo-mac9 is overdue! (build started 2 hours ago)
-
crowbot
servo-mac9 is overdue! (build started 3 hours ago)
-
BitBot
[Github] (servo/servo) [pr #22919] servo-wpt-sync requested merge into master: Sync WPT with upstream (20-02-2019) -
git.io/fhFtH
-
BitBot
[Github] (servo/webrender) [pr #3564] moz-gfx requested merge into master: Sync changes from mozilla-central -
git.io/fhFqL
-
BitBot
[Github] (servo/servo) [pr #22919] bors-servo merged into master: Sync WPT with upstream (20-02-2019) -
git.io/fhFtH
-
BitBot
[Github] (servo/webrender) [pr #3564] bors-servo merged into master: Sync changes from mozilla-central -
git.io/fhFqL
-
mitologi
The succession of these flame emperors, from Shennong, the first Yan Emperor, until the time of the last Yan Emperor's defeat by the Yellow Emperor, may have been some 500 years.
-
BitBot
[Github] (servo/rust-mozjs) [issue #452] zrzka closed: cargo test fails to build (linker error) on macOS -
git.io/fhdEf
-
paul
pcwalton: if you have a chance to look at this:
andlabs/libui #405#issuecomment-461903849
-
crowbot
PR #405: uiOpenGLArea -
andlabs/libui #405
-
BitBot
[Github] (servo/media) [pr #182] Manishearth closed without merging: Negotiate GL textures and render them in player example -
git.io/fhVWf
-
BitBot
[Github] (servo/media) [pr #182] Manishearth reopened: Negotiate GL textures and render them in player example -
git.io/fhVWf
-
BitBot
[Github] (servo/media) [pr #182] Manishearth closed without merging: Negotiate GL textures and render them in player example -
git.io/fhVWf
-
BitBot
[Github] (servo/media) [pr #182] Manishearth reopened: Negotiate GL textures and render them in player example -
git.io/fhVWf
-
ferjm
Manishearth: thanks!
-
nox
So I wrote this test:
-
nox
-
nox
And running it under miri obviously crashed:
-
nox
-
nox
miri is pretty cool.
-
BitBot
[Github] (servo/media) [issue #166] bors-servo closed: Modify player example to use GStreamerGL -
git.io/fhFGu
-
BitBot
[Github] (servo/media) [pr #182] bors-servo merged into master: Negotiate GL textures and render them in player example -
git.io/fhVWf
-
Manishearth
nox: nice!
-
vjaquez
hello servians :) any advise to pass the glutin's window object, instantiated in the ports, down to the player in video mediaelement
-
vjaquez
or at least the display id and gl context
-
Manishearth
vjaquez: off the top of your head do you know what the buffering behavior of proxysrc is?
-
Manishearth
also when do you need a decodebin over a plain videoconvert?
-
vjaquez
Manishearth: I have never played with proxysrc... sorry.. about decodebin, you might need to append a videoconvert after decodebin if your sink, or filter, needs a videoformat that decodebin cannot produce
-
vjaquez
normally the videodecoder determines the videoformat to generate
-
Manishearth
vjaquez: is there any reason why I can't just use videoconvert?
-
nox
-
crowbot
PR #5: Add a test -
nox/inert #5
-
crowbot
Status submitted successfully.
-
vjaquez
Manishearth: where?
-
Manishearth
vjaquez: I'm getting a video or audio stream from webrtc
-
Manishearth
can I just use video/audioconvert, or must I use decodebin?
-
vjaquez
oh, ok... video/audio convert converts from one raw audio/video to another raw format
-
vjaquez
in the case of video, for example, transforming a frame con RGB to YUV
-
Manishearth
ah so you still need decodebin?
-
vjaquez
decodebin is needed when you need to decode audio/video, for examples you have H.264 and needs the raw video frames
-
Manishearth
okay
-
Manishearth
but hm with webrtc that won't be necessary unless I decide to send h264 video across
-
Manishearth
if both sides are just sending over raw video this isn't necessary, right?
-
vjaquez
decodebin is a bin with a typefinder and autoplugs a demuxer, parsers, and decoders, as required
-
vjaquez
Manishearth: right!
-
Manishearth
okay, so I'll leve it out for now
-
BitBot
[Github] (servo/webrender) [pr #3565] moz-gfx requested merge into master: Sync changes from mozilla-central -
git.io/fhFZZ
-
Manishearth
vjaquez: I'm doing the following and getting an error
-
Manishearth
let proxy_src = gst::ElementFactory::make("proxysrc", None).unwrap();
-
Manishearth
let proxy_sink = gst::ElementFactory::make("proxysink", None).unwrap();
-
Manishearth
proxy_src.set_property("proxysink", &proxy_sink).unwrap();
-
Manishearth
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: BoolError("property can\'t be set from the given type")', src/libcore/result.rs:997:5
-
Manishearth
slomo: ^
-
Manishearth
the proxy_src element does have a "proxysink" property according to the docs and gst-inspect-1.0
-
vjaquez
mmmhh... perhaps you need to downcast it
-
vjaquez
since the factory::make delivers a GstElement
-
Manishearth
hm
-
vjaquez
and the property request a GstProxySink
-
Manishearth
oh, downcast the sink?
-
slomo
hrm
-
slomo
you can't downcast it :)
-
slomo
and it shouldn't be necessary either
-
vjaquez
upcast it? :S
-
slomo
downcast would be the correct direction :)
-
vjaquez
and why the &?
-
slomo
to make it a trait object
-
slomo
let me write a testcase, i think this is a bug in glib :) but first lunch
-
slomo
(glib bindings)
-
vjaquez
-
vjaquez
to set the appsink in glsinkbin
-
slomo
no, the cast there is needed so you can use the appsink API on it
-
slomo
that's not needed for setting it on that property
-
slomo
and line 437 can be without the "to_value()" :)
-
slomo
and 425
-
slomo
but lunch, bbl
-
Manishearth
-
Manishearth
oh maybe the ToValue impl requires a cst
-
Manishearth
I can't cast to a ProxySink though
-
Manishearth
Value("(GstProxySink) proxysink0")
-
Manishearth
that's the value that gets created
-
Manishearth
which is correct
-
slomo
don't worry about debugging this for now, i'm on it :)
-
Manishearth
get_property_type returns Some(GstProxySink)
-
slomo
the checks in glib are too strict, that's the problem :) i'm preparing a PR
-
Manishearth
ah nice
-
Manishearth
slomo: anything I can do in the meantime?
-
Manishearth
slomo: while I was reading it I came across a comment making me think so, but I wasn't sure
-
Manishearth
(there's a comment in set_property saying that it's stricter to be more Rusty)
-
slomo
yes but it's actually too strict :)
-
Manishearth
but in this case I have a Value of type GstProxySink
-
slomo
in C you could set a u32 on a i32 property for example, that's something we want to prevent
-
Manishearth
ah
-
Manishearth
they do say they allow subtypes
-
Manishearth
and into_value() correctly subtypes the gst::Element into a GstProxySink
-
slomo
the problem here is that the GValue has a type for GstElement, but the contained object is a GstProxySink
-
slomo
and we check the type of the GValue, and not the type of the contained object
-
Manishearth
slomo: it doesn't though
-
Manishearth
I did println!("{:?}", sink.into_value())
-
Manishearth
Value("(GstProxySink) proxysink0")
-
Manishearth
is what i got
-
Manishearth
oh
-
slomo
print sink.to_value().type_() :)
-
Manishearth
to_value_type returns GstElement
-
Manishearth
gah
-
Manishearth
okay gtg
-
Manishearth
any way to downcast the value?
-
Manishearth
so that i don't have to wait for a fix?
-
slomo
not without unsafe code. but if you have to leave now anyway, expect it to be fixed in the next hour or two :)
-
slomo
gtg == got to go i assume?
-
Manishearth
yeah
-
Manishearth
thanks!
-
philn
Manishearth: btw feel free to join #servo-media :)
-
Manishearth
philn: oo nice
-
eijebong
nox:
servo/servo #22767 anything new there ?
-
crowbot
PR #22767: (WIP) Switch from headers_ext 0.0.4 to headers 0.2.0 -
servo/servo #22767
-
nox
eijebong: 302 jdm
-
eijebong
nox: 404 jdm not found
-
eijebong
nox:
soc/dirs-rs 4dbc234#commitcomment-32410311 Getting rand 0.4 and 0.5 out once this is released :)
-
BitBot
[Github] (servo/media) [pr #207] ceyusa requested merge into master: Don't cast gobject to pass to set_property -
git.io/fhFnN
-
BitBot
[Github] (servo/gaol) [pr #54] Eijebong requested merge into master: Update rand to 0.6 -
git.io/fhFcL
-
BitBot
[Github] (servo/ipc-channel) [pr #226] Eijebong requested merge into master: Update rand and bump version -
git.io/fhFc4
-
BitBot
[Github] (servo/media) [pr #207] bors-servo merged into master: Don't cast gobject to pass to set_property -
git.io/fhFnN
-
BitBot
[Github] (servo/webrender) [pr #3565] bors-servo merged into master: Sync changes from mozilla-central -
git.io/fhFZZ
-
BitBot
[Github] (servo/ipc-channel) [pr #226] bors-servo merged into master: Update rand and bump version -
git.io/fhFc4
-
dlrobertson
eijebong: thanks for the PR, just FYI I can't update ipc-channel in crates.io, so in order to use it someone will need to publish the update
-
eijebong
dlrobertson: No problems, I've got publish rights ;)
-
dlrobertson
eijebong: +1 awesome, just wanted to make sure you weren't waiting on me
-
BitBot
[Github] (servo/servo) [issue #22920] jdm opened: Use new GL-based video playback -
git.io/fhF83
-
ajeffrey
500 jdm error: meant to be on PTO
-
Manishearth
issue closed as [go visit MOMA, josh]
-
froydnj
do we have any mozilla employees who are particularly versed in the intersection of windows code and rust?
-
ajeffrey
-
ajeffrey
Oooh, lifeguard is almost exactly what I want, but it has RcRecycled rather than ArcRecycled :/
-
eijebong
ajeffrey: I like the name x)
-
ajeffrey
eijebong: I'm trying to decide submitting a PR to get ArcRecycled, or just use a simple pool that does the thing I want:
play.rust-lang.org/?version=stable&…st=7087b5b2325af5142f38a9580e74a722
-
eijebong
ajeffrey: What happens when values are dropped ? They're not removed from the pool, right ?
-
ajeffrey
eijebong: that's the idea, they can then be recycled from the pool.
-
eijebong
ajeffrey: How do you find them back ?
-
ajeffrey
eijebong: pool.remove()
-
ajeffrey
returns a Some(val) if it can recycle from the pool, and None otherwise.
-
eijebong
OH
-
ajeffrey
eijebong: Arc is clever.
-
BitBot
[Github] (servo/gaol) [pr #54] bors-servo merged into master: Update rand to 0.6 -
git.io/fhFcL
-
Manishearth
standups: got sink stuff working again, but there's latency
-
crowbot1
Status submitted successfully.
-
BitBot
[Github] (servo/rust-webvr) [issue #61] asajeffrey opened: The VRDisplay is not provided with a Gl instance -
git.io/fhF0B
-
BitBot
[Github] (servo/media) [pr #208] Manishearth requested merge into master: [WIP] Make sink code work again -
git.io/fhF0S
-
Manishearth
standups: sink code fixes pushed up at
servo/media #208
-
crowbot1
PR #208: [WIP] Make sink code work again -
servo/media #208
-
crowbot1
Status submitted successfully.
-
larsberg
froydnj: acrichto is the most well-versed staff member. WindowsBunny is the person on IRC I usually bug with my Windows+Rust questions :-)
-
WindowsBunny
meanwhile larsberg is the person whose house I usually bug
-
» WindowsBunny licks froydnj
-
larsberg
I have so much pre-release/developer preview VR and AR hardware in my room that bunny-bugs are the least of my worries :-)
-
ajeffrey
Manishearth: do you see a problem with making rust-webvr-api depend on gleam?
-
ajeffrey
(I'm trying to fix
servo/rust-webvr #61)
-
crowbot
Issue #61: The VRDisplay is not provided with a Gl instance -
servo/rust-webvr #61
-
Manishearth
ajeffrey: nope
-
ajeffrey
Manishearth: kewl
-
» ajeffrey is back to plumbing again
-
ajeffrey
-
ajeffrey
Servo's now drawing something in the VRDisplay window,
-
ajeffrey
it's just not meant to be all red :/
-
pcwalton
standups: Yesterday, improved the rendering of strokes in Pathfinder 3. Today, fixing various bugs.
-
crowbot
Status submitted successfully.
-
ajeffrey
standups: Back to GL plumbing for WebVR.
-
crowbot
Status submitted successfully.
-
BitBot
[Github] (servo/rust-mozjs) [pr #453] aditj requested merge into master: Usable DataView typed array bindings -
git.io/fhFzX
-
ajeffrey
-
crowbot
Issue #61: The VRDisplay is not provided with a Gl instance -
servo/rust-webvr #61
-
nox
ajeffrey: You training for the release of Super Mario Maker 2?
-
ajeffrey
nox: I wish.
-
BitBot
[Github] (servo/libfreetype2) [issue #29] kpozin opened: Missing license files -
git.io/fhFgk
-
ajeffrey
Ah, my favourite source of deadlock, ipc channel send is blocking.
-
ajeffrey
-
ajeffrey
-
BitBot
[Github] (servo/servo) [issue #22921] asajeffrey opened: WebGL channels are a potential source of deadlock -
git.io/fhF2f
-
BitBot
[Github] (servo/servo) [issue #22922] robert-snakard opened: Compilation doesn't complete in one step. -
git.io/fhF2C
-
BitBot
[Github] (servo/servo) [pr #22923] peterjoel requested merge into master: #8539 Config preferences backend restructure -
git.io/fhFaJ