OSDN Git Service

lavf/segment: increase logging level for message with segment start information
authorStefano Sabatini <stefasab@gmail.com>
Tue, 17 Dec 2013 09:43:32 +0000 (10:43 +0100)
committerStefano Sabatini <stefasab@gmail.com>
Wed, 18 Dec 2013 14:14:58 +0000 (15:14 +0100)
Help debugging.

libavformat/segment.c

index f07f464..91c1432 100644 (file)
@@ -701,7 +701,7 @@ static int seg_write_packet(AVFormatContext *s, AVPacket *pkt)
     }
 
     if (seg->is_first_pkt) {
-        av_log(s, AV_LOG_DEBUG, "segment:'%s' starts with packet stream:%d pts:%s pts_time:%s frame:%d\n",
+        av_log(s, AV_LOG_VERBOSE, "segment:'%s' starts with packet stream:%d pts:%s pts_time:%s frame:%d\n",
                seg->avf->filename, pkt->stream_index,
                av_ts2str(pkt->pts), av_ts2timestr(pkt->pts, &st->time_base), seg->frame_count);
         seg->is_first_pkt = 0;