gstreamer-rs/examples/src
Johan Sternerup e026d922e4 gstreamr: bus: Add BusWatchGuard to automatically remove watch
Previously, with add_watch()/add_watch_local() you had to remember
calling remove_watch() in order not to leak the bus, the watch source
and two associated file descriptors. Now these methods instead return an
object of type BusWatchGuard that will automatically remove the bus
watch when the object is dropped.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1248>
2023-04-14 11:53:41 +03:00
..
bin gstreamr: bus: Add BusWatchGuard to automatically remove watch 2023-04-14 11:53:41 +03:00
examples-common.rs Group and merge imports in all manual code 2023-01-04 13:25:17 +02:00
glupload.rs gstreamer: bin: more generic {add,remove}_many() API 2023-03-09 14:27:25 +00:00