omxvideodec: fix gst_video_info_from_caps() caps assertion
The "use buffers" code path uses gst_video_info_from_caps() which is asserting if caps is NULL (because pool was rejected). https://bugzilla.gnome.org/show_bug.cgi?id=796918
This commit is contained in:
parent
9ed1c2e75e
commit
7d8a314dff
@ -948,6 +948,9 @@ gst_omx_video_dec_allocate_output_buffers (GstOMXVideoDec * self)
|
||||
was_enabled = FALSE;
|
||||
}
|
||||
|
||||
if (!caps)
|
||||
self->use_buffers = FALSE;
|
||||
|
||||
if (self->use_buffers) {
|
||||
GList *images = NULL;
|
||||
GList *frames = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user