mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-26 06:35:46 +03:00
e36a9ba96a
1. ElementImpl trait requires GstObjectImpl 2. gst logging macros are no longer globals prefixed with gst_, they live inside gst:: instead 3. element is not longer passed around in many places, it can be accessed as self.obj() or self.instance() 4. query_default is now a part of gst::Pad and takes the pad as an argument 5. some constructors were changed to use from_$type() 6. query.view_mut() returns QueryViewMut 7. ElementFactory::make now returns a builder that we have to .build() There are some extra cleanups as well: 1. spurious 'mut' and '&' are removed, a lot of that can be infered or were turned into a dereference by the compiler anyway 2. !bla.is_ok() are now bla.is_err() 3. some unneeded imports were removed |
||
---|---|---|
.. | ||
src | ||
blank.mkv | ||
blank.ptna | ||
build.rs | ||
Cargo.lock | ||
Cargo.toml | ||
make_blank_ptna.c | ||
Makefile | ||
README |
This module is a gstreamer plugin which provides the ability to replace media data encoded in certain formats with media encoded in another format. There are two main components, `videoconv` for converting video data provided to Quartz and Media Foundation, and `audioconv` for converting audio data provided to XAudio2. The broad idea is to hash the incoming data and replace it with data looked up from a cache. If there is a cache miss, then the data is recorded to disk and instead replaced by "blank" media. The conversion should be transparent to the application (Wine, FAudio) so no changes are required to the application. See the accompanying source files for more information.