46 Commits (439b009a794983a738f3d48e1d07cd721dca112d)

Author SHA1 Message Date
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
Romain Vimont f9562f537a Unref the packet on error
8 years ago
Romain Vimont a34fbd23e9 Do not leak the packet data
8 years ago
Romain Vimont 82b4acee73 Do not fail on EAGAIN
8 years ago
Romain Vimont 84ad6633a6 Move the new avcodec implementation before the old
8 years ago
Romain Vimont 1b0cea61a5 Do not use return code for thread run function
8 years ago
Romain Vimont 27b9159b07 Cleanup old code comment
8 years ago
Romain Vimont 9b056f5091 Replace SDL_net by custom implementation
8 years ago
Romain Vimont bf41e5479b Improve decoder stopped event
8 years ago
Romain Vimont 3ed80a1fac Define macros wrappers for logs
8 years ago
Romain Vimont 6fe65d9f5c Log with category APPLICATION
8 years ago
Romain Vimont 523097eadf Provide decoder_init()
8 years ago
Romain Vimont 2fdc368c41 Do not try to decode video when EOF is reached
8 years ago
Romain Vimont 127e56780a Fix deadlock on exit if SKIP_FRAMES disabled
8 years ago
Romain Vimont 629c296207 Move frame swapping logic to frame.c
8 years ago
Romain Vimont 8d30d40b79 Make SKIP_FRAMES a compilation flag
8 years ago
Romain Vimont b9c9466d65 Handle condition variable failure
8 years ago
Romain Vimont c4266e487b Rename (un)lock_mutex to mutex_(un)lock
8 years ago
Romain Vimont 37d88b8a6a Use SDL_bool return type instead of int
8 years ago
Romain Vimont 54d9148a36 Initial commit
8 years ago