mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 18:51:11 +00:00
videodecoder: Bump log level of marking a sync point
Sync points are often important when debugging and deserves DEBUG level. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/730>
This commit is contained in:
parent
d26eede464
commit
eaedb5c2de
1 changed files with 3 additions and 3 deletions
|
@ -2327,7 +2327,7 @@ gst_video_decoder_chain_forward (GstVideoDecoder * decoder,
|
|||
gboolean was_keyframe = FALSE;
|
||||
if (!GST_BUFFER_FLAG_IS_SET (buf, GST_BUFFER_FLAG_DELTA_UNIT)) {
|
||||
was_keyframe = TRUE;
|
||||
GST_LOG_OBJECT (decoder, "Marking current_frame as sync point");
|
||||
GST_DEBUG_OBJECT (decoder, "Marking current_frame as sync point");
|
||||
GST_VIDEO_CODEC_FRAME_SET_SYNC_POINT (priv->current_frame);
|
||||
}
|
||||
|
||||
|
@ -3595,12 +3595,12 @@ gst_video_decoder_have_frame (GstVideoDecoder * decoder)
|
|||
GST_TIME_ARGS (duration));
|
||||
|
||||
if (!GST_BUFFER_FLAG_IS_SET (buffer, GST_BUFFER_FLAG_DELTA_UNIT)) {
|
||||
GST_LOG_OBJECT (decoder, "Marking as sync point");
|
||||
GST_DEBUG_OBJECT (decoder, "Marking as sync point");
|
||||
GST_VIDEO_CODEC_FRAME_SET_SYNC_POINT (priv->current_frame);
|
||||
}
|
||||
|
||||
if (GST_BUFFER_FLAG_IS_SET (buffer, GST_BUFFER_FLAG_CORRUPTED)) {
|
||||
GST_LOG_OBJECT (decoder, "Marking as corrupted");
|
||||
GST_DEBUG_OBJECT (decoder, "Marking as corrupted");
|
||||
GST_VIDEO_CODEC_FRAME_FLAG_SET (priv->current_frame,
|
||||
GST_VIDEO_CODEC_FRAME_FLAG_CORRUPTED);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue