69 Commits (2fc80eae2db098f613b45b99b6d49ea9a455724d)

Author SHA1 Message Date
Romain Vimont 31131039bb Add missing includes
4 years ago
Romain Vimont 6fd7e89da1 Explicitly initialize decoder sink_count
5 years ago
Romain Vimont ae6ec7a194 Unref decoder AVFrame immediately
5 years ago
Romain Vimont 8b90dc61b9 Handle EAGAIN on send_packet in decoder
5 years ago
Romain Vimont 6f5ad21f57 Make decoder push frames to sinks
5 years ago
Romain Vimont f7a1b67d66 Make stream push packets to sinks
5 years ago
Romain Vimont cbed38799e Expose decoder as packet sink
5 years ago
Romain Vimont 5beb7d6c02 Reorder decoder functions
5 years ago
Romain Vimont 2ddf760c09 Make video_buffer more generic
5 years ago
Romain Vimont de9b79ec2d Remove compat with old FFmpeg decoding API
5 years ago
Romain Vimont 55806e7d31 Remove option --render-expired-frames
5 years ago
Romain Vimont a09733d175 Remove useless includes from decoder.c
5 years ago
Romain Vimont 6231f683af Fix compilation error for old decoding API
5 years ago
Romain Vimont cb9c42bdcb Use a callback to notify frame skip
5 years ago
Romain Vimont fb9f9848bd Use a callback to notify a new frame
5 years ago
Romain Vimont 441d3fb119 Make video buffer more generic
5 years ago
Romain Vimont cb197ee3a2 Move fps counter out of video buffer
5 years ago
Romain Vimont f6320c7e31 Wrap SDL thread functions into scrcpy-specific API
5 years ago
Romain Vimont 59feb2a15c Group common includes into common.h
5 years ago
Romain Vimont d0f5a7fd9f Remove unused includes
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 1f8ba1ca79 Include config.h everywhere
6 years ago
Romain Vimont a7b3901c31 Add more consts
7 years ago
Romain Vimont 8595862005 Use explicit output parameter for skipped frame
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 e6e011baaf Add stream layer
7 years ago
Romain Vimont bcd4090d51 Fix recording with old decoding/encoding API
7 years ago
Romain Vimont 84270e2d18 Rename "stop" to "interrupt"
7 years ago
Romain Vimont fff87095d9 Rename "frames" to "video_buffer"
7 years ago
Romain Vimont 751600a7f9 Move all compat ifdefs definitions to compat.h
7 years ago
Romain Vimont 1a5ba59504 Fix memory leak on close
7 years ago
Romain Vimont 2876463d39 Fix read_packet() return value on error or EOF
7 years ago
Romain Vimont 22ff03f2f7 Do not queue invalid PTS
7 years ago
Romain Vimont 60afb46c8d Store queue of PTS for pending frames
7 years ago
Romain Vimont 345f8858d3 Send frame meta only if recording is enabled
7 years ago
Romain Vimont 70579dc709 Wrap receiver state into separate struct
7 years ago
Romain Vimont e562837c0b Avoid partial header reads
7 years ago
Romain Vimont ebe998cf78 Move buffer reader functions to buffer_util.h
7 years ago
Romain Vimont 475912a39c Do not transmit MediaCodec flags
7 years ago
Romain Vimont 27e8a9a79d Assign PTS to the right frame
7 years ago
Romain Vimont 61db575861 Decode and push frame before recording
7 years ago
Romain Vimont 2cd99e7205 Only set valid PTS/DTS
7 years ago
Romain Vimont 27686e9361 Add recorder
7 years ago
Ivan Gorinov d706c5df39 Enable video output file, with pts set by server
7 years ago
Romain Vimont 5c739874a4 Fix memory leak on error
7 years ago
Romain Vimont 536b31829a Separate multi-words filenames by '_'
7 years ago
Romain Vimont 35298bb0c6 Process the last video frame
8 years ago
Romain Vimont 73c332e3e4 Unref last packet on exit
8 years ago