mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-11-22 14:35:57 +01:00
f60bdcef71
- currently the cleanup can segfault due to uninitialized list objects - introduce xdpw_pwr_context_destroy() and fixup goto logic
14 lines
404 B
C
14 lines
404 B
C
#ifndef PIPEWIRE_SCREENCAST_H
|
|
#define PIPEWIRE_SCREENCAST_H
|
|
|
|
#include "screencast_common.h"
|
|
|
|
#define XDPW_PWR_BUFFERS 1
|
|
#define XDPW_PWR_ALIGN 16
|
|
|
|
void xdpw_pwr_stream_create(struct xdpw_screencast_instance *cast);
|
|
void xdpw_pwr_stream_destroy(struct xdpw_screencast_instance *cast);
|
|
int xdpw_pwr_context_create(struct xdpw_state *state);
|
|
void xdpw_pwr_context_destroy(struct xdpw_state *state);
|
|
|
|
#endif
|