mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-06 07:28:53 +00:00
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
1 changed files with 3 additions and 0 deletions
|
@ -948,6 +948,9 @@ gst_omx_video_dec_allocate_output_buffers (GstOMXVideoDec * self)
|
||||||
was_enabled = FALSE;
|
was_enabled = FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!caps)
|
||||||
|
self->use_buffers = FALSE;
|
||||||
|
|
||||||
if (self->use_buffers) {
|
if (self->use_buffers) {
|
||||||
GList *images = NULL;
|
GList *images = NULL;
|
||||||
GList *frames = NULL;
|
GList *frames = NULL;
|
||||||
|
|
Loading…
Reference in a new issue