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:
Stian Selnes 2017-08-18 17:01:02 +02:00 committed by Mathieu Duponchelle
parent d26eede464
commit eaedb5c2de

View file

@ -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);
}