mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
h265decoder: Reorganize debug printing
As of the MR https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2575 gst_h265_decoder_process_sps() is called per slice and it causes noisy debug message print. Reorganize related and the other debug printings at once. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2915>
This commit is contained in:
parent
0151d621af
commit
59e60203ba
1 changed files with 3 additions and 5 deletions
|
@ -507,6 +507,8 @@ gst_h265_decoder_process_sps (GstH265Decoder * self, GstH265SPS * sps)
|
|||
|
||||
gst_h265_dpb_set_max_num_pics (priv->dpb, max_dpb_size);
|
||||
gst_h265_decoder_set_latency (self, sps, max_dpb_size);
|
||||
|
||||
GST_DEBUG_OBJECT (self, "Set DPB max size %d", max_dpb_size);
|
||||
}
|
||||
|
||||
if (sps->max_latency_increase_plus1[sps->max_sub_layers_minus1]) {
|
||||
|
@ -515,8 +517,6 @@ gst_h265_decoder_process_sps (GstH265Decoder * self, GstH265SPS * sps)
|
|||
sps->max_latency_increase_plus1[sps->max_sub_layers_minus1] - 1;
|
||||
}
|
||||
|
||||
GST_DEBUG_OBJECT (self, "Set DPB max size %d", max_dpb_size);
|
||||
|
||||
return GST_FLOW_OK;
|
||||
}
|
||||
|
||||
|
@ -1237,8 +1237,6 @@ gst_h265_decoder_calculate_poc (GstH265Decoder * self,
|
|||
gint32 MaxPicOrderCntLsb = 1 << (sps->log2_max_pic_order_cnt_lsb_minus4 + 4);
|
||||
gboolean is_irap;
|
||||
|
||||
GST_DEBUG_OBJECT (self, "decode PicOrderCntVal");
|
||||
|
||||
priv->prev_poc_lsb = priv->poc_lsb;
|
||||
priv->prev_poc_msb = priv->poc_msb;
|
||||
|
||||
|
@ -1284,7 +1282,7 @@ gst_h265_decoder_calculate_poc (GstH265Decoder * self,
|
|||
priv->prev_tid0pic_poc_msb = 0;
|
||||
}
|
||||
|
||||
GST_DEBUG_OBJECT (self,
|
||||
GST_LOG_OBJECT (self,
|
||||
"PicOrderCntVal %d, (lsb %d)", picture->pic_order_cnt,
|
||||
picture->pic_order_cnt_lsb);
|
||||
|
||||
|
|
Loading…
Reference in a new issue