commit cfcff8492e4b9e56fa63c0368f0abcae1a4f8c42
Author: Gavin Hurlbut <gjhurlbu@gmail.com>
Date: Mon Aug 2 21:27:35 2010 -0700
Silence the #@#$%$#ing spamming errors!
diff --git a/mythtv/libs/libavcodec/h264.c b/mythtv/libs/libavcodec/h264.c
index 65f9d47..35c8b6b 100644
a
|
b
|
static int decode_slice_header(H264Context *h, H264Context *h0){ |
1715 | 1715 | |
1716 | 1716 | s->pict_type= h->slice_type; // to make a few old functions happy, it's wrong though |
1717 | 1717 | if (s->pict_type == FF_B_TYPE && s0->last_picture_ptr == NULL) { |
| 1718 | #if 0 |
1718 | 1719 | av_log(h->s.avctx, AV_LOG_ERROR, |
1719 | 1720 | "B picture before any references, skipping\n"); |
| 1721 | #endif |
1720 | 1722 | return -1; |
1721 | 1723 | } |
1722 | 1724 | |
… |
… |
static int decode_nal_units(H264Context *h, const uint8_t *buf, int buf_size){ |
2623 | 2625 | context_count = 0; |
2624 | 2626 | } |
2625 | 2627 | |
| 2628 | #if 0 |
2626 | 2629 | if (err < 0) |
2627 | 2630 | av_log(h->s.avctx, AV_LOG_ERROR, "decode_slice_header error\n"); |
2628 | | else if(err == 1) { |
| 2631 | else |
| 2632 | #endif |
| 2633 | if(err == 1) { |
2629 | 2634 | /* Slice could not be decoded in parallel mode, copy down |
2630 | 2635 | * NAL unit stuff to context 0 and restart. Note that |
2631 | 2636 | * rbsp_buffer is not transferred, but since we no longer |
… |
… |
static int decode_frame(AVCodecContext *avctx, |
2743 | 2748 | |
2744 | 2749 | if(!(s->flags2 & CODEC_FLAG2_CHUNKS) && !s->current_picture_ptr){ |
2745 | 2750 | if (avctx->skip_frame >= AVDISCARD_NONREF || s->hurry_up) return 0; |
| 2751 | #if 0 |
2746 | 2752 | av_log(avctx, AV_LOG_ERROR, "no frame!\n"); |
| 2753 | #endif |
2747 | 2754 | return -1; |
2748 | 2755 | } |
2749 | 2756 | |
diff --git a/mythtv/libs/libavcodec/mpegvideo.c b/mythtv/libs/libavcodec/mpegvideo.c
index 009af92..49699d1 100644
a
|
b
|
static int alloc_frame_buffer(MpegEncContext *s, Picture *pic) |
202 | 202 | } |
203 | 203 | |
204 | 204 | if (s->linesize && (s->linesize != pic->linesize[0] || s->uvlinesize != pic->linesize[1])) { |
| 205 | #if 0 |
205 | 206 | av_log(s->avctx, AV_LOG_ERROR, "get_buffer() failed (stride changed)\n"); |
| 207 | #endif |
206 | 208 | free_frame_buffer(s, pic); |
207 | 209 | return -1; |
208 | 210 | } |
diff --git a/mythtv/libs/libmythtv/avformatdecoder.cpp b/mythtv/libs/libmythtv/avformatdecoder.cpp
index 035acd0..c262a54 100644
a
|
b
|
bool AvFormatDecoder::ProcessVideoPacket(AVStream *curstream, AVPacket *pkt) |
2873 | 2873 | |
2874 | 2874 | if (ret < 0) |
2875 | 2875 | { |
| 2876 | #if 0 |
2876 | 2877 | VERBOSE(VB_IMPORTANT, LOC_ERR + "Unknown decoding error"); |
| 2878 | #endif |
2877 | 2879 | return false; |
2878 | 2880 | } |
2879 | 2881 | |