50 Commits (7b29f5fd2de8f302e03365013093f5665efd3cfd)

Author SHA1 Message Date
Romain Vimont 057c7a4df4 Move str_util to str
4 years ago
Romain Vimont 979ce64dc0 Improve string util API
4 years ago
Romain Vimont 4c4381de4c Use sc_ prefix for size, position and point
4 years ago
Romain Vimont 31131039bb Add missing includes
4 years ago
Romain Vimont daf90d33d5 Fix code style
5 years ago
Romain Vimont 099cba07f0 Rename queue to sc_queue
5 years ago
Romain Vimont e9096e3e34 Remove unnecessary calls to av_packet_unref()
5 years ago
Romain Vimont 4af317d40d Allocate AVPacket for recorder
5 years ago
Romain Vimont 151bc16644 Use strlist_contains() to find a muxer
5 years ago
Romain Vimont 243854a408 Fix recorder comment
5 years ago
Romain Vimont 2a5dfc1c17 Handle errors using gotos in recorder_open()
5 years ago
Romain Vimont e3fccc5a5e Initialize recorder fields on open
5 years ago
Romain Vimont f7a1b67d66 Make stream push packets to sinks
5 years ago
Romain Vimont 5980183a33 Expose recorder as packet sink
5 years ago
Romain Vimont fe8de893ca Privatize recorder threading
5 years ago
Romain Vimont a974483c15 Reorder recorder functions
5 years ago
Romain Vimont 5d9e96dc4e Remove compat with old FFmpeg codec params API
5 years ago
Romain Vimont 21b590b766 Write trailer from recorder thread
5 years ago
Romain Vimont d0983db592 Make internal recorder function static
5 years ago
Romain Vimont f6320c7e31 Wrap SDL thread functions into scrcpy-specific API
5 years ago
Romain Vimont 30e619d37f Replace SDL_strdup() by strdup()
5 years ago
Romain Vimont 59feb2a15c Group common includes into common.h
5 years ago
Romain Vimont a65ebceac1 Add missing mutex unlock on error
5 years ago
Romain Vimont 0ba74fbd9a Make scrcpy.h independant of other headers
6 years ago
Romain Vimont 510caff0cd Replace SDL_assert() by assert()
6 years ago
Romain Vimont dfd0707a29 Move utilities to util/
6 years ago
Romain Vimont 771bd8404d Do not write invalid packet duration
6 years ago
Romain Vimont b08a98324d Fix segfault on empty file recorded
6 years ago
Romain Vimont 95fd64b5de Add scrcpy version in recorded video metadata
6 years ago
Romain Vimont 1f8ba1ca79 Include config.h everywhere
6 years ago
Romain Vimont a9c8fa305d Fix segfault on recording with old FFmpeg
6 years ago
Romain Vimont 8507fea271 Record a packet with its duration
6 years ago
Romain Vimont 5e4ccfd832 Use generic FIFO queue for recording
6 years ago
Romain Vimont 6abb4902c6 Log recording failure
6 years ago
Romain Vimont 35d9185f6c Record asynchronously
6 years ago
Romain Vimont 63af7fbafe Reduce latency by 1 frame
6 years ago
Romain Vimont 3c55d0c69b Fix double-free on error
7 years ago
Romain Vimont 056e47e752 Replace "cannot" by "could not"
7 years ago
Romain Vimont a7b3901c31 Add more consts
7 years ago
Romain Vimont dfed1b250e Replace SDL types by C99 standard types
7 years ago
Romain Vimont aeda583a2c Update code style
7 years ago
Romain Vimont 751600a7f9 Move all compat ifdefs definitions to compat.h
7 years ago
Romain Vimont f5f4e6b1c5 Allocate extradata with av_malloc()
7 years ago
Romain Vimont b23cacfc1a Add recording logs
7 years ago
Romain Vimont 0ed2373952 Support recording to MKV
7 years ago
Romain Vimont 1aaad6ba35 Rescale packet timestamp to container time base
7 years ago
Romain Vimont c8f0805b89 Write header file with correct extradata
7 years ago
Romain Vimont b98eb7d0fa Support AVStream.codec for old FFmpeg versions
7 years ago
yuchenlin e361b49b4a recorder: use av_oformat_next to support older FFmpeg
7 years ago
Romain Vimont 27686e9361 Add recorder
7 years ago