mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-28 16:29:56 +00:00
test-gst: Returns specific error if encoder is not supported
This allows to detect missing required system packages. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Uri Lublin <ulublin@redhat.com>
This commit is contained in:
parent
4e4e31cc4b
commit
1cd063d5fe
@ -739,8 +739,9 @@ create_video_encoder(const EncoderInfo *encoder)
|
||||
|
||||
video_encoder = encoder->new_encoder(encoder->coded_type, starting_bit_rate, &rate_control_cbs,
|
||||
(bitmap_ref_t) frame_ref, (bitmap_unref_t) frame_unref);
|
||||
// TODO return not supported error
|
||||
spice_assert(video_encoder);
|
||||
if (video_encoder == NULL) {
|
||||
exit(123);
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Loading…
Reference in New Issue
Block a user