1
0
mirror of https://github.com/Tha14/toxic.git synced 2026-01-27 18:33:15 +01:00

Implemented /endvideo command

This commit is contained in:
cnhenry
2015-07-30 02:37:31 -05:00
parent fcdc8e8b67
commit 53353825e2
3 changed files with 21 additions and 18 deletions

View File

@@ -68,7 +68,7 @@ VideoDeviceError open_video_device(VideoDeviceType type, int32_t selection, uint
VideoDeviceError close_video_device(VideoDeviceType type, uint32_t device_idx);
/* Write data to device */
VideoDeviceError write_video_out(uint32_t device_idx, const int16_t* data, uint32_t length, uint8_t channels);
VideoDeviceError write_video_out(uint16_t width, uint16_t height, uint8_t const *y, uint8_t const *u, uint8_t const *v, int32_t ystride, int32_t ustride, int32_t vstride, void *user_data);
void print_video_devices(ToxWindow* self, VideoDeviceType type);
void get_primary_video_device_name(VideoDeviceType type, char *buf, int size);