diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2012-04-16 09:10:49 +0300 |
---|---|---|
committer | Yonit Halperin <yhalperi@redhat.com> | 2013-04-22 11:45:58 -0400 |
commit | 41d740075879f31ddc2b5f8bb177b6523d9be3cb (patch) | |
tree | ca7ca963ac3250b9e556f003d2289d01ef3f9bf3 /server/mjpeg_encoder.c | |
parent | 317471fc0b54472876cd054afb531d96796cb54e (diff) | |
download | spice-41d740075879f31ddc2b5f8bb177b6523d9be3cb.tar.gz spice-41d740075879f31ddc2b5f8bb177b6523d9be3cb.tar.xz spice-41d740075879f31ddc2b5f8bb177b6523d9be3cb.zip |
server/red_worker: streams: moving mjpeg_encoder from Stream to StreamAgent
The mjpeg_encoder should be client specific, and not shared between
different clients**, for the following reasons:
(1) Since we use abbreviated jpeg datastream for mjpeg, employing the same
mjpeg_encoder for different clients might cause errors when the
clients decode the jpeg data.
(2) The next patch introduces bit rate control to the mjpeg_encoder.
This feature depends on the bandwidth available, which is client
specific.
** at least till we change multi-clients not to re-encode the same
streams.
Diffstat (limited to 'server/mjpeg_encoder.c')
0 files changed, 0 insertions, 0 deletions