summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--omx/gstomxvideodec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/omx/gstomxvideodec.c b/omx/gstomxvideodec.c
index 812eb29..576c211 100644
--- a/omx/gstomxvideodec.c
+++ b/omx/gstomxvideodec.c
@@ -731,7 +731,7 @@ gst_omx_video_dec_allocate_output_buffers (GstOMXVideoDec * self)
max = min;
} else if (max < min) {
/* Can't use pool because can't have enough buffers */
- gst_caps_replace (&caps, NULL);
+ caps = NULL;
} else {
min = max;
}