mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
va: h264dec: log if upstream pool is kept
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1489>
This commit is contained in:
parent
f332c35ec0
commit
6cf03b21f6
1 changed files with 2 additions and 0 deletions
|
@ -1202,6 +1202,8 @@ gst_va_h264_dec_decide_allocation (GstVideoDecoder * decoder, GstQuery * query)
|
||||||
GST_BUFFER_POOL_OPTION_VIDEO_ALIGNMENT);
|
GST_BUFFER_POOL_OPTION_VIDEO_ALIGNMENT);
|
||||||
if (!self->has_videometa || (!has_videoalignment
|
if (!self->has_videometa || (!has_videoalignment
|
||||||
&& self->need_cropping)) {
|
&& self->need_cropping)) {
|
||||||
|
GST_DEBUG_OBJECT (self,
|
||||||
|
"keeping other pool for copy %" GST_PTR_FORMAT, pool);
|
||||||
gst_object_replace ((GstObject **) & self->other_pool,
|
gst_object_replace ((GstObject **) & self->other_pool,
|
||||||
(GstObject *) pool);
|
(GstObject *) pool);
|
||||||
gst_object_unref (pool); /* decrease previous increase */
|
gst_object_unref (pool); /* decrease previous increase */
|
||||||
|
|
Loading…
Reference in a new issue