mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-04-21 01:33:36 +00:00
Make stream push packets to sinks
Now that decoder and recorder implement the packet sink trait, make stream push packets to the sinks without depending on the concrete sink types.
This commit is contained in:
parent
8f10558ea9
commit
e1da07e9a8
7 changed files with 82 additions and 65 deletions
|
|
@ -28,7 +28,4 @@ decoder_open(struct decoder *decoder, const AVCodec *codec);
|
|||
void
|
||||
decoder_close(struct decoder *decoder);
|
||||
|
||||
bool
|
||||
decoder_push(struct decoder *decoder, const AVPacket *packet);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue